From d1f38cf9242e163febd0907c2080752459b7618a Mon Sep 17 00:00:00 2001 From: Ben Busby <33362396+benbusby@users.noreply.github.com> Date: Mon, 25 May 2020 10:33:24 -0600 Subject: [PATCH] Fixed styling of footer in dark mode --- app/routes.py | 3 +-- app/templates/index.html | 7 +++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/routes.py b/app/routes.py index 7a4f4d2..c4f184f 100644 --- a/app/routes.py +++ b/app/routes.py @@ -61,9 +61,8 @@ def unknown_page(e): @app.route('/', methods=['GET']) @auth_required def index(): - bg = '#000' if g.user_config.dark else '#fff' return render_template('index.html', - bg=bg, + dark_mode=g.user_config.dark, ua=g.user_request.modified_user_agent, languages=Config.LANGUAGES, countries=Config.COUNTRIES, diff --git a/app/templates/index.html b/app/templates/index.html index ab46526..b4edf12 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -25,7 +25,7 @@