Adjusted code injection fields in settings to dark mode

This commit is contained in:
Sanne de Vries 2020-09-04 21:40:03 +02:00
parent ed1433b809
commit 5cbd9f0f78
2 changed files with 18 additions and 0 deletions

View File

@ -428,6 +428,15 @@ input:focus,
background: #212A2E;
}
.settings-code-editor .CodeMirror-gutters,
.settings-code code {
background-color: var(--white);
}
.settings-code-editor .CodeMirror {
background: var(--white);
}
.blog-logo,
.blog-icon {
background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3ERectangle%3C/title%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath fill='%23303e46' d='M0 0h24v24H0z'/%3E%3Cpath fill='%233e515b' d='M0 0h12v12H0zM12 12h12v12H12z'/%3E%3C/g%3E%3C/svg%3E");

View File

@ -522,6 +522,8 @@
}
.settings-code code {
background-color: rgb(242, 244, 247);
border: 1px solid var(--lightgrey);
vertical-align: middle;
font-size: 1.2rem;
}
@ -553,6 +555,13 @@
padding: 0;
border: none;
border-radius: inherit;
background: var(--white);
color: var(--darkgrey);
}
.settings-code-editor .CodeMirror-gutters {
background-color: rgb(242, 244, 247);
border-right: 1px solid var(--lightgrey);
}
.settings-code-editor .cm-s-xq-light span.cm-meta {