Skip to content

Commit

Permalink
feat(data): adjusting mid layer hover alt colors
Browse files Browse the repository at this point in the history
  • Loading branch information
ljemmo committed Nov 8, 2024
1 parent c740ae4 commit 1cba6d0
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 16 deletions.
16 changes: 16 additions & 0 deletions data/tokens/components/status.json
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,22 @@
"description": "Gap between heading and other content."
}
},
"CTA": {
"Y": {
"M": {
"value": "{global.space.macro.XS}",
"type": "spacing",
"description": "Top and bottom padding on global message for countdown"
}
},
"yg": {
"M": {
"value": "{global.space.macro.M}",
"type": "spacing",
"description": "Gap between countdown spacing for global message"
}
}
},
"iconwrapper": {
"y": {
"M": {
Expand Down
32 changes: 16 additions & 16 deletions data/tokens/modes/light.json
Original file line number Diff line number Diff line change
Expand Up @@ -973,13 +973,13 @@
"description": "used on pill hover states"
},
"hoverAlt": {
"value": "{modes.color.status.caution.default}",
"value": "{modes.color.status.caution.defaultAlt}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "alpha",
"value": "{modes.color.modifiers.button.hover} ",
"type": "mix",
"value": "0.05",
"space": "lch",
"color": "{modes.color.modifier.contrastMore}"
}
Expand Down Expand Up @@ -1063,13 +1063,13 @@
"description": "used on pill hover states"
},
"hoverAlt": {
"value": "{modes.color.status.info.default}",
"value": "{modes.color.status.info.defaultAlt}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "alpha",
"value": "{modes.color.modifiers.button.hover} ",
"type": "mix",
"value": "0.05",
"space": "lch",
"color": "{modes.color.modifier.contrastMore}"
}
Expand Down Expand Up @@ -1114,13 +1114,13 @@
"description": "used on pill hover states"
},
"hoverAlt": {
"value": "{modes.color.status.negative.default}",
"value": "{modes.color.status.negative.defaultAlt}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "alpha",
"value": "{modes.color.modifiers.button.hover} ",
"type": "mix",
"value": "0.05",
"space": "lch",
"color": "{modes.color.modifier.contrastMore}"
}
Expand Down Expand Up @@ -1169,13 +1169,13 @@
"description": "used on pill hover states"
},
"hoverAlt": {
"value": "{modes.color.status.neutral.default}",
"value": "{modes.color.status.neutral.defaultAlt}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "alpha",
"value": "{modes.color.modifiers.button.hover} ",
"type": "mix",
"value": "0.05",
"space": "lch",
"color": "{modes.color.modifier.contrastMore}"
}
Expand Down Expand Up @@ -1220,13 +1220,13 @@
"description": "used on pill hover states"
},
"hoverAlt": {
"value": "{modes.color.status.success.default}",
"value": "{modes.color.status.success.defaultAlt}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "alpha",
"value": "{modes.color.modifiers.button.hover} ",
"type": "mix",
"value": "0.05",
"space": "lch",
"color": "{modes.color.modifier.contrastMore}"
}
Expand Down Expand Up @@ -1258,7 +1258,7 @@
"studio.tokens": {
"modify": {
"type": "mix",
"value": "{modes.color.modifiers.button.hoverAlt} ",
"value": "0.05",
"space": "lch",
"color": "{modes.color.modifier.contrastMore}"
}
Expand Down

0 comments on commit 1cba6d0

Please sign in to comment.