diff --git a/web/static/css/bulma-dark-theme.css b/web/static/css/bulma-dark-theme.css index 89018db..7198c11 100644 --- a/web/static/css/bulma-dark-theme.css +++ b/web/static/css/bulma-dark-theme.css @@ -1,4 +1,9 @@ /* Forced dark theme for Bulma (custom created for nonshy) */ + +/* nonshy custom overrides */ +@import url("dark-theme.css"); + +/* Copied from bulma.css - original dark theme styles */ :root { --bulma-white-on-scheme-l: 100%; --bulma-white-on-scheme: hsla(var(--bulma-white-h), var(--bulma-white-s), var(--bulma-white-on-scheme-l), 1); diff --git a/web/static/css/dark-theme.css b/web/static/css/dark-theme.css new file mode 100644 index 0000000..d4c6829 --- /dev/null +++ b/web/static/css/dark-theme.css @@ -0,0 +1,46 @@ +/* Custom nonshy color overrides for Bulma's dark theme */ + +/* nonshy custom overrides */ +.has-background-primary-light { + background-color: rgba(28, 166, 76, 0.25) !important; +} + +.has-background-success-light, .has-background-success { + background-color: rgba(19, 71, 37, 0.685) !important +} + +.has-background-warning-light, .has-background-warning, .nonshy-navbar-notification-tag.is-warning { + background-color: rgb(100, 90, 41) !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; +} + +.modal-background { + background-color: rgba(0, 0, 0, 0.86) !important; +} + +/* Tag color overrides */ +.tag.is-grey { + background-color: #3f3f3f; + color: #eee; +} +.tag.is-danger.is-light { + background-color: #500; + color: #FCC; +} +.tag.is-warning { + background-color: #550; + color: #FFC; +} diff --git a/web/static/css/nonshy-prefers-dark.css b/web/static/css/nonshy-prefers-dark.css new file mode 100644 index 0000000..1480129 --- /dev/null +++ b/web/static/css/nonshy-prefers-dark.css @@ -0,0 +1,5 @@ +/* Custom nonshy color overrides for Bulma's dark theme + (prefers-dark edition) */ +@media (prefers-color-scheme: dark) { + @import url("dark-theme.css"); +} \ No newline at end of file diff --git a/web/templates/account/dashboard.html b/web/templates/account/dashboard.html index c5d1bff..28e9727 100644 --- a/web/templates/account/dashboard.html +++ b/web/templates/account/dashboard.html @@ -269,7 +269,7 @@
Notifications
+Notifications