Skip to content

Commit 59a2b03

Browse files
jackzelenkinmarijnh
authored andcommitted
Update darcula.css
Adjust colors and font modifiers a little bit to make code more readable.
1 parent 29e338b commit 59a2b03

File tree

1 file changed

+28
-23
lines changed

1 file changed

+28
-23
lines changed

theme/darcula.css

Lines changed: 28 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,51 @@
11
/**
2-
Name: IntelliJ IDEA darcula theme
2+
Name: IntelliJ IDEA darcula theme
33
From IntelliJ IDEA by JetBrains
44
*/
55

6+
.cm-s-darcula { font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif;}
7+
.cm-s-darcula.CodeMirror { background: #2B2B2B; color: #A9B7C6; }
8+
69
.cm-s-darcula span.cm-meta { color: #BBB529; }
710
.cm-s-darcula span.cm-number { color: #6897BB; }
8-
.cm-s-darcula span.cm-keyword { line-height: 1em; font-weight: bold; color: #CC7832; }
9-
.cm-s-darcula span.cm-def { color: #FFC66D; }
11+
.cm-s-darcula span.cm-keyword { color: #CC7832; line-height: 1em; font-weight: bold; }
12+
.cm-s-darcula span.cm-def { color: #A9B7C6; font-style: italic; }
1013
.cm-s-darcula span.cm-variable { color: #A9B7C6; }
1114
.cm-s-darcula span.cm-variable-2 { color: #A9B7C6; }
12-
.cm-s-darcula span.cm-variable-3, .cm-s-darcula span.cm-type { color: #A9B7C6; }
13-
.cm-s-darcula span.cm-property { color: #A9B7C6; }
15+
.cm-s-darcula span.cm-variable-3 { color: #9876AA; }
16+
.cm-s-darcula span.cm-type { color: #AABBCC; font-weight: bold; }
17+
.cm-s-darcula span.cm-property { color: #FFC66D; }
1418
.cm-s-darcula span.cm-operator { color: #A9B7C6; }
1519
.cm-s-darcula span.cm-string { color: #6A8759; }
1620
.cm-s-darcula span.cm-string-2 { color: #6A8759; }
17-
.cm-s-darcula span.cm-comment { color: #808080; }
18-
.cm-s-darcula span.cm-link { color: #287BDE; }
19-
.cm-s-darcula span.cm-atom { font-weight: bold; color: #CC7832; }
21+
.cm-s-darcula span.cm-comment { color: #61A151; font-style: italic; }
22+
.cm-s-darcula span.cm-link { color: #CC7832; }
23+
.cm-s-darcula span.cm-atom { color: #CC7832; }
2024
.cm-s-darcula span.cm-error { color: #BC3F3C; }
21-
.cm-s-darcula span.cm-tag { color: #CC7832; }
22-
.cm-s-darcula span.cm-attribute { color: #6A8759; }
25+
.cm-s-darcula span.cm-tag { color: #629755; font-weight: bold; font-style: italic; text-decoration: underline; }
26+
.cm-s-darcula span.cm-attribute { color: #6897bb; }
2327
.cm-s-darcula span.cm-qualifier { color: #6A8759; }
2428
.cm-s-darcula span.cm-bracket { color: #A9B7C6; }
25-
.cm-s-darcula.CodeMirror { background: #2B2B2B; color: #A9B7C6; }
26-
29+
.cm-s-darcula span.cm-builtin { color: #FF9E59; }
30+
.cm-s-darcula span.cm-special { color: #FF9E59; }
2731

28-
.cm-s-darcula .CodeMirror-cursor { border-left: 1px solid #dddddd; }
29-
.cm-s-darcula .CodeMirror-activeline-background { background: #3A3A3A; }
30-
.cm-s-darcula div.CodeMirror-selected { background: #085a9c; }
31-
.cm-s-darcula .CodeMirror-gutters { background: rgb(72, 72, 72); border-right: 1px solid grey; color: #606366 }
32+
.cm-s-darcula .CodeMirror-cursor { border-left: 1px solid #A9B7C6; }
33+
.cm-s-darcula .CodeMirror-activeline-background { background: #323232; }
34+
.cm-s-darcula .CodeMirror-gutters { background: #313335; border-right: 1px solid #313335; }
35+
.cm-s-darcula .CodeMirror-guttermarker { color: #FFEE80; }
36+
.cm-s-darcula .CodeMirror-guttermarker-subtle { color: #D0D0D0; }
37+
.cm-s-darcula .CodeMirrir-linenumber { color: #606366; }
38+
.cm-s-darcula .CodeMirror-matchingbracket { background-color: #3B514D; color: #FFEF28 !important; font-weight: bold; }
3239

33-
.cm-s-darcula span.cm-builtin { color: #A9B7C6; }
34-
.cm-s-darcula { font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;}
35-
.cm-s-darcula .CodeMirror-matchingbracket { background-color: #3b514d; color: yellow !important; }
40+
.cm-s-darcula div.CodeMirror-selected { background: #214283; }
3641

3742
.CodeMirror-hints.darcula {
3843
font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
39-
color: #9c9e9e;
40-
background-color: #3b3e3f !important;
44+
color: #9C9E9E;
45+
background-color: #3B3E3F !important;
4146
}
4247

4348
.CodeMirror-hints.darcula .CodeMirror-hint-active {
44-
background-color: #494d4e !important;
45-
color: #9c9e9e !important;
49+
background-color: #494D4E !important;
50+
color: #9C9E9E !important;
4651
}

0 commit comments

Comments
 (0)