Skip to content

Commit

Permalink
Adding a new token for chart colour labels
Browse files Browse the repository at this point in the history
  • Loading branch information
gjones committed Jan 8, 2025
1 parent c7f1bee commit 86ed503
Show file tree
Hide file tree
Showing 3 changed files with 114 additions and 0 deletions.
38 changes: 38 additions & 0 deletions tokens/themes/classic.json
Original file line number Diff line number Diff line change
Expand Up @@ -2305,6 +2305,25 @@
"value": "{palette.slate.400}",
"type": "color"
}
},
"label": {
"default": {
"value": "{click.global.color.text.default}",
"type": "color"
},
"deselected": {
"value": "{click.global.color.text.default}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "alpha",
"value": "0.30",
"space": "lch"
}
}
}
}
}
},
"bars": {
Expand Down Expand Up @@ -2654,6 +2673,25 @@
"value": "{palette.slate.400}",
"type": "color"
}
},
"label": {
"default": {
"value": "{click.global.color.text.default}",
"type": "color"
},
"deselected": {
"value": "{click.global.color.text.default}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "alpha",
"value": "0.30",
"space": "lch"
}
}
}
}
}
}
}
Expand Down
38 changes: 38 additions & 0 deletions tokens/themes/dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -4463,6 +4463,25 @@
"value": "{palette.slate.400}",
"type": "color"
}
},
"label": {
"default": {
"value": "{click.global.color.text.default}",
"type": "color"
},
"deselected": {
"value": "{click.global.color.text.default}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "alpha",
"value": "0.30",
"space": "lch"
}
}
}
}
}
}
},
Expand Down Expand Up @@ -4973,6 +4992,25 @@
"value": "{palette.slate.400}",
"type": "color"
}
},
"label": {
"default": {
"value": "{click.global.color.text.default}",
"type": "color"
},
"deselected": {
"value": "{click.global.color.text.default}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "alpha",
"value": "0.30",
"space": "lch"
}
}
}
}
}
},
"iconButton": {
Expand Down
38 changes: 38 additions & 0 deletions tokens/themes/light.json
Original file line number Diff line number Diff line change
Expand Up @@ -4279,6 +4279,25 @@
"value": "{palette.slate.400}",
"type": "color"
}
},
"label": {
"default": {
"value": "{click.global.color.text.default}",
"type": "color"
},
"deselected": {
"value": "{click.global.color.text.default}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "alpha",
"value": "0.30",
"space": "lch"
}
}
}
}
}
},
"bars": {
Expand Down Expand Up @@ -4820,6 +4839,25 @@
"value": "{palette.slate.400}",
"type": "color"
}
},
"label": {
"default": {
"value": "{click.global.color.text.default}",
"type": "color"
},
"deselected": {
"value": "{click.global.color.text.default}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "alpha",
"value": "0.30",
"space": "lch"
}
}
}
}
}
},
"iconButton": {
Expand Down

0 comments on commit 86ed503

Please sign in to comment.