Skip to content

Commit

Permalink
fix: add new reverse token color for icon and fix semantic for light …
Browse files Browse the repository at this point in the history
…mode
  • Loading branch information
aileenvl committed Dec 13, 2024
1 parent 277a550 commit 771ee0f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/ui-stencil/src/styles/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ $semanticColors: (
secondary: $gray200,
tertiary: $gray600,
inactive: $gray500,
reverse: $gray50,
),
shadow: (
primary: white,
Expand All @@ -71,19 +72,15 @@ $semanticColors: (

$elementColors: (
'button-text': (
// TODO: example of how to use the color functions with semantic colors
// primary: color.adjust(text-color('primary', $semanticColors), $lightness: 10%),
primary: icon-color('primary', $semanticColors),
primary: icon-color('reverse', $semanticColors),
secondary: text-color('secondary', $semanticColors),
inactive: $gray500,
// todo: value to check with Angela
),
'button-background': (
primary: background-color('accent', $semanticColors),
secondary: background-color('secondary', $semanticColors),
'secondary-hover': background-color('tertiary', $semanticColors),
inactive: $gray100,
// todo: value to check with Angela
),
'button-border': (
secondary: border-color('primary', $semanticColors),
Expand Down Expand Up @@ -136,6 +133,7 @@ $semanticColorsDark: (
secondary: $gray200,
tertiary: $gray600,
inactive: $gray500,
reverse: $gray950,
),
shadow: (
primary: black,
Expand Down

0 comments on commit 771ee0f

Please sign in to comment.