forked from svaksha/dunkelbunt-syntax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.styl
276 lines (228 loc) · 8.21 KB
/
index.styl
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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
/*
* 0000000 0000000 000 0000000 00000000 0000000
* 000 000 000 000 000 000 000 000 000
* 000 000 000 000 000 000 0000000 0000000
* 000 000 000 000 000 000 000 000 000
* 0000000 0000000 0000000 0000000 000 000 0000000
*/
color = {}
color.black = #000000
color.gray-most-dark = #181818
color.gray-very-dark = #282828
color.gray-dark = #444444
color.gray-medium = #555555
color.gray = #888888
color.gray-bright = #cccccc
color.gray-very-bright = #dddddd
color.white = #ffffff
color.yellow-bright = #ffff88
color.yellow = #ffff00
color.orange-bright = #ffaa00
color.orange = #ff8800
color.red = #ff0000
color.green-bright = #00ff00
color.green = #00aa00
color.green-dark = #006600
color.blue-dark = #2222aa
color.blue = #4444ff
color.blue-medium = #6666ff
color.blue-bright = #8888ff
color.blue-very-bright = #aaaaff
// main colors
color.comment = #555555
color.background = color.black
color.text = color.gray-bright
color.comment-marker = color.gray-very-dark
color.comment-block = color.comment
color.selection = color.gray-dark
color.cursor-line = color.gray-most-dark
color.variable = color.yellow-bright
//______________________________________________________________________________________________________________________
/*
* 0000000 00000000 000 000 00000000 00000000 0000000 000
* 000 000 0000 000 000 000 000 000 000 000
* 000 0000 0000000 000 0 000 0000000 0000000 000000000 000
* 000 000 000 000 0000 000 000 000 000 000 000
* 0000000 00000000 000 000 00000000 000 000 000 000 0000000
*/
:host
atom-text-editor
atom-text-editor::shadow
background: color.background
color: color.text
.selection .region
background-color: color.selection
border-radius: 4px
.text
.source
color: color.text
.comment
color: color.comment
&.block
color: color.comment-block
&.punctuation
color: color.comment-marker
.selection
&.selection
color: color.orange
atom-text-editor::shadow
//__________________________________________________________________________________________________________________
/*
* 0000000 000 000 000000000 000000000 00000000 00000000
* 000 000 000 000 000 000 000 000
* 000 0000 000 000 000 000 0000000 0000000
* 000 000 000 000 000 000 000 000 000
* 0000000 0000000 000 000 00000000 000 000
*/
.gutter
font-weight: bold
background: color.black
border-right: 1px solid color.gray-most-dark
.line-number
color: color.gray-medium
&.cursor-line-no-selection
&.cursor-line
background: color.cursor-line
color: color.orange
//__________________________________________________________________________________________________________________
/*
* 0000000 000 000 000 0000000 00000000 0000000
* 000 000 000 000 000 000 000 000
* 000 0000 000 000 000 000 000 0000000 0000000
* 000 000 000 000 000 000 000 000 000
* 0000000 0000000 000 0000000 00000000 0000000
*/
.wrap-guide
background-color: color.gray-very-dark
.indent-guide
color: color.gray-very-dark
.invisible-character
color: color.gray-dark
.line.cursor-line
background-color: color.cursor-line
//__________________________________________________________________________________________________________________
/*
* 0000000 0000000 000 000 00000000 0000000 00000000
* 000 000 000 000 000 000 000 000 000
* 0000000 000 000 000 000 0000000 000 0000000
* 000 000 000 000 000 000 000 000 000
* 0000000 0000000 0000000 000 000 0000000 00000000
*/
.text
.source
.meta.preprocessor.include.c
.meta.preprocessor.macro.c
color: color.blue
.entity
.class
color: color.yellow
&.punctuation
color: darken(color.orange-bright, 20)
.attribute-name
color: color.orange-bright
.storage // class, var, etc
color: color.blue-very-bright
.function
color: color.blue-very-bright
&.name
color: color.yellow-bright
&.storage // -> =>
color: color.blue-medium
&.support // require, len, indexOf. etc
color: color.gray
.function-call
color: color.orange-bright
&.arguments
color: color.blue-very-bright
.function.parameter
color: color.orange-bright
.brace.round
color: color.blue-medium
.meta.structure.list
.meta.item-access
.brace.square
color: color.blue-bright
.meta.selector.css
.brace.curly
.punctuation.property-list
color: color.gray-dark
.dictionary
color: color.gray
&.separator
color: color.gray-dark
&.key-value
color: color.gray-dark
.punctuation.separator.parameters
.comma
color: color.blue
.period
color: color.gray
.constant
color: color.blue-bright
&.numeric
color: color.blue-very-bright
.keyword // new, =, -, +, :, isnt, is
&.operator
color: color.blue-medium
&.control // do, if, return, then, switch, for
color: color.blue-bright
&.import
color: color.gray
.variable
&.parameter.function
color: color.blue-bright
color: color.blue-very-bright
.string
color: color.green
&.punctuation.definition
color: color.green-dark
.inherited-class
color: color.yellow-bright
.variable.assignment // local variables and dict keys
color: color.variable
.property-name
color: color.blue-bright
.separator.key-value
color: darken(color.variable, 50)
&.stylus
color: color.blue
.tag
color: color.gray
&.entity
color: color.blue-bright
&.class
color: color.blue-very-bright
&.id
color: color.yellow
.tag.punctuation
.terminator
color: color.gray-dark
&.noon
color: #ff8
.key.noon
color: #f80
.punctuation.array.noon
color: #88f
.punctuation.dense.noon
color: #444
font-weight: bold
.key.dense.noon
color: #888
.constant.color.noon
color: #faa
.punctuation.bracket.noon
color: #884
.punctuation.dot.noon
color: #a60
font-weight: bold
.punctuation.dim.noon
color: #a60
.punctuation.regex.noon
color: #f00
font-weight: bold
.punctuation.key.escape.noon
color: #600
font-weight: bold
.punctuation.value.escape.noon
color: #333
font-weight: bold