Skip to content

[SR] PDF-Space#5976

Open
JingleH wants to merge 94 commits into
site-redesign-foundationfrom
sr-pdf-space
Open

[SR] PDF-Space#5976
JingleH wants to merge 94 commits into
site-redesign-foundationfrom
sr-pdf-space

Conversation

Copy link
Copy Markdown
Contributor

@rgclayton rgclayton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😍

One small nit. The top card corner is cut right when it comes into view.

Image

The code is a bit crazy - I think that's sort of expected knowing this is a one off.

Comment thread libs/mep/ace1205/pdf-space/pdf-space.css
Comment thread libs/mep/ace1205/pdf-space/pdf-space.css Outdated
Copy link
Copy Markdown
Contributor

@overmyheadandbody overmyheadandbody left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I admit I couldn't follow the JS logic. It should be clearly documented in the README.md file, so we can make edits in the future, I doubt someone will be able to confidently make tweaks. The result looks great, I do have some CSS notes for now.

Comment thread libs/mep/ace1205/pdf-space/pdf-space-debug.js
Comment on lines +26 to +29
font-size: var(--s2a-font-size-20);
font-weight: var(--s2a-font-weight-heading);
line-height: 1.2;
letter-spacing: -0.4px;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'd be better to use the appropriate heading class, from .heading-super, .heading-1 through .heading-6. You could apply this via JS. Right now the font-size is using a primitive, which is an anti-pattern; the font-weight variable does not exist, it should be --heading-font-family; the line-height and letter-spacing are not using tokens, which will be an issue for maintenance. Applying the appropriate class gets you everything you need from a typography POV.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good callout! I'll be adding these

Comment on lines +35 to +37
font-size: var(--s2a-font-size-16);
font-weight: var(--s2a-font-weight-body);
line-height: 1.5;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One of the .body-{size} classes is likely a better fit for consistency and maintenance, similar comment as with headings

Comment on lines +45 to +46
font-size: var(--s2a-font-size-14);
font-weight: var(--s2a-font-weight-label);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A .label class could be leveraged to get you everything you need. Typography elements come with font-size, line-height, letter-spacing and everything the element needs to match the system intent

.pdf-space .card-scene {
position: absolute;
inset: 0;
z-index: 25;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could the z-index values be flattened a bit? We don't want to risk interference with other elements on the page, like the Gnav, Brand Concierge, etc.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically that should be fine as card-scene would be on a separate stacking context than the rest of the page, so as long as other elements have above 0, they should be able to cover it. It's kind of large and arbitrary now as we also are setting z-index for each card (4 on mobile 8 on tablet/desktop) after figuring out their stacking order. But there should be a way to simplify it further and I'll take a look!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the values to be more obvious/understandable and also generated comments in css files. Let me know if you have any questions!

Comment on lines +236 to +237
font-size: var(--s2a-font-size-14);
font-weight: var(--s2a-font-weight-label);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same typography comment, this can likely be a label or have all of the label's declarations copied over.

border-radius: inherit;
}

@media (width >= 768px) and (width <= 1279px) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
@media (width >= 768px) and (width <= 1279px) {
@media (768px <= width < 1280px)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great find! Updated

Comment on lines +308 to +310
font-size: var(--s2a-font-size-32);
/* stylelint-disable-next-line custom-property-pattern */
letter-spacing: var(--s2a-font-letter-spacing-neg-0_96);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same typography comment, this could likely leverage a .heading-{X} class

}

.pdf-space .acrobat-cta {
z-index: 18;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another z-index to flatten in the context of this block

Comment thread libs/mep/ace1205/pdf-space/pdf-space.js
@JingleH
Copy link
Copy Markdown
Contributor Author

JingleH commented May 27, 2026

Note: some of the typography values are still waiting for design to finalize. Currently the block's responsive text behavior might differ from Figma

@NadiiaSokolova NadiiaSokolova self-assigned this May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants