From 1443ea4620f1eba80faa661e85025b2f2f820e69 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Mon, 20 Mar 2023 10:07:51 +0100 Subject: [PATCH] [BRANDING] Add Forgejo light, dark, and auto themes: fix import Closes: https://codeberg.org/forgejo/forgejo/issues/562 (cherry picked from commit 2b0dc1f80ff18d1c94df74c77a80e3651e7cb2ed) (cherry picked from commit 690dde103fa444efb5087c1565d27ef1e3e4607e) --- web_src/css/themes/theme-forgejo-auto.css | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web_src/css/themes/theme-forgejo-auto.css b/web_src/css/themes/theme-forgejo-auto.css index 49c9a7fc18..ebf59942ea 100644 --- a/web_src/css/themes/theme-forgejo-auto.css +++ b/web_src/css/themes/theme-forgejo-auto.css @@ -1,4 +1,2 @@ @import "theme-forgejo-light.css"; -@media (prefers-color-scheme: dark) { - @import "theme-forgejo-dark.css"; -} +@import "theme-forgejo-dark.css" (prefers-color-scheme: dark);