mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 15:26:36 +00:00
codemirror: set cursor color to "--primary-color", set indent marker color to "--divider-color" (#25045)
* set cursor color to "--primary-color" * indent markers' color
This commit is contained in:
parent
8ad4385d67
commit
43bb9d3401
@ -59,12 +59,16 @@ export const haTheme = EditorView.theme({
|
||||
maxHeight: "var(--code-mirror-max-height, unset)",
|
||||
},
|
||||
|
||||
"&.cm-editor": {
|
||||
"--indent-marker-active-bg-color": "var(--divider-color)",
|
||||
},
|
||||
|
||||
"&.cm-editor.cm-focused": {
|
||||
outline: "none",
|
||||
},
|
||||
|
||||
"&.cm-focused .cm-cursor": {
|
||||
borderLeftColor: "var(--secondary-text-color)",
|
||||
borderLeftColor: "var(--primary-color)",
|
||||
},
|
||||
|
||||
".cm-selectionBackground, ::selection": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user