Skip to content

Commit

Permalink
feat(data): alphebatising major mid layer tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
ljemmo committed Sep 6, 2023
1 parent e987c33 commit cc4b6b4
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions data/tokens/Modes/light.json
Original file line number Diff line number Diff line change
Expand Up @@ -222,51 +222,47 @@
}
},
"major": {
"default": {
"value": "{origin.colors.jade}",
"type": "color"
},
"withDefault": {
"value": "{origin.colors.white}",
"type": "color"
},
"hover": {
"active": {
"value": "{base.color.selectable.major.default}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "mix",
"value": "{base.color.modifiers.button.hover-mix}",
"value": "{base.color.modifiers.button.active-mix}",
"space": "lch",
"color": "{base.color.modifier.contrastMore}"
}
}
}
},
"hoverAlt": {
"default": {
"value": "{origin.colors.jade}",
"type": "color"
},
"hover": {
"value": "{base.color.selectable.major.default}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "alpha",
"type": "mix",
"value": "{base.color.modifiers.button.hover-mix}",
"space": "lch"
"space": "lch",
"color": "{base.color.modifier.contrastMore}"
}
}
}
},
"withHoverAlt": {
"hoverAlt": {
"value": "{base.color.selectable.major.default}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "mix",
"value": "{base.color.modifiers.button.active-mix}",
"space": "lch",
"color": "{base.color.modifier.contrastMore}"
"type": "alpha",
"value": "{base.color.modifiers.button.hover-mix}",
"space": "lch"
}
}
}
Expand Down Expand Up @@ -298,12 +294,11 @@
}
}
},
"withPressedAlt": {
"value": "{base.color.content.fg-firm}",
"type": "color",
"$extensions": {}
"withDefault": {
"value": "{origin.colors.white}",
"type": "color"
},
"active": {
"withHoverAlt": {
"value": "{base.color.selectable.major.default}",
"type": "color",
"$extensions": {
Expand All @@ -316,6 +311,11 @@
}
}
}
},
"withPressedAlt": {
"value": "{base.color.content.fg-firm}",
"type": "color",
"$extensions": {}
}
},
"minorEven": {
Expand Down

0 comments on commit cc4b6b4

Please sign in to comment.