Skip to content

Commit 7dbaf14

Browse files
leeoniyaadrianheine
authored andcommitted
[dracula theme] consistent selection styling regardless of focus
This prevents a selection from inheriting the default gray background when editor is defocused.
1 parent 4cedb7e commit 7dbaf14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

theme/dracula.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
.cm-s-dracula .CodeMirror-gutters { color: #282a36; }
1717
.cm-s-dracula .CodeMirror-cursor { border-left: solid thin #f8f8f0; }
1818
.cm-s-dracula .CodeMirror-linenumber { color: #6D8A88; }
19-
.cm-s-dracula.CodeMirror-focused div.CodeMirror-selected { background: rgba(255, 255, 255, 0.10); }
19+
.cm-s-dracula .CodeMirror-selected { background: rgba(255, 255, 255, 0.10); }
2020
.cm-s-dracula .CodeMirror-line::selection, .cm-s-dracula .CodeMirror-line > span::selection, .cm-s-dracula .CodeMirror-line > span > span::selection { background: rgba(255, 255, 255, 0.10); }
2121
.cm-s-dracula .CodeMirror-line::-moz-selection, .cm-s-dracula .CodeMirror-line > span::-moz-selection, .cm-s-dracula .CodeMirror-line > span > span::-moz-selection { background: rgba(255, 255, 255, 0.10); }
2222
.cm-s-dracula span.cm-comment { color: #6272a4; }

0 commit comments

Comments
 (0)