From 5765df6540ff121bf21259a385edbc1874787ef6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20S=C3=B6the?= Date: Fri, 6 Sep 2024 15:50:15 +0200 Subject: [PATCH] Add automatic light/dark option for the colorblind theme --- web_src/css/themes/theme-gitea-auto-protanopia-deuteranopia.css | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 web_src/css/themes/theme-gitea-auto-protanopia-deuteranopia.css diff --git a/web_src/css/themes/theme-gitea-auto-protanopia-deuteranopia.css b/web_src/css/themes/theme-gitea-auto-protanopia-deuteranopia.css new file mode 100644 index 0000000000000..bcbf67d13dc96 --- /dev/null +++ b/web_src/css/themes/theme-gitea-auto-protanopia-deuteranopia.css @@ -0,0 +1,2 @@ +@import "./theme-gitea-light-protanopia-deuteranopia.css" (prefers-color-scheme: light); +@import "./theme-gitea-dark-protanopia-deuteranopia.css" (prefers-color-scheme: dark);