Skip to content

Commit

Permalink
fix: include token for color-primary-300 for dark theme (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamstankiewicz committed Jul 25, 2023
1 parent b76772c commit 977f62a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion paragon/css/core/custom-media-breakpoints.css
@@ -1,6 +1,6 @@
/**
* IMPORTANT: This file is the result of assembling design tokens
* Do not edit directly
* Generated on Tue, 25 Jul 2023 11:07:54 GMT
* Generated on Tue, 25 Jul 2023 11:17:09 GMT
*/

2 changes: 1 addition & 1 deletion paragon/css/core/variables.css
@@ -1,7 +1,7 @@
/**
* IMPORTANT: This file is the result of assembling design tokens
* Do not edit directly
* Generated on Tue, 25 Jul 2023 11:07:54 GMT
* Generated on Tue, 25 Jul 2023 11:17:09 GMT
*/

:root {
Expand Down
3 changes: 2 additions & 1 deletion paragon/css/themes/dark/variables.css
@@ -1,9 +1,10 @@
/**
* IMPORTANT: This file is the result of assembling design tokens
* Do not edit directly
* Generated on Tue, 25 Jul 2023 11:07:54 GMT
* Generated on Tue, 25 Jul 2023 11:17:09 GMT
*/

:root {
--pgn-color-primary-base: #FF0000FF;
--pgn-color-300: #FF8080FF;
}
2 changes: 1 addition & 1 deletion paragon/css/themes/light/variables.css
@@ -1,7 +1,7 @@
/**
* IMPORTANT: This file is the result of assembling design tokens
* Do not edit directly
* Generated on Tue, 25 Jul 2023 11:07:54 GMT
* Generated on Tue, 25 Jul 2023 11:17:09 GMT
*/

:root {
Expand Down
4 changes: 4 additions & 0 deletions tokens/src/themes/dark/global/color.json
Expand Up @@ -2,6 +2,10 @@
"color": {
"primary": {
"base": { "value": "red" }
},
"300": {
"value": "{color.primary.base}",
"modify": [{ "type": "mix", "otherColor": "white", "amount": "0.50"}]
}
}
}

0 comments on commit 977f62a

Please sign in to comment.