File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 126
126
.cm-tooltip .cm-tooltip-autocomplete > ul {
127
127
border-radius : 0.125rem ;
128
128
}
129
+
130
+ .cm-editor : not (: has (.cm-selectionBackground )) .cm-activeLine {
131
+ background-color : hsl (var (--accent ));
132
+ }
133
+
134
+ .cm-editor : has (.cm-selectionBackground ) .cm-activeLine {
135
+ background-color : transparent;
136
+ }
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export const ESLintPlaygroundTheme = EditorView.theme(
17
17
paddingRight : "1px" ,
18
18
backgroundColor : "var(--body-background-color)" ,
19
19
} ,
20
- ".cm-activeLine, .cm- activeLineGutter" : {
20
+ ".cm-activeLineGutter" : {
21
21
backgroundColor : "var(--body-background-color)" ,
22
22
} ,
23
23
".cm-content" : {
@@ -53,7 +53,6 @@ export const ESLintPlaygroundTheme = EditorView.theme(
53
53
margin : "0" ,
54
54
} ,
55
55
"&.cm-editor .cm-content .cm-line ::selection" : {
56
- backgroundColor : "var(--color-primary-800) !important" ,
57
56
color : "#fff !important" ,
58
57
} ,
59
58
} ,
You can’t perform that action at this time.
0 commit comments