From eda3baa03ef13ff575dcb9728f0b588f0de30df8 Mon Sep 17 00:00:00 2001 From: uncenter <47499684+uncenter@users.noreply.github.com> Date: Sat, 28 Dec 2024 18:25:29 -0500 Subject: [PATCH] fix(wikiwand): system theme (#1530) --- styles/wikiwand/catppuccin.user.css | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/styles/wikiwand/catppuccin.user.css b/styles/wikiwand/catppuccin.user.css index 96c21bd8..6263a518 100644 --- a/styles/wikiwand/catppuccin.user.css +++ b/styles/wikiwand/catppuccin.user.css @@ -18,13 +18,22 @@ @-moz-document domain("wikiwand.com") { @import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css"); - .theme-system, + @media (prefers-color-scheme: light) { + .theme-system { + #catppuccin(@lightFlavor, @accentColor); + } + } + @media (prefers-color-scheme: dark) { + .theme-system { + #catppuccin(@darkFlavor, @accentColor); + } + } + .theme-light, .theme-desert, .theme-calmness { #catppuccin(@lightFlavor, @accentColor); } - .theme-system, .theme-dark, .theme-black, .theme-deepOcean,