From 9bcbb9131ecb542bc93cc44381d701245da58016 Mon Sep 17 00:00:00 2001 From: Simon Huber Date: Mon, 25 Apr 2022 10:56:34 +0200 Subject: [PATCH] Add :root { color-sheme: ...; } to vanilla base (#6659) --- themes/tiddlywiki/vanilla/base.tid | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index 145c5f2aa..774e3ee69 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -334,6 +334,10 @@ table tfoot tr td { height: 600px; } +:root { + color-scheme: {{{ [{$:/palette}get[color-scheme]] ~light }}}; +} + /* ** Links */