Skip to content

Commit 0587a37

Browse files
🐛 - style: fix a bug that caused the logo's color to be set incorrectly
1 parent 84102da commit 0587a37

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/design-tokens/compiled/properties.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@
7373
--page-color-primary-contrast: light-dark(var(--typography-color-background), #ffffff);
7474
--page-color-secondary-contrast: var(--typography-color-body);
7575
--page-color-highlight: var(--page-color-background);
76-
--page-color-logo: light-dark(var(--typography-color-body), var(--page-color-primary-contrast));
7776
--typography-color-h: light-dark(#282828, var(--typography-color-body));
7877
--button-color-background-primary: var(--page-color-primary);
7978
--button-color-background-secondary-hover: var(--button-color-background-secondary);
@@ -91,6 +90,7 @@
9190
--toolbar-color-text-primary: var(--page-color-primary-contrast);
9291
--theme-purple-rain-accent-color: hsl(var(--theme-purple-rain-primary-hue) 100% 95%);
9392
--theme-blue-suede-shoes-accent-color: hsl(var(--theme-blue-suede-shoes-primary-hue) 100% 95%);
93+
--page-color-logo: light-dark(var(--page-color-primary), var(--page-color-primary-contrast));
9494
--typography-color-link: var(--page-color-primary);
9595
--button-color-background-primary-hover: var(--button-color-background-primary);
9696
--button-color-background-secondary-active: var(--button-color-background-secondary-hover);

src/design-tokens/compiled/tokens.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2406,11 +2406,11 @@
24062406
]
24072407
},
24082408
"logo": {
2409-
"value": "light-dark(light-dark(#333333, #c5c6ce), light-dark(light-dark(#fff, #313741), #ffffff))",
2409+
"value": "light-dark(light-dark(hsl(253 69% 33%), hsl(200 60% 58%)), light-dark(light-dark(#fff, #313741), #ffffff))",
24102410
"filePath": "src/design-tokens/tokens/theme.tokens.json",
24112411
"isSource": true,
24122412
"original": {
2413-
"value": "light-dark({typography.color.body}, {page.color.primary-contrast})"
2413+
"value": "light-dark({page.color.primary}, {page.color.primary-contrast})"
24142414
},
24152415
"name": "page-color-logo",
24162416
"attributes": {

src/design-tokens/tokens/theme.tokens.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
"value": "#fafafa"
9797
},
9898
"logo": {
99-
"value": "light-dark({typography.color.body}, {page.color.primary-contrast})"
99+
"value": "light-dark({page.color.primary}, {page.color.primary-contrast})"
100100
},
101101
"shadow": {
102102
"value": "rgba(12, 12, 12, 0.3)"

0 commit comments

Comments
 (0)