From 9e64ffeb66c5b4742c9718a8a4db6b152b75c1fa Mon Sep 17 00:00:00 2001 From: Shish Date: Sat, 13 Jan 2024 12:39:35 +0000 Subject: [PATCH] [themes] let the browser know when we have dark mode support, so that it can do its own dark things --- themes/danbooru2/style.css | 2 ++ themes/default/style.css | 2 ++ 2 files changed, 4 insertions(+) diff --git a/themes/danbooru2/style.css b/themes/danbooru2/style.css index a6c56b94..2dd608e3 100644 --- a/themes/danbooru2/style.css +++ b/themes/danbooru2/style.css @@ -1,4 +1,6 @@ :root { + color-scheme: light dark; + --page: #FFFFFF; --text: black; diff --git a/themes/default/style.css b/themes/default/style.css index 33fce907..46e7a2c5 100644 --- a/themes/default/style.css +++ b/themes/default/style.css @@ -1,4 +1,6 @@ :root { + color-scheme: light dark; + --page: #EEE; --text: #000; --link-default: #0000EE;