Skip to content

Commit 8475522

Browse files
committed
improve selection match styling
1 parent faacdb8 commit 8475522

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/CodeMirror.res

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,7 @@ let createEditor = (config: editorConfig): editorInstance => {
696696
"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection": dict{
697697
"backgroundColor": "rgba(255, 255, 255, 0.20)",
698698
},
699+
".cm-selectionMatch": dict{"backgroundColor": "#aafe661a"},
699700
},
700701
),
701702
CM6.EditorView.drawSelection(),

0 commit comments

Comments
 (0)