-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmain.less
116 lines (99 loc) · 3.01 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
/* Overall Colors */
@background: #f8f8f8;
@foreground: #333333;
@comment: #969896;
@orange: #e56016;
@purple: #795da3;
@blue: #0086b3;
@magenta: #a71d5d;
@green: #63a35c;
@red: #cc6666;
/* Selection colors */
@selection-color-focused: rgba(96, 96, 96, 0.5);
@selection-color-unfocused: #424242;
@activeline-bgcolor: #ebefef;
@activeline-number-bgcolor: rgba(96, 96, 96, 0.2);
.CodeMirror .cm-keyword { color: @magenta; }
.CodeMirror .cm-atom { color: @blue; }
.CodeMirror .cm-number { color: @blue; }
.CodeMirror .cm-def { color: @foreground; }
.CodeMirror .cm-variable { color: @foreground; }
.CodeMirror .cm-variable-2 { color: @foreground; }
.CodeMirror .cm-variable-3 { color: @blue; }
.CodeMirror .cm-property { color: @blue; }
.CodeMirror .cm-operator { color: @magenta; }
.CodeMirror .cm-comment { color: @comment; }
.CodeMirror .cm-string { color: @orange; }
.CodeMirror .cm-string-2 { color: @foreground; }
.CodeMirror .cm-meta { color: @red; }
.CodeMirror .cm-error { color: @red; border-bottom: 1px dashed @red; }
.CodeMirror .cm-qualifier { color: @purple; }
.CodeMirror .cm-builtin { color: @foreground; }
.CodeMirror .cm-bracket { color: @foreground; }
.CodeMirror .cm-tag { color: @green; }
.CodeMirror .cm-attribute { color: @purple; }
.CodeMirror .cm-header { color: @magenta; }
.CodeMirror .cm-quote { color: @purple; }
.CodeMirror .cm-hr { color: @orange; }
.CodeMirror .cm-link { color: @blue; }
.CodeMirror .cm-rangeinfo { color: @foreground; }
.CodeMirror .cm-minus { color: @red; }
.CodeMirror .cm-plus { color: @foreground; }
.CodeMirror,
.CodeMirror .CodeMirror-scroll {
background-color: @background;
color: @foreground;
}
.CodeMirror .CodeMirror-selected {
background-color: @selection-color-unfocused;
}
.CodeMirror-focused .CodeMirror-selected {
background-color: #b3cde7;
}
.CodeMirror .CodeMirror-gutters {
background-color: @background;
}
.CodeMirror-activeline .CodeMirror-gutter-elt {
color: @foreground !important;
}
.CodeMirror-gutter-elt {
color: @comment !important;
}
.CodeMirror .CodeMirror-matchingbracket {
color: @foreground !important;
background-color: #b3cde7;
}
.CodeMirror .CodeMirror-linenumber {
color: @activeline-number-bgcolor;
}
.CodeMirror-activeline-background,
.CodeMirror-activeline .CodeMirror-gutter-elt {
background-color: @activeline-bgcolor !important;
}
.CodeMirror-matchingtag {
background-color: #daebfd;
}
.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;
}
/**
* Bookmarks (https://github.com/JeffryBooher/brackets-bookmarks-extension)
* ------------------------------------------------------------------------
*/
.bookmark .CodeMirror-linenumber {
color: #ffffff !important;
background-color: dodgerblue !important;
}
/* Non-editor styling */
#image-holder,
#not-editor {
background-color: @background;
}
#image-holder {
color: @foreground;
}