From 8739c3b9b6b2baf036db8c106640e97cdff7cbf0 Mon Sep 17 00:00:00 2001 From: Raphael Forment Date: Sat, 16 Dec 2023 13:44:12 +0100 Subject: [PATCH] small selection fix --- src/EditorSetup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EditorSetup.ts b/src/EditorSetup.ts index 78968ba..0272013 100644 --- a/src/EditorSetup.ts +++ b/src/EditorSetup.ts @@ -81,7 +81,7 @@ export const getCodeMirrorTheme = (theme: {[key: string]: string}): Extension => }, "&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection": { - backgroundColor: selection_background, + backgroundColor: selection_foreground, border: `0.5px solid ${selection_background}`, }, ".cm-panels": {