From cd1b0c67eaeb89f30a411b7a4bae616742c0df15 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 12 Apr 2021 12:25:38 +0200 Subject: [PATCH] web: fix text colour on initial load when not in dark mode Signed-off-by: Jens Langhammer --- authentik/core/templates/if/admin.html | 2 +- authentik/core/templates/if/flow.html | 2 +- web/src/authentik.css | 3 +++ web/src/interfaces/admin/index.html | 2 +- web/src/interfaces/flow/index.html | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/authentik/core/templates/if/admin.html b/authentik/core/templates/if/admin.html index 266e9e7f5..fa53c20f8 100644 --- a/authentik/core/templates/if/admin.html +++ b/authentik/core/templates/if/admin.html @@ -10,7 +10,7 @@ {% block body %} -
+
diff --git a/authentik/core/templates/if/flow.html b/authentik/core/templates/if/flow.html index f22a1c4bc..2156e8e9f 100644 --- a/authentik/core/templates/if/flow.html +++ b/authentik/core/templates/if/flow.html @@ -10,7 +10,7 @@ {% block body %} -
+
diff --git a/web/src/authentik.css b/web/src/authentik.css index c20265d65..b7b34e288 100644 --- a/web/src/authentik.css +++ b/web/src/authentik.css @@ -97,6 +97,9 @@ html > form > input { body { background-color: var(--ak-dark-background) !important; } +.ak-initial-load h1 { + color: var(--ak-dark-foreground); +} @media (prefers-color-scheme: dark) { :root { diff --git a/web/src/interfaces/admin/index.html b/web/src/interfaces/admin/index.html index 22dc2da87..ec00e630f 100644 --- a/web/src/interfaces/admin/index.html +++ b/web/src/interfaces/admin/index.html @@ -18,7 +18,7 @@ -
+
diff --git a/web/src/interfaces/flow/index.html b/web/src/interfaces/flow/index.html index 9f7cddc8c..92121cbec 100644 --- a/web/src/interfaces/flow/index.html +++ b/web/src/interfaces/flow/index.html @@ -18,7 +18,7 @@ -
+