From 0fb89707fca973e192f757f25caf0e26b624ca23 Mon Sep 17 00:00:00 2001 From: Dubzer Date: Mon, 2 Oct 2023 09:27:05 +0300 Subject: [PATCH] Specify color-scheme for each theme --- templates/style/_themes.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/style/_themes.scss b/templates/style/_themes.scss index 3108ea491..2559f1e10 100644 --- a/templates/style/_themes.scss +++ b/templates/style/_themes.scss @@ -1,5 +1,6 @@ // Standard white theme html { + color-scheme: light; --color-background-code: #f5f5f5; --color-background: #fff; --input-color: #000; @@ -35,6 +36,7 @@ html { // block below and change the colors html[data-theme="dark"] { + color-scheme: dark; --color-background-code: #2a2a2a; --color-background: #353535; --input-color: #111; @@ -67,6 +69,7 @@ html[data-theme="dark"] { } html[data-theme="ayu"] { + color-scheme: dark; --color-background-code: #191f26; --color-background: #0f1419; --input-color: #c5c5c5;