Skip to content

Commit 6fef6a0

Browse files
committed
fixed a few default mode values for Badge and Button
1 parent 879bbe8 commit 6fef6a0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/tokens/src/products/shared/badge.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@
270270
"$type": "color",
271271
"$value": "{color.foreground.highlight}",
272272
"$modes": {
273-
"default": "{color.foreground.primary}",
273+
"default": "{color.foreground.highlight}",
274274
"cds-g0": "{carbon.themes.tagTokens.tagColorPurple.white}",
275275
"cds-g10": "{carbon.themes.tagTokens.tagColorPurple.g10}",
276276
"cds-g90": "{carbon.themes.tagTokens.tagColorPurple.g90}",

packages/tokens/src/products/shared/button.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@
322322
"$type": "color",
323323
"$value": "{color.foreground.action-hover}",
324324
"$modes": {
325-
"default": "{color.foreground.action}",
325+
"default": "{color.foreground.action-hover}",
326326
"cds-g0": "{carbon.themes.white.textInverse}",
327327
"cds-g10": "{carbon.themes.g10.textInverse}",
328328
"cds-g90": "{carbon.themes.g90.textInverse}",
@@ -344,7 +344,7 @@
344344
"$type": "color",
345345
"$value": "{color.foreground.action-active}",
346346
"$modes": {
347-
"default": "{color.foreground.action}",
347+
"default": "{color.foreground.action-active}",
348348
"cds-g0": "{carbon.themes.white.textInverse}",
349349
"cds-g10": "{carbon.themes.g10.textInverse}",
350350
"cds-g90": "{carbon.themes.g90.textInverse}",
@@ -525,7 +525,7 @@
525525
"$type": "color",
526526
"$value": "transparent",
527527
"$modes": {
528-
"default": "{color.surface.primary}",
528+
"default": "transparent",
529529
"cds-g0": "{carbon.themes.buttonTokens.buttonTertiaryHover.white}",
530530
"cds-g10": "{carbon.themes.buttonTokens.buttonTertiaryHover.g10}",
531531
"cds-g90": "{carbon.themes.buttonTokens.buttonTertiaryHover.g90}",

0 commit comments

Comments
 (0)