From 6d8a44369c32bd999647ac1f4f4c46c67a10e6c7 Mon Sep 17 00:00:00 2001 From: Jed Fox Date: Mon, 13 Jan 2020 16:17:23 -0500 Subject: [PATCH] Use dark-mode native UI elements in dark mode where supported --- assets/stylesheets/global/_base.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/assets/stylesheets/global/_base.scss b/assets/stylesheets/global/_base.scss index b81d5a93..ec7be4f2 100644 --- a/assets/stylesheets/global/_base.scss +++ b/assets/stylesheets/global/_base.scss @@ -10,6 +10,13 @@ html { @import 'global/print'; } +html._theme-default { + color-scheme: light only; +} +html._theme-dark { + color-scheme: dark only; +} + body { height: 100%; margin: 0;