Skip to content

Commit

Permalink
add remaining button overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann committed Feb 6, 2025
1 parent e58aa36 commit ca9b2c9
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 43 deletions.
27 changes: 27 additions & 0 deletions src/tokens/component/button.json5
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@
dark: {
$value: '{bgColor.success.emphasis}',
},
'light-high-contrast': {
$value: '{base.color.green.5}',
},
},
},
},
Expand Down Expand Up @@ -250,6 +253,9 @@
'light-protanopia-deuteranopia': {
$value: '#0864d1',
},
'light-high-contrast': {
$value: '#04571e',
},
},
},
},
Expand Down Expand Up @@ -284,6 +290,9 @@
'light-protanopia-deuteranopia': {
$value: '#075fc8',
},
'light-high-contrast': {
$value: '#03501b',
},
},
},
},
Expand Down Expand Up @@ -318,6 +327,9 @@
'light-protanopia-deuteranopia': {
$value: '#92caff',
},
'light-high-contrast': {
$value: '#85cb97',
},
},
},
},
Expand All @@ -341,6 +353,10 @@
$value: '{base.color.green.2}',
alpha: 1,
},
'light-high-contrast': {
$value: '{base.color.green.7}',
alpha: 1,
},
},
},
alpha: 0.15,
Expand All @@ -362,6 +378,10 @@
$value: '{base.color.green.2}',
alpha: 1,
},
'light-high-contrast': {
$value: '{base.color.green.7}',
alpha: 1,
},
},
},
},
Expand All @@ -382,6 +402,10 @@
$value: '{base.color.green.2}',
alpha: 1,
},
'light-high-contrast': {
$value: '{base.color.green.7}',
alpha: 1,
},
},
},
},
Expand Down Expand Up @@ -411,6 +435,9 @@
$value: '{base.color.green.2}',
alpha: 0.4,
},
'light-high-contrast': {
$value: '#85cb97',
},
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,49 +4,6 @@
* @description All overwrites for functional color tokens for light high contrast color mode are in this file
*/
{
button: {
primary: {
bgColor: {
rest: {
$value: '{base.color.green.5}',
$type: 'color',
},
hover: {
$value: '#04571e',
$type: 'color',
},
active: {
$value: '#03501b',
$type: 'color',
},
disabled: {
$value: '#85cb97',
$type: 'color',
},
},
borderColor: {
rest: {
$value: '{base.color.green.7}',
$type: 'color',
alpha: 1,
},
hover: {
$value: '{base.color.green.7}',
$type: 'color',
alpha: 1,
},
active: {
$value: '{base.color.green.7}',
$type: 'color',
alpha: 1,
},
disabled: {
$value: '#85cb97',
$type: 'color',
},
},
},
},
display: {
blue: {
bgColor: {
Expand Down

0 comments on commit ca9b2c9

Please sign in to comment.