mint.css: updates style to use dark theme if browser prefers

This commit is contained in:
2026-04-26 14:23:48 -06:00
parent 08330633fb
commit 58d922b062
2 changed files with 19 additions and 15 deletions

View File

@@ -1,15 +1,19 @@
/* mint theme */
:root {
--glass: #EEEEEE77;
--background: #EEE;
--control: #FFF4;
--foreground: #333;
--subtle-foreground: #888;
--outline: #00000015;
--shine: #00000015;
--accent: #209D6E;
--subtle-accent: #209D6E30;
--subtler-accent: #209D6E12;
--shadow: 0 4px 32px #03281A12;
--icon-filter: hue-rotate(157deg) saturate(0.80) brightness(1.3);
@import url("/res/mint-dark.css") (prefers-color-scheme: dark);
@media (prefers-color-scheme: light) {
/* mint theme */
:root {
--glass: #EEEEEE77;
--background: #EEE;
--control: #FFF4;
--foreground: #333;
--subtle-foreground: #888;
--outline: #00000015;
--shine: #00000015;
--accent: #209D6E;
--subtle-accent: #209D6E30;
--subtler-accent: #209D6E12;
--shadow: 0 4px 32px #03281A12;
--icon-filter: hue-rotate(157deg) saturate(0.80) brightness(1.3);
}
}