Skip to content

Commit

Permalink
feat(data): LIGHT THEME Add modes.color.generic.bg.extreme, and chang…
Browse files Browse the repository at this point in the history
…e all values that reference primitive white or black to reference generic colour tokens instead
  • Loading branch information
clairedenning committed Dec 2, 2024
1 parent acdcc09 commit 3728b06
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions data/tokens/modes/light.json
Original file line number Diff line number Diff line change
Expand Up @@ -441,11 +441,11 @@
"description": "used on link hover state"
},
"withActive": {
"value": "{primitives.colors.white}",
"value": "{modes.color.generic.fg.nought}",
"type": "color"
},
"withDefault": {
"value": "{primitives.colors.white}",
"value": "{modes.color.generic.fg.nought}",
"type": "color"
}
},
Expand All @@ -456,7 +456,7 @@
"description": "Input backgrounds."
},
"withActive": {
"value": "{primitives.colors.black}",
"value": "{modes.color.generic.content.extreme}",
"type": "color",
"description": "checkbox tick icon or radio handle"
},
Expand All @@ -465,7 +465,7 @@
"type": "color"
},
"withHover": {
"value": "{primitives.colors.black}",
"value": "{modes.color.generic.content.extreme}",
"type": "color",
"description": "text for draggable area on file input"
},
Expand Down Expand Up @@ -557,7 +557,7 @@
"description": "Disabled form input borders."
},
"mask": {
"value": "{primitives.colors.black}",
"value": "{modes.color.generic.bg.extreme}",
"type": "color",
"description": "full screen takeover token for modal dimmer"
},
Expand All @@ -572,7 +572,7 @@
"description": "Disabled text inside buttons and form inputs."
},
"contentAlt": {
"value": "{primitives.colors.white}",
"value": "{modes.color.generic.fg.nought}",
"type": "color",
"description": "\nDisabled labels inside buttons and Switch."
},
Expand Down Expand Up @@ -640,7 +640,7 @@
},
"generic": {
"active": {
"value": "{primitives.colors.black}",
"value": "{modes.color.generic.bg.extreme}",
"type": "color"
},
"activeAlt": {
Expand Down Expand Up @@ -684,7 +684,7 @@
"description": "subtle and toggle button text"
},
"hoverAlt": {
"value": "{primitives.colors.black}",
"value": "{modes.color.generic.bg.extreme}",
"type": "color",
"$extensions": {
"studio.tokens": {
Expand Down Expand Up @@ -712,15 +712,15 @@
"description": "subtle table header hover"
},
"withActive": {
"value": "{primitives.colors.white}",
"value": "{modes.color.generic.fg.nought}",
"type": "color"
},
"withActiveAlt": {
"value": "{modes.color.interactive.monochrome.generic.default}",
"type": "color"
},
"withDefault": {
"value": "{primitives.colors.white}",
"value": "{modes.color.generic.fg.nought}",
"type": "color"
},
"withHover": {
Expand Down Expand Up @@ -836,15 +836,15 @@
"description": "for link hover"
},
"withActive": {
"value": "{primitives.colors.white}",
"value": "{modes.color.generic.fg.nought}",
"type": "color"
},
"withDefault": {
"value": "{primitives.colors.white}",
"value": "{modes.color.generic.fg.nought}",
"type": "color"
},
"withHover": {
"value": "{primitives.colors.white}",
"value": "{modes.color.generic.fg.nought}",
"type": "color"
},
"frozen": {
Expand Down Expand Up @@ -914,7 +914,7 @@
},
"progress": {
"bg": {
"value": "{primitives.colors.black}",
"value": "{modes.color.generic.bg.extreme}",
"type": "color",
"$extensions": {
"studio.tokens": {
Expand All @@ -927,7 +927,7 @@
}
},
"bgAlt": {
"value": "{primitives.colors.white}",
"value": "{modes.color.generic.bg.nought}",
"type": "color",
"$extensions": {
"studio.tokens": {
Expand All @@ -948,7 +948,7 @@
"type": "color"
},
"defaultAlt": {
"value": "{primitives.colors.black}",
"value": "{modes.color.generic.bg.extreme}",
"type": "color",
"description": "bg for contextual message comp"
},
Expand Down

0 comments on commit 3728b06

Please sign in to comment.