From 31712eba4a155633e1f1f9deabcb36cff737e388 Mon Sep 17 00:00:00 2001 From: Noah Date: Wed, 31 Aug 2022 22:58:32 -0700 Subject: [PATCH] Dark mode style tweaks --- web/static/css/bulma-prefers-dark.css | 22 ++++++++++++++++++++++ web/templates/account/dashboard.html | 2 +- web/templates/account/settings.html | 4 ++-- web/templates/forum/board_index.html | 6 +++--- web/templates/forum/index.html | 12 ++++++------ web/templates/forum/thread.html | 2 +- web/templates/friend/friends.html | 2 +- 7 files changed, 36 insertions(+), 14 deletions(-) diff --git a/web/static/css/bulma-prefers-dark.css b/web/static/css/bulma-prefers-dark.css index eaded58..db0f36a 100644 --- a/web/static/css/bulma-prefers-dark.css +++ b/web/static/css/bulma-prefers-dark.css @@ -1,6 +1,28 @@ /*! Bulma Prefers Dark | MIT License | github.com/jloh/bulma-prefers-dark */ /* Custom edit for nonshy: changed blockquote colors to work better in forums */ @media (prefers-color-scheme: dark) { + + /* nonshy custom overrides */ + .has-background-primary-light { + background-color:rgba(28, 166, 76, 0.25) !important; + } + .has-background-success-light { + background-color:rgba(28, 166, 76, 0.25) !important + } + .has-background-warning-light { + background-color: rgb(49, 45, 24) !important; + } + .has-background-link-light { + background-color:rgba(15, 129, 204, 0.25) !important; + } + .has-text-dark { /* note: this css file otherwise didn't override this, dark's always dark, brighten it! */ + color: #b5b5b5 !important; + } + a.has-text-dark:focus, a.has-text-dark:hover { + color: #d5d5d5 !important; + } + /* end nonshy custom overrides */ + html { background-color: #17181c; } diff --git a/web/templates/account/dashboard.html b/web/templates/account/dashboard.html index 872e648..c223235 100644 --- a/web/templates/account/dashboard.html +++ b/web/templates/account/dashboard.html @@ -141,7 +141,7 @@
-

Notifications

+

Notifications

diff --git a/web/templates/account/settings.html b/web/templates/account/settings.html index 9ee8dff..3186667 100644 --- a/web/templates/account/settings.html +++ b/web/templates/account/settings.html @@ -212,7 +212,7 @@
-

+

Website Preferences

@@ -295,7 +295,7 @@