From f19270b276762dca3c42f8feb75946fe53b2a948 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Sun, 31 Jan 2021 10:13:07 +0100 Subject: [PATCH] Fix dark mode Fixes #43. --- snikket_web/scss/app.scss | 6 ++++++ snikket_web/scss/invite.scss | 10 ++++++++++ 2 files changed, 16 insertions(+) diff --git a/snikket_web/scss/app.scss b/snikket_web/scss/app.scss index 7bea226..c01ab7c 100644 --- a/snikket_web/scss/app.scss +++ b/snikket_web/scss/app.scss @@ -1046,6 +1046,12 @@ pre.guru-meditation { } } + body#login { + .form-title { + color: $primary-800; + } + } + body > footer { background-color: $gray-200; color: $gray-800; diff --git a/snikket_web/scss/invite.scss b/snikket_web/scss/invite.scss index 3652f8e..60e81de 100644 --- a/snikket_web/scss/invite.scss +++ b/snikket_web/scss/invite.scss @@ -183,3 +183,13 @@ div.form.layout-expanded .lwrap { background-attachment: fixed; background-size: cover; } + +/* dark mode */ + +@media (prefers-color-scheme: dark) { + div.form.layout-expanded .lwrap { + span { + background: $gray-200; + } + } +}