From ad106a0042a3a0926d51ea53f4ccdb3b0a346c2c Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Wed, 11 Oct 2023 09:41:14 -0400 Subject: [PATCH] Pushing a set of "global" colour tokens for each theme. --- tokens/themes/classic.json | 117 +++++++++++++++++++++++++++++++++++++ tokens/themes/dark.json | 93 +++++++++++++++++++++++++++++ tokens/themes/light.json | 117 +++++++++++++++++++++++++++++++++++++ 3 files changed, 327 insertions(+) diff --git a/tokens/themes/classic.json b/tokens/themes/classic.json index 9bc0b2ec..22410357 100644 --- a/tokens/themes/classic.json +++ b/tokens/themes/classic.json @@ -1279,5 +1279,122 @@ "name": { "value": "classic", "type": "other" + }, + "global": { + "color": { + "stroke": { + "default": { + "value": "{palette.slate.100}", + "type": "color", + "increased": { + "value": "#cccdcf", + "type": "color" + }, + "muted": { + "value": "#e6e7e9", + "type": "color" + }, + "$extensions": { + "studio.tokens": { + "modify": { + "type": "alpha", + "value": "1", + "space": "lch" + } + } + } + }, + "muted": { + "value": "{palette.slate.100}", + "type": "color", + "increased": { + "value": "#cccdcf", + "type": "color" + }, + "muted": { + "value": "#e6e7e9", + "type": "color" + }, + "$extensions": { + "studio.tokens": { + "modify": { + "type": "alpha", + "value": "1", + "space": "lch" + } + } + } + }, + "intense": { + "value": "{palette.slate.300}", + "type": "color", + "increased": { + "value": "#cccdcf", + "type": "color" + }, + "muted": { + "value": "#e6e7e9", + "type": "color" + } + } + }, + "accent": { + "default": { + "value": "{palette.neutral.900}", + "type": "color" + } + }, + "background": { + "default": { + "value": "{palette.neutral.0}", + "type": "color" + }, + "muted": { + "value": "{palette.slate.50}", + "type": "color" + } + }, + "text": { + "default": { + "value": "{palette.slate.900}", + "type": "color" + }, + "muted": { + "value": "{palette.slate.600}", + "type": "color" + }, + "link": { + "default": { + "value": "#C78F0F", + "type": "color" + }, + "hover": { + "value": "#C78F0F", + "type": "color" + } + } + }, + "outline": { + "default": { + "value": "{global.color.text.link.default}", + "type": "color" + } + }, + "shadow": { + "default": { + "value": "{palette.neutral.900}", + "type": "color", + "$extensions": { + "studio.tokens": { + "modify": { + "type": "alpha", + "value": "0.15", + "space": "lch" + } + } + } + } + } + } } } \ No newline at end of file diff --git a/tokens/themes/dark.json b/tokens/themes/dark.json index d2f0cbae..3021fff7 100644 --- a/tokens/themes/dark.json +++ b/tokens/themes/dark.json @@ -3125,5 +3125,98 @@ "name": { "value": "dark", "type": "other" + }, + "global": { + "color": { + "background": { + "default": { + "value": "{palette.neutral.750}", + "type": "color" + }, + "muted": { + "value": "{palette.neutral.725}", + "type": "color" + } + }, + "text": { + "default": { + "value": "{palette.neutral.0}", + "type": "color" + }, + "muted": { + "value": "{palette.slate.300}", + "type": "color" + }, + "link": { + "default": { + "value": "{palette.brand.300}", + "type": "color" + }, + "hover": { + "value": "{palette.brand.100}", + "type": "color" + } + } + }, + "stroke": { + "default": { + "value": "{palette.neutral.700}", + "type": "color", + "$extensions": { + "studio.tokens": { + "modify": { + "type": "alpha", + "value": "0.3", + "space": "lch" + } + } + } + }, + "muted": { + "value": "{palette.neutral.700}", + "type": "color", + "$extensions": { + "studio.tokens": { + "modify": { + "type": "alpha", + "value": "0.3", + "space": "lch" + } + } + } + }, + "intense": { + "value": "{palette.neutral.700}", + "type": "color" + } + }, + "accent": { + "default": { + "value": "{palette.brand.300}", + "type": "color" + } + }, + "outline": { + "default": { + "value": "{palette.brand.300}", + "type": "color" + } + }, + "shadow": { + "default": { + "value": "{palette.neutral.900}", + "type": "color", + "$extensions": { + "studio.tokens": { + "modify": { + "type": "alpha", + "value": "0.6", + "space": "lch" + } + } + } + } + } + } } } \ No newline at end of file diff --git a/tokens/themes/light.json b/tokens/themes/light.json index da7a034c..7efa1300 100644 --- a/tokens/themes/light.json +++ b/tokens/themes/light.json @@ -3037,5 +3037,122 @@ "name": { "value": "light", "type": "other" + }, + "global": { + "color": { + "stroke": { + "default": { + "value": "{palette.slate.100}", + "type": "color", + "increased": { + "value": "#cccdcf", + "type": "color" + }, + "muted": { + "value": "#e6e7e9", + "type": "color" + }, + "$extensions": { + "studio.tokens": { + "modify": { + "type": "alpha", + "value": "1", + "space": "lch" + } + } + } + }, + "muted": { + "value": "{palette.slate.100}", + "type": "color", + "increased": { + "value": "#cccdcf", + "type": "color" + }, + "muted": { + "value": "#e6e7e9", + "type": "color" + }, + "$extensions": { + "studio.tokens": { + "modify": { + "type": "alpha", + "value": "1", + "space": "lch" + } + } + } + }, + "intense": { + "value": "{palette.slate.300}", + "type": "color", + "increased": { + "value": "#cccdcf", + "type": "color" + }, + "muted": { + "value": "#e6e7e9", + "type": "color" + } + } + }, + "accent": { + "default": { + "value": "{palette.neutral.900}", + "type": "color" + } + }, + "background": { + "default": { + "value": "{palette.neutral.0}", + "type": "color" + }, + "muted": { + "value": "{palette.slate.50}", + "type": "color" + } + }, + "text": { + "default": { + "value": "{palette.slate.900}", + "type": "color" + }, + "muted": { + "value": "{palette.slate.600}", + "type": "color" + }, + "link": { + "default": { + "value": "{palette.info.400}", + "type": "color" + }, + "hover": { + "value": "{palette.info.600}", + "type": "color" + } + } + }, + "outline": { + "default": { + "value": "{palette.info.400}", + "type": "color" + } + }, + "shadow": { + "default": { + "value": "{palette.neutral.900}", + "type": "color", + "$extensions": { + "studio.tokens": { + "modify": { + "type": "alpha", + "value": "0.15", + "space": "lch" + } + } + } + } + } + } } } \ No newline at end of file