diff --git a/quickshell/Common/Theme.qml b/quickshell/Common/Theme.qml index 46401882..9eac77e8 100644 --- a/quickshell/Common/Theme.qml +++ b/quickshell/Common/Theme.qml @@ -918,6 +918,7 @@ Singleton { function buildMatugenColorsFromTheme(darkTheme, lightTheme) { const colors = {}; + const isLight = SessionData !== "undefined" && SessionData.isLightMode; function addColor(matugenKey, darkVal, lightVal) { if (!darkVal && !lightVal) @@ -930,7 +931,7 @@ Singleton { "color": String(lightVal || darkVal) }, "default": { - "color": String(darkVal || lightVal) + "color": String((isLight && lightVal) ? lightVal : darkVal) } }; }