We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6f184e commit 8ef8769Copy full SHA for 8ef8769
src/routes/tutorial/[slug]/codemirror.css
@@ -6,6 +6,10 @@
6
height: 100%;
7
}
8
9
+.cm-editor ::selection {
10
+ color: revert;
11
+}
12
+
13
.cm-editor .cm-scroller {
14
font-family: var(--font-mono);
15
font-size: 1.3rem;
@@ -80,7 +84,7 @@
80
84
81
85
82
86
.cm-editor .cm-activeLine {
83
- background-color: var(--sk-back-2);
87
+ background-color: hsl(0, 0%, 40%, 0.2);
88
89
90
.cm-editor .cm-diagnostic-warning {
@@ -90,4 +94,15 @@
94
91
95
background: hsl(39, 100%, 10%);
92
96
97
98
+ .cm-editor.cm-focused .cm-selectionBackground,
99
+ .cm-editor .cm-selectionBackground,
100
+ .cm-editor .cm-content ::selection {
101
+ background: var(--sk-theme-3);
102
+ opacity: .3;
103
+ }
104
105
+ .cm-editor .cm-selectionMatch {
106
+ background: rgba(255, 255, 255, 0.2);
107
93
108
0 commit comments