summaryrefslogtreecommitdiffstats
path: root/assets/css
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-05-15 22:26:12 +0200
committerVolpeon <git@volpeon.ink>2021-05-15 22:26:12 +0200
commit6bce22685640a3032d1d3815e44b60e7552bfb82 (patch)
tree77e711a29a6793bd2e296ab4b64ac11b9b811177 /assets/css
parentSeparate script file (diff)
downloadvolpeon.ink-6bce22685640a3032d1d3815e44b60e7552bfb82.tar.gz
volpeon.ink-6bce22685640a3032d1d3815e44b60e7552bfb82.tar.bz2
volpeon.ink-6bce22685640a3032d1d3815e44b60e7552bfb82.zip
Use prefers-color-scheme media query
Diffstat (limited to 'assets/css')
-rw-r--r--assets/css/style.scss6
1 files changed, 3 insertions, 3 deletions
diff --git a/assets/css/style.scss b/assets/css/style.scss
index 3d9dde1..cd27f35 100644
--- a/assets/css/style.scss
+++ b/assets/css/style.scss
@@ -40,8 +40,8 @@
40 @include assign($breakpoint); 40 @include assign($breakpoint);
41 } 41 }
42 } 42 }
43}
44 43
45.t-light { 44 @media (prefers-color-scheme: light) {
46 @include assign('light'); 45 @include assign('light');
46 }
47} 47}