Skip to content

Commit 5e275cd

Browse files
authored
feat: add -80 primitive color tokens (#152)
* feat: add -80 primitive color tokens and update value of darkest brand red * feat: remove blue-80 * feat: add changeset
1 parent e0457ab commit 5e275cd

File tree

7 files changed

+26
-3
lines changed

7 files changed

+26
-3
lines changed

.changeset/four-ligers-flow.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
"@rhds/tokens": minor
3+
---
4+
5+
Added the following `-80` primitive color tokens:
6+
- `red-80`
7+
- `orange-80`
8+
- `yellow-80`
9+
- `teal-80`
10+
- `purple-80`
11+
12+
Changed the value of `--rh-color-brand-red-darkest` from `--rh-color-red-70` to `--rh-color-red-80`

tokens/color/brand.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ color:
2727
$description: Lightest brand red
2828
lighter:
2929
$value: '{color.red.30}'
30-
$description: lighter brand red
30+
$description: Lighter brand red
3131
light:
3232
$value: '{color.red.40}'
3333
$description: Light brand red
@@ -39,7 +39,7 @@ color:
3939
$value: '{color.red.70}'
4040
$description: Darker brand red
4141
darkest:
42-
$value: '{color.red.70}'
42+
$value: '{color.red.80}'
4343
$description: Darkest brand red
4444

4545

tokens/color/crayon/orange.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,6 @@ color:
2222
$value: '#9E4A06'
2323
70:
2424
$value: '#732E00'
25-
$description: Label - Filled (Orange) text color
25+
$description: Label - Filled (Orange) text color
26+
80:
27+
$value: '#4D1F00'

tokens/color/crayon/purple.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ color:
2323
70:
2424
$value: '#21134D'
2525
$description: Inline link visited hover (light theme)
26+
80:
27+
$value: '#1B0D33'

tokens/color/crayon/red.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@ color:
2626
70:
2727
$value: '#5F0000'
2828
$description: Darker brand red
29+
80:
30+
$value: '#3F0000'
31+
$description: Darkest brand red

tokens/color/crayon/teal.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@ color:
2424
70:
2525
$value: '#004D4D'
2626
$description: Alert - Default title text
27+
80:
28+
$value: '#003333'

tokens/color/crayon/yellow.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ color:
2323
70:
2424
$value: '#73480B'
2525
$description: Alert - Warning title text
26+
80:
27+
$value: '#54330B'

0 commit comments

Comments
 (0)