Skip to content

Commit

Permalink
feat: add new v2.0 component tokens (#1888)
Browse files Browse the repository at this point in the history
* chore: update default background color
* fix: adjust token values and usage for temp a11y fix
* feat(tokens): update token values from design for red
  • Loading branch information
booc0mtaco authored Mar 11, 2024
1 parent c331d7d commit 3607a5d
Show file tree
Hide file tree
Showing 8 changed files with 2,229 additions and 371 deletions.
323 changes: 277 additions & 46 deletions .storybook/data/tokens.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,6 @@
padding: calc(var(--eds-size-1) + var(--eds-theme-border-width));
}
.inline-notification--full-width-subtle {
background-color: var(--eds-theme-color-background-neutral-subtle);
/* TODO-AH: revisit when re-theming the inline notification component */
background-color: var(--eds-theme-color-background-neutral-default);
}
2 changes: 1 addition & 1 deletion src/design-tokens/css/base/body.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ body {
padding: 0;
margin: 0;
color: var(--eds-theme-color-text-neutral-default);
background: var(--eds-theme-color-background-neutral-subtle);
background: var(--eds-theme-color-background-neutral-default);
}

/* Body disabled variant */
Expand Down
493 changes: 413 additions & 80 deletions src/design-tokens/primitives.json

Large diffs are not rendered by default.

Loading

0 comments on commit 3607a5d

Please sign in to comment.