Skip to content

Commit

Permalink
feat: add -80 primitive color tokens (#152)
Browse files Browse the repository at this point in the history
* feat: add -80 primitive color tokens and update value of darkest brand red

* feat: remove blue-80

* feat: add changeset
  • Loading branch information
marionnegp authored Feb 9, 2025
1 parent e0457ab commit 5e275cd
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 3 deletions.
12 changes: 12 additions & 0 deletions .changeset/four-ligers-flow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"@rhds/tokens": minor
---

Added the following `-80` primitive color tokens:
- `red-80`
- `orange-80`
- `yellow-80`
- `teal-80`
- `purple-80`

Changed the value of `--rh-color-brand-red-darkest` from `--rh-color-red-70` to `--rh-color-red-80`
4 changes: 2 additions & 2 deletions tokens/color/brand.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ color:
$description: Lightest brand red
lighter:
$value: '{color.red.30}'
$description: lighter brand red
$description: Lighter brand red
light:
$value: '{color.red.40}'
$description: Light brand red
Expand All @@ -39,7 +39,7 @@ color:
$value: '{color.red.70}'
$description: Darker brand red
darkest:
$value: '{color.red.70}'
$value: '{color.red.80}'
$description: Darkest brand red


4 changes: 3 additions & 1 deletion tokens/color/crayon/orange.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ color:
$value: '#9E4A06'
70:
$value: '#732E00'
$description: Label - Filled (Orange) text color
$description: Label - Filled (Orange) text color
80:
$value: '#4D1F00'
2 changes: 2 additions & 0 deletions tokens/color/crayon/purple.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ color:
70:
$value: '#21134D'
$description: Inline link visited hover (light theme)
80:
$value: '#1B0D33'
3 changes: 3 additions & 0 deletions tokens/color/crayon/red.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ color:
70:
$value: '#5F0000'
$description: Darker brand red
80:
$value: '#3F0000'
$description: Darkest brand red
2 changes: 2 additions & 0 deletions tokens/color/crayon/teal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ color:
70:
$value: '#004D4D'
$description: Alert - Default title text
80:
$value: '#003333'
2 changes: 2 additions & 0 deletions tokens/color/crayon/yellow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ color:
70:
$value: '#73480B'
$description: Alert - Warning title text
80:
$value: '#54330B'

0 comments on commit 5e275cd

Please sign in to comment.