From 35ae6d4e663188991d22b76fc61a3c2968da4ea7 Mon Sep 17 00:00:00 2001 From: 0xMRTT <0xMRTT@tuta.io> Date: Wed, 24 Aug 2022 11:23:11 +0200 Subject: [PATCH] fix: light theme color --- src/main.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main.py b/src/main.py index 3efb710a..108a0233 100644 --- a/src/main.py +++ b/src/main.py @@ -262,7 +262,7 @@ class GradienceApplication(Adw.Application): light_theme = theme["schemes"]["light"] variable = { "accent_color": self.rgba_from_argb(light_theme.primary), - "accent_bg_color": self.rgba_from_argb(light_theme.primaryContainer), + "accent_bg_color": self.rgba_from_argb(light_theme.primary), "accent_fg_color": self.rgba_from_argb(light_theme.onPrimaryContainer), "destructive_color": self.rgba_from_argb(light_theme.error), "destructive_bg_color": self.rgba_from_argb(light_theme.errorContainer), @@ -276,17 +276,17 @@ class GradienceApplication(Adw.Application): "error_color": self.rgba_from_argb(light_theme.error), "error_bg_color": self.rgba_from_argb(light_theme.errorContainer), "error_fg_color": self.rgba_from_argb(light_theme.onError), - "window_bg_color": self.rgba_from_argb(light_theme.surface), + "window_bg_color": self.rgba_from_argb(light_theme.secondaryContainer), "window_fg_color": self.rgba_from_argb(light_theme.onSurface), - "view_bg_color": self.rgba_from_argb(light_theme.surface), + "view_bg_color": self.rgba_from_argb(light_theme.secondaryContainer), "view_fg_color": self.rgba_from_argb(light_theme.onSurface), - "headerbar_bg_color": self.rgba_from_argb(light_theme.surface), + "headerbar_bg_color": self.rgba_from_argb(light_theme.secondaryContainer), "headerbar_fg_color": self.rgba_from_argb(light_theme.onSurface), "headerbar_border_color": self.rgba_from_argb( light_theme.primary, "0.8" ), "headerbar_backdrop_color": "@window_bg_color", - "headerbar_shade_color": self.rgba_from_argb(light_theme.shadow), + "headerbar_shade_color": self.rgba_from_argb(light_theme.secondaryContainer), "card_bg_color": self.rgba_from_argb(light_theme.primary, "0.05"), "card_fg_color": self.rgba_from_argb(light_theme.onSecondaryContainer), "card_shade_color": self.rgba_from_argb(light_theme.shadow),