Skip to content

Commit 7608dad

Browse files
committed
Increase CSS specificity for theme colors to survive production build
1 parent 0ce79ca commit 7608dad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

site/src/css/custom.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* Font: Inter
88
*/
99

10+
html:root,
1011
:root {
1112
/* ── Primary (light mode — MUI blue) ── */
1213
--ifm-color-primary: #1976d2;
@@ -32,6 +33,7 @@
3233
--ifm-color-secondary: #9c27b0;
3334
}
3435

36+
html[data-theme='dark'],
3537
[data-theme='dark'] {
3638
/* ── Primary (dark mode — soft blue) ── */
3739
--ifm-color-primary: #569cd6;

0 commit comments

Comments
 (0)