-
Notifications
You must be signed in to change notification settings - Fork 8
/
main.less
124 lines (104 loc) · 3.05 KB
/
main.less
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
/**
* Theme EasyDark Copyright (c) 2014 Miguel Castillo.
*
* Licensed under MIT
*
* Rendition of https://github.com/chriskempson/tomorrow-theme
*/
/* Overall Colors */
@background: #1d1f21;
@current-line: #282a2e;
@foreground: #c5c8c6;
@comment: #969896;
@orange: #de935f;
@blue: #81a2be;
@purple: #b294bb;
@green: #b5bd68;
@red: #cc6666;
@aqua: #8abeb7;
@yellow: #f0c674;
/* Selection colors */
@selection-color-focused: rgba(0, 121, 160, 0.31);
@selection-color-unfocused: #424242;
@activeline-bgcolor: rgba(96, 96, 96, 0.5);
@activeline-number-bgcolor: rgba(96, 96, 96, 0.5);
@matching-bracket: rgb(0, 0, 0);
.CodeMirror .cm-keyword { color: @purple; }
.CodeMirror .cm-atom { color: @orange; }
.CodeMirror .cm-number { color: @green; }
.CodeMirror .cm-def { color: @foreground; }
.CodeMirror .cm-variable { color: @orange; }
.CodeMirror .cm-variable-2 { color: @blue; }
.CodeMirror .cm-variable-3 { color: @yellow; }
.CodeMirror .cm-property { color: @yellow; }
.CodeMirror .cm-operator { color: @foreground; }
.CodeMirror .cm-comment { color: @comment; }
.CodeMirror .cm-string { color: @green; }
.CodeMirror .cm-string-2 { color: @aqua; }
.CodeMirror .cm-meta { color: @red; }
.CodeMirror .cm-error { color: @red; }
.CodeMirror .cm-qualifier { color: @blue; }
.CodeMirror .cm-builtin { color: @yellow; }
.CodeMirror .cm-bracket { color: @foreground; }
.CodeMirror .cm-tag { color: @blue; }
.CodeMirror .cm-attribute { color: @orange; }
.CodeMirror .cm-header { color: @purple; }
.CodeMirror .cm-quote { color: @blue; }
.CodeMirror .cm-hr { color: @orange; }
.CodeMirror .cm-link { color: @yellow; }
.CodeMirror .cm-rangeinfo { color: @aqua; }
.CodeMirror .cm-minus { color: @red; }
.CodeMirror .cm-plus { color: @green; }
.CodeMirror,
.CodeMirror .CodeMirror-scroll {
background-color: @background;
color: @foreground;
}
.CodeMirror .CodeMirror-selected {
background: @selection-color-unfocused;
}
.CodeMirror-focused .CodeMirror-selected {
background: @selection-color-focused;
}
.CodeMirror .CodeMirror-gutters {
background-color: @background;
border-right: 1px solid #696969;
}
.CodeMirror-activeline .CodeMirror-gutter-elt {
color: @foreground !important;
}
.CodeMirror-gutter-elt {
color: @comment !important;
}
.CodeMirror .CodeMirror-matchingbracket {
color: @foreground !important;
background-color: @matching-bracket;
text-decoration: underline;
text-decoration-color: #f1f1f1 !important;
}
.CodeMirror .CodeMirror-linenumber {
color: @activeline-number-bgcolor;
}
.CodeMirror-activeline-background,
.CodeMirror-activeline .CodeMirror-gutter-elt {
background: @activeline-bgcolor !important;
}
.CodeMirror-matchingtag {
background: @matching-bracket;
}
.CodeMirror .CodeMirror-cursor {
border-left: 1px solid @foreground !important;
}
.CodeMirror .CodeMirror-overwrite .CodeMirror-cursor {
border-left: none !important;
border-bottom: 1px solid @foreground;
width: 1.2ex;
}
/* Non-editor styling */
#image-holder,
#not-editor {
background-color: @background;
}
#image-holder {
color: @foreground;
}