Skip to content

[sr] bentos wave 3#6228

Open
rgclayton wants to merge 1 commit into
site-redesign-foundationfrom
bentos-w3
Open

[sr] bentos wave 3#6228
rgclayton wants to merge 1 commit into
site-redesign-foundationfrom
bentos-w3

Conversation

@rgclayton

@rgclayton rgclayton commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

@aem-code-sync

aem-code-sync Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch.
In case there are problems, just click the checkbox below to rerun the respective action.

  • Re-sync branch
Commits

@robert-bogos robert-bogos requested a review from a team June 25, 2026 07:04
@NadiiaSokolova NadiiaSokolova self-assigned this Jun 25, 2026
@NadiiaSokolova NadiiaSokolova requested a review from a team June 25, 2026 07:19
Comment thread libs/c2/styles/styles.css
.dark {
a.standalone-link {
&::after {
filter: invert(1);

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.

Is this the actual suggestion from Design? I used it in some POCs, but I was hoping colors get defined from the S2A tokens

@rgclayton rgclayton Jun 25, 2026

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.

No, it's not. It was a very easy way to change the icon color for dark mode since it comes across as an <img>. I haven't seen any designs related to dark mode.

The link color is marked as black (#000). The icon matches. This currently meets that requirement. I say we keep it easy for now and can update if new requirements come in.


&.bento .explore-card {
border-radius: var(--s2a-border-radius-md);
border: 2px inset rgb(255 255 255 / 10%);

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.

Any chance we can get design to standardize to an S2A token?

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.

I'll check. The design file had this raw value.

.explore-card-foreground {
aspect-ratio: 1 / 1.2;
transition: filter 0.3s ease-in-out, transform 0.3s ease-out;
will-change: transform;

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.

Transition should already send properties to the compositor, I'm not sure this adds any benefit or if the same operation would now be performed twice.

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.

I added this after I noticed the hover state was making the text go a little blurry. This corrected that.

prodIcon.closest('p').classList.add('icon');
if (prodIcons.length) {
const iconPara = prodIcons[0].closest('p');
iconPara?.classList.add('icon');

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.

Is there any clarity on whether we might have multiple icons? I've heard that could be a possibility, maybe it's a good time to plan for that and make this an icons wrapper

@rgclayton rgclayton Jun 25, 2026

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.

I did see some older designs. Seems to be removed for the start of wave 3. But, i could see this coming in during VQA or later.

This does support multiple icons. Here's a working example of that on other page I was testing. Under the "The latest technology, always" section.

image

prodIcons.forEach((icon) => {
if (isSvgUrl(icon.src)) icon.src = getFederatedUrl(icon.src);
const para = icon.closest('p');
if (para && para !== iconPara) {

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.

Nit: early return

Suggested change
if (para && para !== iconPara) {
if (!para || para === iconPara) {


&.bento .explore-card {
border-radius: var(--s2a-border-radius-md);
border: 2px inset rgb(255 255 255 / 10%);

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.

For color there is no 10%, either 12% or 8%.

Suggested change
border: 2px inset rgb(255 255 255 / 10%);
border: var(--s2a-border-width-md) inset var(--s2a-color-transparent-white-12));

Comment on lines +36 to +38
if (prodIcons.length) {
const iconPara = prodIcons[0].closest('p');
iconPara?.classList.add('icon');

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.

Nit: Do we need this if ?

Suggested change
if (prodIcons.length) {
const iconPara = prodIcons[0].closest('p');
iconPara?.classList.add('icon');
const iconPara = prodIcons[0]?.closest('p');
iconPara?.classList.add('icon');

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