From 615f9e98c15b10095613640076896d16d5f6683f Mon Sep 17 00:00:00 2001 From: KmerTeamLiquid Date: Wed, 22 Nov 2023 03:18:16 +0100 Subject: [PATCH 1/2] Chaning editing cursor color on dark theme --- resources/styles/codemirror.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/styles/codemirror.css b/resources/styles/codemirror.css index dbda7a1..bd5a891 100644 --- a/resources/styles/codemirror.css +++ b/resources/styles/codemirror.css @@ -114,3 +114,7 @@ div.wikiEditor-ui-toolbar .group .tool-select .options { .CodeMirror-line > span > span::selection { background: var( --clr-surface-3, #d7d4f0 ); } + +.theme--dark .CodeMirror-cursor { + border-color: var(--clr-on-background, #d7d4f0 ); +} From 9823fdb4d193166fa4c4c82c55b5ec970a5231af Mon Sep 17 00:00:00 2001 From: KmerTeamLiquid Date: Wed, 22 Nov 2023 03:23:18 +0100 Subject: [PATCH 2/2] Fixing codestyle --- resources/styles/codemirror.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/styles/codemirror.css b/resources/styles/codemirror.css index bd5a891..a04e900 100644 --- a/resources/styles/codemirror.css +++ b/resources/styles/codemirror.css @@ -116,5 +116,5 @@ div.wikiEditor-ui-toolbar .group .tool-select .options { } .theme--dark .CodeMirror-cursor { - border-color: var(--clr-on-background, #d7d4f0 ); + border-color: var( --clr-on-background, #d7d4f0 ); }