Repository navigation
feat: Add visual variant to container and expandable section - #5270
Draft
gethinwebster wants to merge 1 commit into
Draft
gethinwebster wants to merge 1 commit into
gethinwebster wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5270 +/- ##
=======================================
Coverage 97.87% 97.87%
=======================================
Files 1016 1016
Lines 32887 32898 +11
Branches 12199 12208 +9
=======================================
+ Hits 32187 32198 +11
Misses 660 660
Partials 40 40 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
gethinwebster
force-pushed
the
dev-v3-gethinw-container-subtle-background
branch
from
November 19, 2026 12:14
dad2d2c to
6b95d3d
Compare
Adds visualVariant to Container and containerVisualVariant to ExpandableSection (container and stacked variants). The accentuated value gives the header its own neutral background (neutral 50 in light mode, neutral 950 in dark mode), uses neutral 1000 for the content in dark mode, and adds a divider between the header and the content. The surfaces are applied as two visual contexts so nested components follow them.
gethinwebster
force-pushed
the
dev-v3-gethinw-container-subtle-background
branch
from
November 19, 2026 12:32
6b95d3d to
ba6d0f8
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds an optional accentuated visual variant to container, and to the container and stacked variants of expandable section:
visualVariant="default") renders exactly as today.Related links, issue #, if available: n/a
How has this been tested?
container/visual-variant, added to the container screenshot suite. It covers header, footer, stacked, collapsed and expanded combinations, plus a container holding form controls, buttons, status indicators, tokens, a table and a pie chart.Review checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness
CONTRIBUTING.md.CONTRIBUTING.md.Security
checkSafeUrlfunction.Testing
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.