diff --git a/app/filter.py b/app/filter.py index 852e04e..e870e90 100644 --- a/app/filter.py +++ b/app/filter.py @@ -39,12 +39,9 @@ class Filter: """ contents = "" if self.theme: - if self.dark: - theme_file = f'app/static/css/themes/{self.theme}-dark.css' - else: - theme_file = f'app/static/css/themes/{self.theme}-light.css' + theme_file = f'app/static/css/themes/{self.theme}.css' if os.path.exists(theme_file): - contents = open(f'app/static/css/themes/{self.theme}-dark.css').read() + contents = open(theme_file).read() return contents def parse_theme_colors(self): diff --git a/app/static/css/themes/nord.css b/app/static/css/themes/nord.css index 29df885..fa80c99 100644 --- a/app/static/css/themes/nord.css +++ b/app/static/css/themes/nord.css @@ -39,6 +39,6 @@ footer { } .reskin { - background-color: #ffffff; + background-color: #ECEFF4; color: #3B4252; } \ No newline at end of file diff --git a/app/templates/display.html b/app/templates/display.html index 0cd127a..6d63e23 100644 --- a/app/templates/display.html +++ b/app/templates/display.html @@ -7,8 +7,8 @@ {% if theme %} - - + + {% else %} @@ -22,7 +22,7 @@