summaryrefslogtreecommitdiffstats
path: root/assets/scss/theme
diff options
context:
space:
mode:
Diffstat (limited to 'assets/scss/theme')
-rw-r--r--assets/scss/theme/mode.sass1
-rw-r--r--assets/scss/theme/theme.scss6
2 files changed, 7 insertions, 0 deletions
diff --git a/assets/scss/theme/mode.sass b/assets/scss/theme/mode.sass
index be3379f..6dc7f48 100644
--- a/assets/scss/theme/mode.sass
+++ b/assets/scss/theme/mode.sass
@@ -1,3 +1,4 @@
+css @media (prefers-color-scheme: dark) { body { background-color: #343a40; color: #f8f9fa; } }
--#{$prefix}body-color: #{$body-color-dark};
--#{$prefix}body-color-rgb: #{to-rgb($body-color-dark)};
--#{$prefix}body-bg: #{$body-bg-dark};
diff --git a/assets/scss/theme/theme.scss b/assets/scss/theme/theme.scss
index 0773167..0fb39a9 100644
--- a/assets/scss/theme/theme.scss
+++ b/assets/scss/theme/theme.scss
@@ -1,3 +1,9 @@
+@media (prefers-color-scheme: dark) {
+ body {
+ background-color: #343a40; color: #f8f9fa;
+ }
+}
+
.gradient-featured {
background: $white;
background: linear-gradient(135deg, $white 0%, tint-color($primary, 80%) 100%);