Skip to content

Commit

Permalink
Use supplemental colour tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentSmedinga committed Jan 9, 2025
1 parent 5697a77 commit 683515d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
14 changes: 7 additions & 7 deletions proprietary/tokens/src/components/ams/avatar.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"padding-block": { "value": "{ams.space.xs}" },
"padding-inline": { "value": "{ams.space.xs}" },
"azure": {
"background-color": { "value": "{ams.brand.color.azure.60}" },
"background-color": { "value": "{ams.color.supplemental.azure.default}" },
"color": { "value": "{ams.color.text.default}" }
},
"black": {
Expand All @@ -21,15 +21,15 @@
"color": { "value": "{ams.color.text.inverse}" }
},
"green": {
"background-color": { "value": "{ams.brand.color.green.60}" },
"background-color": { "value": "{ams.color.supplemental.green.default}" },
"color": { "value": "{ams.color.text.inverse}" }
},
"lime": {
"background-color": { "value": "{ams.brand.color.lime.60}" },
"background-color": { "value": "{ams.color.supplemental.lime.default}" },
"color": { "value": "{ams.color.text.default}" }
},
"magenta": {
"background-color": { "value": "{ams.brand.color.magenta.60}" },
"background-color": { "value": "{ams.color.supplemental.magenta.default}" },
"color": { "value": "{ams.color.text.inverse}" }
},
"neutral-20": {
Expand All @@ -49,11 +49,11 @@
"color": { "value": "{ams.color.text.inverse}" }
},
"orange": {
"background-color": { "value": "{ams.brand.color.orange.60}" },
"background-color": { "value": "{ams.color.supplemental.orange.default}" },
"color": { "value": "{ams.color.text.default}" }
},
"purple": {
"background-color": { "value": "{ams.brand.color.purple.60}" },
"background-color": { "value": "{ams.color.supplemental.purple.default}" },
"color": { "value": "{ams.color.text.inverse}" }
},
"red": {
Expand All @@ -65,7 +65,7 @@
"color": { "value": "{ams.color.text.default}" }
},
"yellow": {
"background-color": { "value": "{ams.brand.color.yellow.60}" },
"background-color": { "value": "{ams.color.supplemental.yellow.default}" },
"color": { "value": "{ams.color.text.default}" }
},
"forced-colors": {
Expand Down
14 changes: 7 additions & 7 deletions proprietary/tokens/src/components/ams/badge.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"line-height": { "value": "{ams.text.level.5.line-height}" },
"padding-inline": { "value": "{ams.space.xs}" },
"azure": {
"background-color": { "value": "{ams.brand.color.azure.60}" },
"background-color": { "value": "{ams.color.supplemental.azure.default}" },
"color": { "value": "{ams.color.text.default}" }
},
"black": {
Expand All @@ -19,15 +19,15 @@
"color": { "value": "{ams.color.text.inverse}" }
},
"green": {
"background-color": { "value": "{ams.brand.color.green.60}" },
"background-color": { "value": "{ams.color.supplemental.green.default}" },
"color": { "value": "{ams.color.text.inverse}" }
},
"lime": {
"background-color": { "value": "{ams.brand.color.lime.60}" },
"background-color": { "value": "{ams.color.supplemental.lime.default}" },
"color": { "value": "{ams.color.text.default}" }
},
"magenta": {
"background-color": { "value": "{ams.brand.color.magenta.60}" },
"background-color": { "value": "{ams.color.supplemental.magenta.default}" },
"color": { "value": "{ams.color.text.inverse}" }
},
"neutral-20": {
Expand All @@ -47,11 +47,11 @@
"color": { "value": "{ams.color.text.inverse}" }
},
"orange": {
"background-color": { "value": "{ams.brand.color.orange.60}" },
"background-color": { "value": "{ams.color.supplemental.orange.default}" },
"color": { "value": "{ams.color.text.default}" }
},
"purple": {
"background-color": { "value": "{ams.brand.color.purple.60}" },
"background-color": { "value": "{ams.color.supplemental.purple.default}" },
"color": { "value": "{ams.color.text.inverse}" }
},
"red": {
Expand All @@ -63,7 +63,7 @@
"color": { "value": "{ams.color.text.default}" }
},
"yellow": {
"background-color": { "value": "{ams.brand.color.yellow.60}" },
"background-color": { "value": "{ams.color.supplemental.yellow.default}" },
"color": { "value": "{ams.color.text.default}" }
}
}
Expand Down
14 changes: 7 additions & 7 deletions proprietary/tokens/src/components/ams/spotlight.tokens.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{
"ams": {
"spotlight": {
"background-color": { "value": "{ams.brand.color.purple.60}" },
"background-color": { "value": "{ams.color.supplemental.purple.default}" },
"azure": {
"background-color": { "value": "{ams.brand.color.azure.60}" }
"background-color": { "value": "{ams.color.supplemental.azure.default}" }
},
"green": {
"background-color": { "value": "{ams.brand.color.green.60}" }
"background-color": { "value": "{ams.color.supplemental.green.default}" }
},
"lime": {
"background-color": { "value": "{ams.brand.color.lime.60}" }
"background-color": { "value": "{ams.color.supplemental.lime.default}" }
},
"magenta": {
"background-color": { "value": "{ams.brand.color.magenta.60}" }
"background-color": { "value": "{ams.color.supplemental.magenta.default}" }
},
"orange": {
"background-color": { "value": "{ams.brand.color.orange.60}" }
"background-color": { "value": "{ams.color.supplemental.orange.default}" }
},
"yellow": {
"background-color": { "value": "{ams.brand.color.yellow.60}" }
"background-color": { "value": "{ams.color.supplemental.yellow.default}" }
}
}
}
Expand Down

0 comments on commit 683515d

Please sign in to comment.