From 38f81852b2507b0065c5c0b0f54de38e524da970 Mon Sep 17 00:00:00 2001 From: Adil Hanney Date: Wed, 1 Apr 2026 17:49:54 +0100 Subject: [PATCH] fix: complementary should be dark not light --- cosmic-theme/src/output/qt_output.rs | 2 +- ...ut__tests__light_default_kcolorscheme.snap | 24 +++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/cosmic-theme/src/output/qt_output.rs b/cosmic-theme/src/output/qt_output.rs index cd66e865..5b369719 100644 --- a/cosmic-theme/src/output/qt_output.rs +++ b/cosmic-theme/src/output/qt_output.rs @@ -95,7 +95,7 @@ impl Theme { let dark = if self.is_dark { self.clone() } else { - Theme::light_config() + Theme::dark_config() .ok() .as_ref() .and_then(|conf| Theme::get_entry(conf).ok()) diff --git a/cosmic-theme/src/output/snapshots/cosmic_theme__output__qt_output__tests__light_default_kcolorscheme.snap b/cosmic-theme/src/output/snapshots/cosmic_theme__output__qt_output__tests__light_default_kcolorscheme.snap index 40aacf01..12c511fa 100644 --- a/cosmic-theme/src/output/snapshots/cosmic_theme__output__qt_output__tests__light_default_kcolorscheme.snap +++ b/cosmic-theme/src/output/snapshots/cosmic_theme__output__qt_output__tests__light_default_kcolorscheme.snap @@ -39,18 +39,18 @@ ForegroundPositive=0,87,44 ForegroundVisited=0,82,90 [Colors:Complementary] -BackgroundAlternate=24,85,41 -BackgroundNormal=203,221,173 -DecorationFocus=24,85,41 -DecorationHover=24,85,41 -ForegroundActive=24,85,41 -ForegroundInactive=34,36,31 -ForegroundLink=24,85,41 -ForegroundNegative=120,41,46 -ForegroundNeutral=83,72,0 -ForegroundNormal=16,16,16 -ForegroundPositive=24,85,41 -ForegroundVisited=24,85,41 +BackgroundAlternate=129,196,88 +BackgroundNormal=12,17,6 +DecorationFocus=129,196,88 +DecorationHover=129,196,88 +ForegroundActive=129,196,88 +ForegroundInactive=191,198,186 +ForegroundLink=129,196,88 +ForegroundNegative=253,161,160 +ForegroundNeutral=247,224,98 +ForegroundNormal=211,218,206 +ForegroundPositive=146,207,156 +ForegroundVisited=129,196,88 [Colors:Header] BackgroundAlternate=204,208,209