From 5b434e9aa60075c2a306c33a3c282f099054edd2 Mon Sep 17 00:00:00 2001 From: Laura van Helvoort Date: Mon, 24 Feb 2025 16:35:06 +0100 Subject: [PATCH] change color --- resources/styles/codemirror.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/resources/styles/codemirror.css b/resources/styles/codemirror.css index a04e900..337b74a 100644 --- a/resources/styles/codemirror.css +++ b/resources/styles/codemirror.css @@ -92,6 +92,10 @@ div.wikiEditor-ui-toolbar .group .tool-select .options { background-color: var( --clr-surface-3, #e8f2ff ); } +.theme--dark .CodeMirror-activeline-background { + background-color: #3a3a3a; +} + .CodeMirror-linenumber { cursor: pointer; color: var( --clr-on-surface, #999999 ); @@ -105,10 +109,18 @@ div.wikiEditor-ui-toolbar .group .tool-select .options { background: var( --clr-surface-3, #d9d9d9 ); } +.theme--dark .CodeMirror-selected { + background: #3a3a3a; +} + .CodeMirror-focused .CodeMirror-selected { background: var( --clr-surface-3, #d7d4f0 ); } +.theme--dark .CodeMirror-focused .CodeMirror-selected { + background: #3a3a3a; +} + .CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection {