Skip to content

Commit 2b4c5b2

Browse files
authored
fix(dotcom): followup to prevent flash of white background in dark mode, pt 2 (tldraw#8355)
followup to tldraw#8302 i put the color in the wrong place - didn't see that it was inverted (with `:not`) in the 2nd place 🤦 ### Change type - [ ] `bugfix` - [ ] `improvement` - [ ] `feature` - [ ] `api` - [x] `other`
1 parent 7cb931b commit 2b4c5b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/dotcom/client/styles/globals.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ html[data-theme='light'] #root {
2929
html:not([data-theme='light']) body,
3030
html:not([data-theme='light']) #root {
3131
background-color: hsl(240, 5%, 6.5%);
32+
color: hsl(210, 17%, 98%);
3233
color-scheme: dark;
3334
}
3435
}
@@ -37,7 +38,6 @@ html[data-theme='light'] #root {
3738
html:not([data-theme='dark']) body,
3839
html:not([data-theme='dark']) #root {
3940
background-color: hsl(210, 20%, 98%);
40-
color: hsl(210, 17%, 98%);
4141
color-scheme: light;
4242
}
4343
}

0 commit comments

Comments
 (0)