From 6bce22685640a3032d1d3815e44b60e7552bfb82 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 15 May 2021 22:26:12 +0200 Subject: Use prefers-color-scheme media query --- assets/css/style.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'assets') 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 @@ @include assign($breakpoint); } } -} -.t-light { - @include assign('light'); + @media (prefers-color-scheme: light) { + @include assign('light'); + } } -- cgit v1.2.3-70-g09d2