Skip to content
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

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

KenAJoh
Copy link
Collaborator

@KenAJoh KenAJoh commented Jan 6, 2025

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 📝

  • JSDoc
  • Examples
  • Documentation / Decision Records
  • Storybook
  • Style mappings (@navikt/core/css/config/_mappings.js)
  • Component tokens (@navikt/core/css/tokens.json)
  • CSS class deprecations (@navikt/aksel-stylelint/src/deprecations.ts)
  • Exports (@navikt/core/react/src/index.ts and @navikt/core/react/package.json)
  • New component? CSS import (@navikt/core/css/index.css)
  • Breaking change? Update migration guide. Consider codemod.
  • Changeset (Format: <Component>: <gitmoji?> <Text>. E.g. "Button: ✨ Add feature xyz.")

@KenAJoh KenAJoh self-assigned this Jan 6, 2025
Copy link

changeset-bot bot commented Jan 6, 2025

⚠️ No Changeset found

Latest commit: 77f46f1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Base automatically changed from space-update to main January 8, 2025 08:22
Copy link
Contributor

github-actions bot commented Jan 8, 2025

Storybook demo / Chromatic

📝 Changes to review: 2

a8d8156c1 | 91 components | 135 stories

@KenAJoh KenAJoh changed the title [Darkside] Updated default scale to replace neutral-scale [Darkside] P 1/2 ♻️ Updated default scale to replace neutral-scale Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant