From 86ed50354aac41aed4d149039ae416a24155eaef Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Wed, 8 Jan 2025 11:20:22 -0500 Subject: [PATCH] Adding a new token for chart colour labels --- tokens/themes/classic.json | 38 ++++++++++++++++++++++++++++++++++++++ tokens/themes/dark.json | 38 ++++++++++++++++++++++++++++++++++++++ tokens/themes/light.json | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 114 insertions(+) diff --git a/tokens/themes/classic.json b/tokens/themes/classic.json index ff48fcb7..57e5c3e8 100644 --- a/tokens/themes/classic.json +++ b/tokens/themes/classic.json @@ -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": { @@ -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" + } + } + } + } } } } diff --git a/tokens/themes/dark.json b/tokens/themes/dark.json index b2fbf0b0..bfff1f6a 100644 --- a/tokens/themes/dark.json +++ b/tokens/themes/dark.json @@ -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" + } + } + } + } } } }, @@ -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": { diff --git a/tokens/themes/light.json b/tokens/themes/light.json index 7d336e10..617fae54 100644 --- a/tokens/themes/light.json +++ b/tokens/themes/light.json @@ -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": { @@ -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": {