From dce85a2b7a73814bb936d1b3143e46a7a99cb4ed Mon Sep 17 00:00:00 2001 From: CDN Date: Mon, 2 Dec 2024 17:50:32 +0800 Subject: [feature/themes] Add auto-switching themes for blurple/brutalist/solarized (#3588) --- web/assets/themes/brutalist-auto.css | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 web/assets/themes/brutalist-auto.css (limited to 'web/assets/themes/brutalist-auto.css') diff --git a/web/assets/themes/brutalist-auto.css b/web/assets/themes/brutalist-auto.css new file mode 100644 index 000000000..080360c87 --- /dev/null +++ b/web/assets/themes/brutalist-auto.css @@ -0,0 +1,10 @@ +/* + theme-title: Brutalist (auto) + theme-description: Official (Pseudo-)monochrome brutality theme that adapts to system preferences +*/ + +/* Default to brutalist theme */ +@import url("brutalist.css"); + +@import url("brutalist.css") screen and (prefers-color-scheme: light); +@import url("brutalist-dark.css") screen and (prefers-color-scheme: dark); -- cgit v1.3