1fa9f27619
Hint current color-scheme to the browser. This enables chromium-based browsers to change the scrollbar color according to the current theme.
19 lines
No EOL
384 B
CSS
19 lines
No EOL
384 B
CSS
/* Light theme setting */
|
|
.light {
|
|
--accent: #009a9a;
|
|
--green: #00a229;
|
|
--text: black;
|
|
--foreground: #f5f5f5;
|
|
--background: #ddd;
|
|
--outside: #ececec;
|
|
--post: #eee;
|
|
--panel-border: 1px solid #ccc;
|
|
--highlighted: white;
|
|
--visited: #555;
|
|
--shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
html:has(> .light) {
|
|
/* Hint color theme to browser for scrollbar */
|
|
color-scheme: light;
|
|
} |