Merge pull request #2627 from urbit/mp/publish/dark-syntax

publish: dark mode syntax css
This commit is contained in:
ixv 2020-03-30 19:39:43 -07:00 committed by GitHub
commit c0b4de176a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -359,4 +359,59 @@ md img {
background: #333;
color: #fff;
}
.CodeMirror-selected {
background: #4d4d4d !important;
color: white;
}
.cm-s-tlon span.cm-def {
color: white;
}
.cm-s-tlon span.cm-variable {
color: white;
}
.cm-s-tlon span.cm-variable-2 {
color: white;
}
.cm-s-tlon span.cm-variable-3,
.cm-s-tlon span.cm-type {
color: white;
}
.cm-s-tlon span.cm-property {
color: white;
}
.cm-s-tlon span.cm-operator {
color: white;
}
.cm-s-tlon span.cm-comment {
color: black;
background-color: var(--gray);
padding: 2px;
border-radius: 2px;
}
.cm-s-tlon span.cm-string {
color: var(--gray);
}
.cm-s-tlon span.cm-string-2 {
color: var(--gray);
}
.cm-s-tlon span.cm-attribute {
color: var(--gray);
}
.cm-s-tlon span.cm-tag {
color: var(--gray);
}
.cm-s-tlon span.cm-link {
color: var(--gray);
}
}