From faa8c0641176380807c51d81934fb41f86e55fdc Mon Sep 17 00:00:00 2001 From: Vincent Messow Date: Sat, 25 May 2019 11:25:30 +0200 Subject: [PATCH] Apply prefers-color-scheme media query to :root instead of :html. --- css/barebones.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/barebones.css b/css/barebones.css index ea579df48..c51ab3ae5 100644 --- a/css/barebones.css +++ b/css/barebones.css @@ -76,7 +76,7 @@ html { included for future and an example of defining a different base 'theme' */ @media (prefers-color-scheme: dark) { - :html { + :root { /* dark theme: light background, dark text, blue accent */ --theme-hue: 0; /* black */ --accent-hue: 194; /* blue */