summaryrefslogtreecommitdiff
path: root/sass/_theme.scss
diff options
context:
space:
mode:
Diffstat (limited to 'sass/_theme.scss')
-rw-r--r--sass/_theme.scss16
1 files changed, 16 insertions, 0 deletions
diff --git a/sass/_theme.scss b/sass/_theme.scss
new file mode 100644
index 0000000..ad39b22
--- /dev/null
+++ b/sass/_theme.scss
@@ -0,0 +1,16 @@
+:root[data-theme="light"] body,
+:root[data-theme="dark"] body {
+ background: var(--color-bg);
+ color: var(--color-text);
+}
+
+@media (prefers-reduced-motion: reduce) {
+ *,
+ *::before,
+ *::after {
+ scroll-behavior: auto !important;
+ animation-duration: 0.01ms !important;
+ animation-iteration-count: 1 !important;
+ transition-duration: 0.01ms !important;
+ }
+}