-
Notifications
You must be signed in to change notification settings - Fork 2
/
theme.less
213 lines (177 loc) · 5.23 KB
/
theme.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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
// Neon Minimap Brackets Extension - 1.0.1
// June 18, 2015
// The MIT License (MIT)
// Copyright (c) 2015 Dustin Dowell
// github.com/dustindowell22/neon-minimap-brackets-extension
// =============================================
//
// + Colors
// =============================================
@green-1: rgb( 0, 255, 0);
@green-2: rgb( 63, 255, 0);
@chartreuse-1: rgb(127, 255, 0);
@chartreuse-2: rgb(191, 255, 0);
@yellow-1: rgb(255, 255, 0);
@yellow-2: rgb(255, 191, 0);
@orange-1: rgb(255, 127, 0);
@orange-2: rgb(255, 63, 0);
@red-1: rgb(255, 0, 0);
@red-2: rgb(255, 0, 63);
@pink-1: rgb(255, 0, 127);
@pink-2: rgb(255, 0, 191);
@magenta-1: rgb(255, 0, 255);
@magenta-2: rgb(191, 0, 255);
@purple-1: rgb(127, 0, 255);
@purple-2: rgb( 63, 0, 255);
@blue-1: rgb( 0, 0, 255);
@blue-2: rgb( 0, 63, 255);
@celeste-1: rgb( 0, 127, 255);
@celeste-2: rgb( 0, 191, 255);
@cyan-1: rgb( 0, 255, 255);
@cyan-2: rgb( 0, 255, 191);
@seafoam-1: rgb( 0, 255, 127);
@seafoam-2: rgb( 0, 255, 63);
@neon-chartreuse: mix(#000, @chartreuse-1, 25% * 0.50);
@neon-orange: mix(#FFF, @orange-1, 25% * 0.50);
@neon-red: mix(#FFF, @red-2, 25% * 0.75);
@neon-pink: mix(#FFF, @pink-1, 25% * 1.25);
@neon-blue: mix(@blue-2, @celeste-1, 25% * 0.75);
@neon-celeste: mix(@celeste-2, @cyan-1, 25% * 3.00);
@opaque-1: rgba(255, 255, 255, (4 / 6));
@opaque-2: rgba(255, 255, 255, (2 / 6));
@opaque-3: rgba(255, 255, 255, (1 / 6));
@opaque-4: rgba(255, 255, 255, (0.5 / 6));
@gray: rgb(29, 31, 33);
//
// + Brackets
// =============================================
.CodeMirror-linenumber { // Gutter line number
padding: 0 1.5em 0 0.5em;
color: @opaque-2;
}
.CodeMirror-scroll, // Scrollable area
.CodeMirror-gutters { // Gutter
background-color: @gray;
}
.CodeMirror-scroll { // Scrollable area
color: @opaque-1;
}
.CodeMirror-matchingtag { // Matching selected HTML tags
background-color: @opaque-4;
}
.CodeMirror-matchingbracket { // Matching selected curly brackets
color: @opaque-1 !important;
background-color: @opaque-4;
}
.CodeMirror-selected, // Selected text
.CodeMirror-activeline .CodeMirror-gutter-elt, // Gutter active line
.CodeMirror-activeline-background { // Active line
color: @opaque-1;
background-color: @opaque-4;
}
.CodeMirror-cursor { // Cursor
border-left: solid 0.125em @opaque-1 !important;
}
//
// + Syntax
// =============================================
.cm-operator {
color: @opaque-1;
}
.cm-comment { // Comments
font-style: italic;
color: @opaque-2;
}
.cm-atom, // Function names and property values
.cm-keyword, // Flags and some (but not all) property values
.cm-string { // Quotes
color: @neon-pink;
}
.cm-attribute, // HTML attributes
.cm-def, // @include
.cm-header,
.cm-hr,
.cm-property, // Properties
.cm-string-2,
.cm-variable { // Variables
color: @neon-celeste;
}
.cm-meta, // Vender prefixes
.cm-number { // Numbers
color: @neon-blue;
}
.cm-builtin, // ID Selector
.cm-bracket, // Carrets
.cm-tag, // HTML tag and function names after @include
.cm-qualifier { // Class selectors
color: @neon-chartreuse;
}
.cm-variable-2 {
color: @neon-orange;
}
.cm-variable-3, // Pseudo elements
.cm-error, // Errors
.cm-minus,
.cm-plus,
.cm-quote {
color: @neon-red;
}
.cm-link,
.cm-rangeinfo {
text-decoration: none;
color: @neon-chartreuse;
}
//
// + Code Folding
// =============================================
.CodeMirror-foldgutter {
width: 2em;
}
.CodeMirror-foldgutter-open,
.CodeMirror-foldgutter-folded,
.CodeMirror-foldgutter-blank {
width: 100%;
text-align: center;
&::after {
line-height: 0;
font-size: 1em;
color: @opaque-2;
}
}
.CodeMirror-foldmarker {
display: inline-block;
margin: 0 0.125em;
border-radius: 0.75em;
border: 0;
color: @opaque-1;
background-color: @opaque-3;
&::after {
display: block;
content: '\2022\2022\2022';
width: 2em;
text-align: center;
line-height: 1.25em;
position: relative;
top: -0.0625em;
}
}
//
// + CSS Color Preview
// =============================================
.ico-cssColorPreview {
display: block;
width: 0.5em;
height: 1.25em;
margin: 0;
border: 0;
}
//
// + MiniMap
// =============================================
#wdMinimap {
border: 0 !important;
}
#visible_box {
opacity: 1 !important;
background-color: @opaque-4 !important;
}