Skip to content

Commit 8d54170

Browse files
committed
Fix color theme selector (light mode)
1 parent 5947788 commit 8d54170

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

docs/styles/theme.css

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,21 @@
44
}
55

66
/*
7+
https://github.com/withastro/starlight/blob/main/packages/starlight/style/props.css
78
https://github.com/rescript-lang/rescript-lang.org/blob/4e4f9520f6fc7a0376db82a0a6db52211e8a8187/tailwind.config.mjs#L13
89
*/
910

1011
:root[data-theme="light"],
1112
[data-theme="light"] ::backdrop {
12-
/* --sl-color-accent-high: hsl(234, 80%, 30%); */
13+
--sl-color-accent-low: #4a0f14;
1314
--sl-color-accent: #e6484f;
14-
/* --sl-color-accent-low: hsl(234, 88%, 90%); */
15-
--sl-color-bg-nav: rgb(20, 22, 44);
15+
--sl-color-accent-high: #f9d5d7;
16+
--sl-color-bg-nav: rgb(20, 22, 44);
17+
18+
& starlight-theme-select {
19+
--sl-color-gray-1: var(--sl-color-black);
20+
--sl-color-gray-2: var(--sl-color-gray-5);
21+
}
1622
}
1723

1824
body {

0 commit comments

Comments
 (0)