Skip to content
Snippets Groups Projects
Commit 2b3c01d6 authored by Matthias Stefan Bodenbenner's avatar Matthias Stefan Bodenbenner
Browse files

adapted dark-theme highlighting

parent 2246f915
No related branches found
No related tags found
No related merge requests found
Pipeline #403398 failed
...@@ -76,6 +76,8 @@ body { ...@@ -76,6 +76,8 @@ body {
/* Syntax highlighting */ /* Syntax highlighting */
.token.comment, .token.comment,
.token.prolog, .token.prolog,
.token.doctype, .token.doctype,
...@@ -91,26 +93,29 @@ body { ...@@ -91,26 +93,29 @@ body {
opacity: 0.7; opacity: 0.7;
} }
.token.property, .light-theme .token.property,
.token.tag, .light-theme .token.tag,
.token.constant, .light-theme .token.constant,
.token.deleted { .light-theme .token.deleted {
color: #00549F; color: #00549F;
} }
.dark-theme .token.modifier, .dark-theme .token.property,
.dark-theme .token.datatype { .dark-theme .token.tag,
color: #89CCCF .dark-theme .token.constant,
.dark-theme .token.deleted {
color: #8EBAE5;
} }
.light-theme .token.modifier, .light-theme .token.modifier,
.light-theme .token.datatype { .light-theme .token.datatype {
color: #0098A1 color: #0098A1
} }
.dark-theme .token.boolean, .dark-theme .token.modifier,
.dark-theme .token.number { .dark-theme .token.datatype {
color: #6190c2 color: #89CCCF
} }
.light-theme .token.boolean, .light-theme .token.boolean,
...@@ -118,31 +123,46 @@ body { ...@@ -118,31 +123,46 @@ body {
color: #612158 color: #612158
} }
.dark-theme .token.event { .dark-theme .token.boolean,
color: #e748a5 .dark-theme .token.number {
color: #A8859E
} }
.dark-theme .token.warning { .light-theme .token.event {
color: #bb1818 color: #E30066
}
.dark-theme .token.event {
color: #F19EB1
} }
.light-theme .token.warning { .light-theme .token.warning {
color: #bb1818 color: #CC071E
} }
.light-theme .token.event { .dark-theme .token.warning {
color: #E30066 color: #E69679
} }
.token.selector, .token.selector,
.token.attr-name, .token.attr-name,
.token.string, .light-theme .token.string,
.token.char, .token.char,
.token.builtin, .token.builtin,
.token.inserted { .token.inserted {
color: #57AB27; color: #57AB27;
} }
.dark-theme .token.string
{
color: #B8D698;
}
/* .token.operator, */ /* .token.operator, */
.token.entity, .token.entity,
.token.url, .token.url,
...@@ -153,10 +173,14 @@ body { ...@@ -153,10 +173,14 @@ body {
.token.atrule, .token.atrule,
.token.attr-value, .token.attr-value,
.token.keyword { .light-theme .token.keyword {
color: #F6A800; color: #F6A800;
} }
.dark-theme .token.keyword {
color: #FDD48F;
}
.token.function { .token.function {
color: #f44336; color: #f44336;
} }
...@@ -167,15 +191,24 @@ body { ...@@ -167,15 +191,24 @@ body {
color: #ff9800; color: #ff9800;
} }
.token.prefix-link { .light-theme .token.prefix-link {
color: #006165; color: #006165;
} }
.token.semantics, .dark-theme .token.prefix-link {
.token.prefix { color: #7DA4A7;
}
.light-theme .token.semantics,
.light-theme .token.prefix {
color: #A11035; color: #A11035;
} }
.dark-theme .token.semantics,
.dark-theme .token.prefix {
color: #CD8B87;
}
.token.important, .token.important,
.token.bold { .token.bold {
font-weight: bold; font-weight: bold;
...@@ -206,7 +239,7 @@ body { ...@@ -206,7 +239,7 @@ body {
.editor .editorLineNumber { .editor .editorLineNumber {
position: absolute; position: absolute;
left: 0px; left: 0px;
color: #646567; color: #9C9E9F;
text-align: right; text-align: right;
width: 40px; width: 40px;
font-weight: 100; font-weight: 100;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment