Skip to content

fix(#3847): Use missing container interactive bg-color token#3848

Merged
ArakTaiRoth merged 2 commits into
devfrom
tom/missing-component-tokens
Apr 23, 2026
Merged

fix(#3847): Use missing container interactive bg-color token#3848
ArakTaiRoth merged 2 commits into
devfrom
tom/missing-component-tokens

Conversation

@twjeffery
Copy link
Copy Markdown
Collaborator

@twjeffery twjeffery commented Apr 20, 2026

Summary

  • The --goa-container-interactive-bg-color token is defined in the design tokens JSON but the Container component had no CSS rule referencing it
  • Every other container type (non-interactive, info, error, success, important) wires up its corresponding token on the .accent--filled .content selector. The interactive variant was missing.
  • No visual change. The token default value (greyscale-white) matches the current browser-rendered appearance.

Changes

Container (interactive filled-accent content): Added .goa-container--interactive.accent--filled .content rule with background-color and border, matching the pattern of all other container types.

Fixes #3847

Test plan

  • Verify light mode appearance is unchanged for Container (interactive, filled accent)
  • No wrapper changes needed (CSS-only)

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 20, 2026

Deploy Preview for benji-docs-previews ready!

Name Link
🔨 Latest commit 9b3a172
🔍 Latest deploy log https://app.netlify.com/projects/benji-docs-previews/deploys/69e9402227d70b0008c8f584
😎 Deploy Preview https://deploy-preview-3848--benji-docs-previews.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@twjeffery twjeffery force-pushed the tom/missing-component-tokens branch from 5df82b5 to 33a93cf Compare April 20, 2026 20:44
@twjeffery twjeffery changed the title Wire up missing CSS custom property hooks in Dropdown, Container, and FormStep Add missing container interactive bg-color token Apr 20, 2026
@twjeffery twjeffery changed the title Add missing container interactive bg-color token Wire up missing container interactive bg-color token Apr 20, 2026
@twjeffery twjeffery marked this pull request as ready for review April 20, 2026 20:51
@twjeffery twjeffery changed the title Wire up missing container interactive bg-color token Use missing container interactive bg-color token Apr 20, 2026
@twjeffery twjeffery changed the title Use missing container interactive bg-color token fix(#3847): Use missing container interactive bg-color token Apr 20, 2026
@twjeffery twjeffery requested a review from ArakTaiRoth April 20, 2026 20:52
@ArakTaiRoth ArakTaiRoth merged commit a79dc8c into dev Apr 23, 2026
8 checks passed
@ArakTaiRoth ArakTaiRoth deleted the tom/missing-component-tokens branch April 23, 2026 16:58
@chrisolsen
Copy link
Copy Markdown
Collaborator

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

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.12 🎉

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.6 🎉

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.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

twjeffery added a commit that referenced this pull request Apr 27, 2026
…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.
ArakTaiRoth pushed a commit that referenced this pull request Apr 28, 2026
…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.
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 interactive variant missing bg-color token wiring

4 participants