From e0c60add31f64b9d103242059546cd9a010eed57 Mon Sep 17 00:00:00 2001 From: TriMill Date: Tue, 18 Oct 2022 10:26:10 -0400 Subject: [PATCH] theme improvements, high-contrast dark theme --- flaskr/__init__.py | 3 ++- flaskr/templates/_base.html | 7 +++++-- flaskr/templates/index.html | 2 ++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/flaskr/__init__.py b/flaskr/__init__.py index 478d81a..f060ca2 100644 --- a/flaskr/__init__.py +++ b/flaskr/__init__.py @@ -39,7 +39,8 @@ data = { "system": "dark", "dark": "light", "light": "contrast", - "contrast": "system" + "contrast": "contrast-dark", + "contrast-dark": "system", } } diff --git a/flaskr/templates/_base.html b/flaskr/templates/_base.html index 20e442e..9b01bdf 100644 --- a/flaskr/templates/_base.html +++ b/flaskr/templates/_base.html @@ -64,7 +64,10 @@ Light theme {% elif theme == "contrast" %} - High contrast theme + High-contrast theme + {% elif theme == "contrast-dark" %} + + Dark high-contrast theme {% elif theme == "special" %} transform="translate(0 1)" /> @@ -89,4 +92,4 @@ {% endif %} - \ No newline at end of file + diff --git a/flaskr/templates/index.html b/flaskr/templates/index.html index 2148eb5..6cd781d 100644 --- a/flaskr/templates/index.html +++ b/flaskr/templates/index.html @@ -23,6 +23,8 @@ below to view the GEORGE homepage or access the previous and next members in the {% elif theme == "contrast" %} +{% elif theme == "contrast-dark" %} + {% elif theme == "special" %} {% elif theme == "system" %}