Fixed code highlighting in code injection in dark mode

no issue
This commit is contained in:
Djordje Vlaisavljevic 2022-09-07 12:18:18 +02:00
parent fa1861aad3
commit 88c0cca873

View File

@ -646,7 +646,7 @@ input:focus,
} }
.settings-code-editor .CodeMirror { .settings-code-editor .CodeMirror {
color: var(--black); color: var(--darkgrey);
} }
.settings-code-editor .CodeMirror-cursor { .settings-code-editor .CodeMirror-cursor {
@ -681,6 +681,22 @@ input:focus,
color: color-mod(#183691 l(+25%)); color: color-mod(#183691 l(+25%));
} }
.settings-code-editor .CodeMirror .cm-variable, .settings-code-editor .CodeMirror .cm-variable-2, .settings-code-editor .CodeMirror .cm-meta {
color: var(--black);
}
.settings-code-editor .CodeMirror .cm-property {
color: var(--middarkgrey);
}
.settings-code-editor .CodeMirror .cm-number {
color: color-mod(#164 l(+25%));
}
.settings-code-editor .CodeMirror .cm-keyword {
color: color-mod(#5A5CAD l(+20%));
}
.id-github img, .id-github img,
.id-typeform img, .id-typeform img,
.id-buffer img, .id-buffer img,