🐛 Changed caret color to white in code editor on Night Shift

closes #12154
Adds a new css class selector to app-dark.css to mimic the same effect as created in the gh-markdown-editor. The class keonig-card-html--editor is applied conditionally when the card is in edit mode, as per its template file. This now makes the cursor the same color as the text and easier to read.
This commit is contained in:
Scott Cabot 2020-08-24 13:30:22 +09:30 committed by Daniel Lockyer
parent 2ef41dc852
commit 73c87de243

View File

@ -359,6 +359,10 @@ input:focus,
border-color: #fff;
}
.koenig-card-html--editor .CodeMirror-cursor {
border-color: #fff;
}
.gh-logo,
.gh-unsplash-logo {
filter: invert(100%) brightness(150%);