Skip to content

Commit

Permalink
feat(data): fixing our current component-specific tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
ljemmo committed Sep 12, 2023
1 parent 25da648 commit 751ff7a
Show file tree
Hide file tree
Showing 5 changed files with 107 additions and 281 deletions.
47 changes: 10 additions & 37 deletions data/tokens/Components/actionPopover.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,59 +2,32 @@
"actionPopover": {
"menu": {
"bg-hover": {
"value": "{base.color.selectable.minor.default}",
"value": "{base.color.selectable.minor.hoverAlt}",
"type": "color",
"description": "was action minor 100\n",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "mix",
"value": "{base.color.modifiers.button.hover-mix} ",
"space": "lch",
"color": "{origin.colors.grayProduct.000}"
}
}
}
"$extensions": {}
},
"bg-selected": {
"value": "{base.color.selectable.minor.default}",
"bg-active": {
"value": "{base.color.selectable.minor.active}",
"type": "color",
"description": "previously action minor 850",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "mix",
"value": "{base.color.modifiers.button.active-mix} ",
"space": "lch",
"color": "{origin.colors.grayProduct.1000}"
}
}
}
"$extensions": {}
},
"label-disabled": {
"value": "{base.color.content.standard.fg-delicate}",
"value": "{base.color.selectable.inactive.content}",
"type": "color"
},
"label-enabled": {
"value": "{base.color.selectable.minor.default}",
"type": "color"
},
"label-hover": {
"value": "{base.color.selectable.minor.default}",
"value": "{base.color.selectable.minor.withHoverAlt}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "mix",
"value": "{base.color.modifiers.button.hover-mix} ",
"space": "lch",
"color": "{origin.colors.grayProduct.1000}"
}
}
}
"$extensions": {}
},
"label-selected": {
"value": "{base.color.selectable.minor.fg}",
"label-active": {
"value": "{base.color.selectable.minor.withActive}",
"type": "color",
"$extensions": {}
}
Expand Down
Loading

0 comments on commit 751ff7a

Please sign in to comment.