Update design tokens with latest values
See original GitHub issueBefore our RC0 release, we need to go through the tokens defined in our themes package and verify that the values match the latest in: https://carbondesignsystem.notion.site/final-List-of-new-tokens-c507394e43fe4daa9f0cd0eedb25d1e4
Checklist
- Correct the values for the following tokens
-
highlight
should beblue-80
ing100
-
toggle-off
should begray-60
ing100
-
- Compare the netlify preview with the final token list in Notion
- For any changes, update the values for the token in the corresponding theme file under: https://github.com/carbon-design-system/carbon/tree/main/packages/themes/src/next
- Create a PR with updates
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Design tokens – Material Design 3
Design tokens represent the small, repeated design decisions that make up a design system's visual style. Tokens replace static values, such as hex...
Read more >Design tokens for dummies - UX Collective
Design Tokens are indivisible pieces of an interface like colors, font-sizes, spaces, animations, etc… They allow product teams to better collaborate and ...
Read more >Design Tokens - Lightning Design System
Design tokens are the visual design atoms of the design system ... These RGBA values need to be updated if BRAND_BACKGROUND_DARK changes, solves...
Read more >Design tokens - Adobe Spectrum
Design tokens are all the values needed to construct and maintain a design system — spacing, color, typography, object styles, animation, etc.
Read more >Releases | Adjust Atlas
Update design tokens based on the new design language · Remove old "raised" and "lowered" object styles · Add button, input, elevation, tile...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah I know I talked to @joshblack about this and maybe we never opened a ticket for it but anywhere where
$field-disabled
is used we’re just going back to using$field
and same with$layer-disabled
(should be replaced with just$layer
.So they’re in use now but they shouldn’t be. Code needs to be updated to replace the disabled tokens.
Update: Here’s the issue https://github.com/carbon-design-system/carbon/issues/9832#issuecomment-984082532
Color token value audit When auditing the tokens today, I’ve noticed a lot of the hover state tokens are still using the old
adjustLightness
function instead of the new IDL hover tokens. Here is the list that needs to be updated along with other bugs I found. They almost all are related to the hover color so idk what’s up with that.White theme
backgroundInverseHover
: Gray-80-hoverbackgroundSelectedHover
: Gray-20-hoverlayerHover01
: Gray-10-hoverlayerHover02
: White-hoverlayerHover03
: Gray-10-hoverlayerDisabled
: remove?layerAccentHover01
: Gray-20-hoverlayerAccentHover02
: Gray-20-hoverlayerAccentHover03
: Gray-20-hoverfieldHover01
: Gray-10-hoverfieldHover02
: White-hoverfieldHover03
: Gray-10-hoverfieldDisabled
: remove?iconDisabled
: adjustAlpha(iconPrimary, 0.25);Gray 10 theme
backgroundHover
: Gray-10-hoverbackgroundInverseHover
: Gray-80-hoverbackgroundSelectedHover
: Gray-20-hoverlayerDisabled
: remove?layerAccentHover01
: Gray-20-hoverlayerAccentHover02
: Gray-20-hoverlayerAccentHover03
: Gray-20-hoverfieldDisabled
: remove?skeletonBackground
: Gray-10-hovericonDisabled
: adjustAlpha(iconPrimary, 0.25);Gray 90 theme
backgroundHover
: Gray-90-hoverbackgroundInverseHover
: Gray-10-hoverbackgroundSelectedHover
: Gray-80-hoverlayerHover01
: Gray-80-hoverlayerDisabled
: remove?layerAccentHover01
: Gray-70-hoverlayerAccentHover02
: Gray-60-hoverfieldHover01
: Gray-80-hoverfieldDisabled
: remove?iconDisabled
:adjustAlpha(iconPrimary, 0.25);
skeletonBackground
: Gray-90-hoversupportInfoInverse
: Blue-70Gray 100 theme
backgroundHover
: Gray-100-hoverbackgroundInverseHover
: Gray-10-hoverbackgroundSelectedHover
: Gray-90-hoverlayerHover01
: Gray-90-hoverlayerDisabled
: remove?layerAccentHover01
: Gray-80-hoverfieldDisabled
: remove?textError
: Red-40iconDisabled
:adjustAlpha(iconPrimary, 0.25);
supportInfoInverse
: Blue-70highlight
: Blue 80toggleOff
: Gray 60Button tokens
$button-danger-hover
#b81922
(Red 60 hover)#b81922
(Red 60 hover)$button-primary-hover
#0050e6
(Blue 60 hover)#0050e6
(Blue 60 hover)#0050e6
(Blue 60 hover)#0050e6
(Blue 60 hover)$button-secondary-hover
#474747
(Gray 80 hover)#474747
(Gray 80 hover)#5e5e5e
(Gray 60 hover)#5e5e5e
(Gray 60 hover)$button-tertiary-hover
#0050e6
(Blue 60 hover)#0050e6
(Blue 60 hover)