Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(tokens): Updated Colors as described in GDS-2568 #661

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
645 changes: 326 additions & 319 deletions packages/genesys-spark-tokens/data/$themes.json

Large diffs are not rendered by default.

404 changes: 224 additions & 180 deletions packages/genesys-spark-tokens/data/core.json

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions packages/genesys-spark-tokens/data/semantic/mode/dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,11 @@
"type": "color",
"description": "The default background color for smaller error elements like badges that need a slightly more saturated color that tonal_subtle because of their size."
},
"tonal_high": {
"value": "{theme.background.system.error.30}",
"type": "color",
"description": "The default background color for bold error elements like bold badges."
},
"tonal_subtle": {
"value": "{theme.background.system.error.5}",
"type": "color",
Expand All @@ -195,6 +200,11 @@
"type": "color",
"description": "The default background color for smaller warning elements like badges that need a slightly more saturated color that tonal_subtle because of their size."
},
"tonal_high": {
"value": "{theme.background.system.warning.30}",
"type": "color",
"description": "The default background color for bold warning elements like bold badges."
},
"tonal_subtle": {
"value": "{theme.background.system.warning.5}",
"type": "color",
Expand All @@ -207,6 +217,11 @@
"type": "color",
"description": "The default background color for smaller success elements like badges that need a slightly more saturated color that tonal_subtle because of their size."
},
"tonal_high": {
"value": "{theme.background.system.success.30}",
"type": "color",
"description": "The default background color for bold success elements like bold badges."
},
"tonal_subtle": {
"value": "{theme.background.system.success.5}",
"type": "color",
Expand All @@ -219,6 +234,11 @@
"type": "color",
"description": "The default background color for smaller info elements like badges that need a slightly more saturated color that tonal_subtle because of their size."
},
"tonal_high": {
"value": "{theme.background.system.info.30}",
"type": "color",
"description": "The default background color for bold info elements like bold badges."
},
"tonal_subtle": {
"value": "{theme.background.system.info.5}",
"type": "color",
Expand All @@ -231,6 +251,11 @@
"type": "color",
"description": "Although this tokens has the same value as tonal_subtle, it is needed to match the structure of the other statuses."
},
"tonal_medium-copy": {
"value": "{theme.background.system.primary.30}",
"type": "color",
"description": "Although this tokens has no current use, it is needed to match the structure of the other statuses."
},
"tonal_subtle": {
"value": "{theme.background.system.primary.10}",
"type": "color",
Expand Down
25 changes: 25 additions & 0 deletions packages/genesys-spark-tokens/data/semantic/mode/light.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,11 @@
"type": "color",
"description": "The default background color for smaller error elements like badges that need a slightly more saturated color that tonal_subtle because of their size."
},
"tonal_high": {
"value": "{theme.background.system.error.30}",
"type": "color",
"description": "The default background color for bold error elements like bold badges."
},
"tonal_subtle": {
"value": "{theme.background.system.error.5}",
"type": "color",
Expand All @@ -195,6 +200,11 @@
"type": "color",
"description": "The default background color for smaller warning elements like badges that need a slightly more saturated color that tonal_subtle because of their size."
},
"tonal_high": {
"value": "{theme.background.system.warning.30}",
"type": "color",
"description": "The default background color for bold warning elements like bold badges."
},
"tonal_subtle": {
"value": "{theme.background.system.warning.5}",
"type": "color",
Expand All @@ -207,6 +217,11 @@
"type": "color",
"description": "The default background color for smaller success elements like badges that need a slightly more saturated color that tonal_subtle because of their size."
},
"tonal_high": {
"value": "{theme.background.system.success.30}",
"type": "color",
"description": "The default background color for bold success elements like bold badges."
},
"tonal_subtle": {
"value": "{theme.background.system.success.5}",
"type": "color",
Expand All @@ -219,6 +234,11 @@
"type": "color",
"description": "The default background color for smaller info elements like badges that need a slightly more saturated color that tonal_subtle because of their size."
},
"tonal_high": {
"value": "{theme.background.system.info.30}",
"type": "color",
"description": "The default background color for bold info elements like bold badges."
},
"tonal_subtle": {
"value": "{theme.background.system.info.5}",
"type": "color",
Expand All @@ -231,6 +251,11 @@
"type": "color",
"description": "Although this tokens has the same value as tonal_subtle, it is needed to match the structure of the other statuses."
},
"tonal_high": {
"value": "{theme.background.system.primary.30}",
"type": "color",
"description": "Although this tokens has no current use, it is needed to match the structure of the other statuses."
},
"tonal_subtle": {
"value": "{theme.background.system.primary.10}",
"type": "color",
Expand Down
Loading
Loading