From cae937f1077b8a8f55f8603a3f7f1d2746d48daf Mon Sep 17 00:00:00 2001 From: Simon Huber Date: Wed, 22 Apr 2020 11:46:36 +0200 Subject: [PATCH] Make selections follow palette colors (#4590) --- themes/tiddlywiki/vanilla/base.tid | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index 28d551966..336ba6e6f 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -225,6 +225,16 @@ kbd { box-shadow: inset 0 -1px 0 <>; } +::selection { + background-color: <>; + color: <>; +} + +::-moz-selection { + background-color: <>; + color: <>; +} + /* Markdown likes putting code elements inside pre elements */ @@ -2726,4 +2736,4 @@ select { .tc-fill-background { fill: <>; -} \ No newline at end of file +}