Skip to content

Commit ad96668

Browse files
committed
Enhance color scheme
1 parent ab67aed commit ad96668

7 files changed

Lines changed: 13 additions & 0 deletions

File tree

css/tweaks.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22
Dark mode works automatically because color-mode="user" is set on <html>.
33
For alternative themes, see the themes/ folder: theme-ocean.css, theme-terminal.css, theme-ink.css */
44

5+
:root {
6+
--color-link: #878BEE;
7+
--color-table: #878BEE;
8+
--color-accent: #878BEE15;
9+
}
10+
@media (prefers-color-scheme: dark) {
11+
:root[color-mode="user"] {
12+
--color-bg: #231D29;
13+
--color-link: #8F8CEF;
14+
--color-table: #8F8CEF;
15+
--color-accent: #8F8CEF4f;
16+
}
17+
}
518
nav a img {
619
border-style: outset;
720
border-color: var(--color-link);
-15.9 KB
Loading
14 KB
Loading
-17.1 KB
Loading
14 KB
Loading
4 KB
Loading
3.3 KB
Loading

0 commit comments

Comments
 (0)