Skip to content

Commit

Permalink
feat(tokens): add code color aliases tokens (#1339)
Browse files Browse the repository at this point in the history
* feat(tokens): add code color aliases tokens

* fix: format

---------

Co-authored-by: Robb Niznik <rniznik@launchdarkly.com>
  • Loading branch information
kcacosta and Niznikr authored Jun 21, 2024
1 parent cb4e4a6 commit 545560f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/selfish-hotels-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@launchpad-ui/tokens": patch
---

Add code color aliases
20 changes: 20 additions & 0 deletions packages/tokens/src/color-aliases.json
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,26 @@
"$value": "{color.gray.800}",
"dark": "{color.gray.200}"
}
},
"code": {
"function": {
"$value": "{color.cyan.600}",
"dark": "{color.cyan.200}"
},
"tag": {
"$value": "{color.purple.600}",
"dark": "{color.purple.300}"
},
"string": {
"$value": "{color.pink.600}",
"dark": "{color.pink.300}"
},
"comment": {
"$value": "{color.text.ui.tertiary}"
},
"base": {
"$value": "{color.text.ui.secondary}"
}
}
}
}
Expand Down

0 comments on commit 545560f

Please sign in to comment.