Repository navigation
fix(tokens): update tokens version and adjust its usage - #31680
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@brandyscarney the angular failures are false positives, probably missing next sync from main. |
There was a problem hiding this comment.
🟡 Changes recommended
Opaque child backgrounds hide the elevated modal and popover surfaces, requiring overlay-scoped defaults that preserve explicit consumer background and color overrides.
1 open issue
1 file not reviewed
core/package-lock.json: Generated file
What changed in this PR
Updates Ionic components to use the latest design tokens, aligning overlay backgrounds and shadows with the new elevation styles.
Changes:
- Upgrades
outsystems-design-tokensfrom 2.5.0 to 2.6.0. - Adds elevation background variables and reorganizes base color definitions.
- Updates overlay backgrounds and adjusts modal, popover, and toast shadows.
| File | Description |
|---|---|
| core/src/foundations/ionic.vars.scss | Adds elevation surface variables and relocates base color definitions. |
| core/src/components/toast/toast.ionic.scss | Changes the shadow to elevation 2. |
| core/src/components/popover/popover.ionic.scss | Uses elevation-3 background and shadow tokens. |
| core/src/components/modal/modal.ionic.scss | Uses an elevation-3 background and elevation-4 shadow. |
| core/src/components/alert/alert.ionic.scss | Uses the elevation-3 background token. |
| core/src/components/action-sheet/action-sheet.ionic.scss | Uses the elevation-3 background token. |
| core/package.json | Updates the design tokens dependency range. |
| core/package-lock.json | Locks design tokens to version 2.6.0. |
Review effort: Balanced
|
Hey @BenOsodrac, working on a sync PR for main into next currently (here) |
ShaneK
left a comment
There was a problem hiding this comment.
Looks good to me! I left a couple of questions about the overlay surfaces, but nothing that should hold this up.
…ic theme ion-content, ion-toolbar and ion-item paint their own surface background, which covered the elevated modal/popover fill. Default them to the same elevation-3 surface inside overlays, using :where() so consumer --background overrides still apply. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ShaneK
left a comment
There was a problem hiding this comment.
Thanks for the updates, looks good to me! I left one small suggestion, up to you!
Co-authored-by: Shane <shane.king@outsystems.com>

Issue number: internal
What is the new behavior?
This pull request updates the design tokens package and refines the visual styling of several Ionic components to improve consistency and support new elevation/background tokens. The most significant changes are the adoption of new elevation background variables, updates to box-shadow levels, and a dependency bump for design tokens.
Design tokens and dependency updates:
outsystems-design-tokensdependency from version2.5.0to2.6.0in bothpackage.jsonandpackage-lock.json, ensuring access to the latest design primitives and variables. [1] [2] [3]Component visual updates:
action-sheet,alert,modal,popover, andtoastcomponents to use the new elevation tokens (e.g.,--background: #{globals.$ion-bg-surface-elevation-3}and adjusted shadow levels), aligning with the new design system elevations. [1] [2] [3] [4] [5]Design token variable management:
Moved the definitions for
$ion-primitives-base-white,$ion-primitives-base-black, and their RGB variants to a new location inionic.vars.scssto improve organization and maintainability. [1] [2]Added new elevation background variables (
$ion-bg-surface-elevation-2,$ion-bg-surface-elevation-3, and their RGB variants) to the design token definitions to support the updated component backgrounds.Does this introduce a breaking change?