-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Darkside] P 1/2 ♻️ Updated default
scale to replace neutral
-scale
#3487
base: main
Are you sure you want to change the base?
Conversation
* 🚚 Migrated to new space-token * 📝 Add docs for temp spacing * 🐛 Add missing token-prefix to docs * 🐛 Remove old tests
|
Storybook demo / Chromatic📝 Changes to review: 2a8d8156c1 | 91 components | 135 stories |
default
scale to replace neutral
-scaledefault
scale to replace neutral
-scale
Description
As discussed before x-mas, we want to avoid having both the neutral and default-scale server overlapping cases. To handle this, we remove the "semantic"-role tokens for "neutral" and moved them over to neutral. Neutral is now only a "global"-color to be consumed by other semantic roles, not a role itself.
NOTE: This PR just handles the changes, a new PR based on this one will update all use of the semantic role "neutral" (100+ instances) in the new darkside css.
Component Checklist 📝
@navikt/core/css/config/_mappings.js
)@navikt/core/css/tokens.json
)@navikt/aksel-stylelint/src/deprecations.ts
)@navikt/core/react/src/index.ts
and@navikt/core/react/package.json
)@navikt/core/css/index.css
)<Component>: <gitmoji?> <Text>.
E.g. "Button: ✨ Add feature xyz.")