Skip to content

fix(#3882): use neutral border token on filled-accent interactive content#3881

Merged
ArakTaiRoth merged 1 commit into
devfrom
tom/fix-container-interactive-content-border
Apr 28, 2026
Merged

fix(#3882): use neutral border token on filled-accent interactive content#3881
ArakTaiRoth merged 1 commit into
devfrom
tom/fix-container-interactive-content-border

Conversation

@twjeffery
Copy link
Copy Markdown
Collaborator

@twjeffery twjeffery commented Apr 27, 2026

What

Follow-up to #3848. That PR pointed the .goa-container--interactive.accent--filled .content rule at --goa-container-interactive-border, which resolves to brand teal. Every interactive container with accent="filled" (the default) is rendering a teal border at rest. Intent is greyscale-200.

Swaps the rule to --goa-container-border, the existing neutral token already used by the base .content rule for non-filled accents. One-line change. No token changes, no wrapper changes.

Why not change the token

--goa-container-interactive-border stays as is. It is still in legitimate use for the heading element on accent="thick" and accent="thin", where teal-on-teal renders as the flush accent bar. Recoloring the token would put a gray outline around that bar.

Test plan

  1. accent="filled" interactive container: greyscale-200 border at rest.
  2. accent="thick" and accent="thin": flush teal accent bar at top, no outline around it.
  3. Non-interactive variants unchanged across all accents.
image image

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 27, 2026

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-04-28 20:18 UTC

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 27, 2026

Preview removed

All preview folders cleaned from gh-pages branch.

@twjeffery twjeffery marked this pull request as ready for review April 27, 2026 17:29
@twjeffery twjeffery linked an issue Apr 27, 2026 that may be closed by this pull request
…tent

Follow-up to #3848. That PR wired the .goa-container--interactive.accent--filled .content rule to use --goa-container-interactive-border, which resolves to the brand teal token. Every interactive container with accent="filled" (the default) was rendering a brand-teal border at rest, where the intent is greyscale-200.

Swap the rule to --goa-container-border, the existing neutral token already used by the base .content rule for non-filled accents. The interactive-border token is intentionally untouched in design-tokens because it remains the correct value for the accent="thick"/"thin" heading element, where teal-on-teal renders as a flush accent bar.
@twjeffery twjeffery changed the title fix(container): use neutral border token on filled-accent interactive content fix(#3822): use neutral border token on filled-accent interactive content Apr 27, 2026
@twjeffery twjeffery force-pushed the tom/fix-container-interactive-content-border branch from f99a7fd to 0c0313f Compare April 27, 2026 17:37
@ArakTaiRoth
Copy link
Copy Markdown
Collaborator

@twjeffery A small issue, your commit message says fix(#3822), when the story being referenced is 3882.

Copy link
Copy Markdown
Collaborator

@vanessatran-ddi vanessatran-ddi left a comment

Choose a reason for hiding this comment

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

Looks good!

@twjeffery twjeffery changed the title fix(#3822): use neutral border token on filled-accent interactive content fix(#3882): use neutral border token on filled-accent interactive content Apr 28, 2026
@twjeffery
Copy link
Copy Markdown
Collaborator Author

twjeffery commented Apr 28, 2026

@twjeffery A small issue, your commit message says fix(#3822), when the story being referenced is 3882.

@ArakTaiRoth
I'm not sure I see the issue. 3822 is the story that's being fixed.

@ArakTaiRoth ArakTaiRoth merged commit 62fc67d into dev Apr 28, 2026
5 checks passed
@ArakTaiRoth ArakTaiRoth deleted the tom/fix-container-interactive-content-border branch April 28, 2026 20:18
@chrisolsen
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 2.0.0-dev.18 🎉

The release is available on:

Your semantic-release bot 📦🚀

@chrisolsen
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 2.0.0-dev.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

@chrisolsen
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 7.0.0-dev.11 🎉

The release is available on:

Your semantic-release bot 📦🚀

@chrisolsen
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 5.0.0-dev.8 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

Container with accent="filled" shows teal content border

4 participants