davinci-text 1.0.0.2 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e3bfd3990f96d7540b3468fc1d6f30d32c2a6b6d
4
- data.tar.gz: 729f2e1afc2fd3c3dcf54f0d7764eeffd81b6111
3
+ metadata.gz: c30672f2d2b22d84bf5e53a0fba890c4de3595b1
4
+ data.tar.gz: ffda430d4420a4a280028e0902f10305faca81da
5
5
  SHA512:
6
- metadata.gz: ae4278c00413dbbd3f815fe3fa8723579119d10f752113fcc6a22ae4373d30364c9ca8e6dd0c0c26e5fdb32b1e2e5dcafd3cc0a616efef151ded3aa66f04ed51
7
- data.tar.gz: 077bc552ff4c0c595e4f09de2eb18b846b0ae26d91dea207d73e0943e3813a41575a436ba7cbdb523d1c0bd9aba21974d30afa1983dbb72f7ae7a0ecbe857436
6
+ metadata.gz: 5d65756fc72f7f18bce129d6817d90aa8f819d0f99e277227a8ee9fd7e11f66a25f92e0d375f4bb20fdff4d46b4e3c53e720415ef8da4612f8613bc8ab7d617c
7
+ data.tar.gz: d22f302ef8f21ca50b65417d2284762a3c3d66739ef1821ece4f43cfdacf314e7946b95e16f7fe08b69073ab7ddc45eb2c07f740b2adbe3ddcf819c739e2e474
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- davinci-text (1.0.0)
4
+ davinci-text (1.0.1)
5
5
  coyote (~> 1.2)
6
6
  nokogiri (~> 1.8)
7
7
 
@@ -18,8 +18,15 @@ class AtomOutputController
18
18
  FileUtils.rm_rf(@new_dir, secure: true)
19
19
  end
20
20
 
21
- FileUtils.chmod(0755, "#{root_dir}/lib/templates/atom/")
22
- FileUtils.cp_r("#{root_dir}/lib/templates/atom/", @new_dir)
21
+ begin
22
+ FileUtils.chmod(0755, "#{root_dir}/lib/templates/atom/")
23
+ FileUtils.cp_r("#{root_dir}/lib/templates/atom/", @new_dir)
24
+ rescue => e
25
+ puts e
26
+ puts "Try placing your theme file(s) inside a folder"
27
+ exit
28
+ end
29
+
23
30
 
24
31
  end
25
32
 
@@ -22,10 +22,16 @@ class SublimeOutputController
22
22
  FileUtils.rm_rf(@new_dir, secure: true)
23
23
  end
24
24
 
25
- FileUtils.chmod(0755, "#{root_dir}/lib/templates/sublime/.")
26
- FileUtils.cp_r("#{root_dir}/lib/templates/sublime/", @new_dir)
27
-
28
- File.rename("#{@new_dir}newTheme.tmTheme", @filepath)
25
+ begin
26
+ FileUtils.chmod(0755, "#{root_dir}/lib/templates/sublime/.")
27
+ FileUtils.cp_r("#{root_dir}/lib/templates/sublime/", @new_dir)
28
+ File.rename("#{@new_dir}newTheme.tmTheme", @filepath)
29
+ rescue => e
30
+ puts e
31
+ puts "Try placing your theme file(s) inside a folder"
32
+ exit
33
+ end
34
+
29
35
 
30
36
  end
31
37
 
@@ -44,11 +50,10 @@ class SublimeOutputController
44
50
 
45
51
  def replace_options
46
52
  @options.each do |key, value|
47
- print "."
48
- puts key.to_s
49
- puts value
50
- byebug
51
- @base.gsub!(/":::#{key.to_s}:::"/, value)
53
+ if value
54
+ print "."
55
+ @base.gsub!(/":::#{key.to_s}:::"/, value)
56
+ end
52
57
  end
53
58
 
54
59
  end
@@ -0,0 +1,438 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>name</key>
6
+ <string>atom-dark-syntax</string>
7
+ <key>settings</key>
8
+ <array>
9
+ <dict>
10
+ <key>settings</key>
11
+ <dict>
12
+ <key>background</key>
13
+ <string>#0E2231</string>
14
+ <key>caret</key>
15
+ <string>#1d1f21</string>
16
+ <key>foreground</key>
17
+ <string>#1d1f21</string>
18
+ <key>invisibles</key>
19
+ <string>#1d1f21</string>
20
+ <key>lineHighlight</key>
21
+ <string>#1d1f21</string>
22
+ <key>selection</key>
23
+ <string>#49483E</string>
24
+ <key>findHighlight</key>
25
+ <string>#FFE792</string>
26
+ <key>findHighlightForeground</key>
27
+ <string>#000000</string>
28
+ <key>selectionBorder</key>
29
+ <string>#222218</string>
30
+ <key>activeGuide</key>
31
+ <string>#9D550FB0</string>
32
+
33
+ <key>bracketsForeground</key>
34
+ <string>#F8F8F2A5</string>
35
+ <key>bracketsOptions</key>
36
+ <string>underline</string>
37
+
38
+ <key>bracketContentsForeground</key>
39
+ <string>#00FF00</string>
40
+ <key>bracketContentsOptions</key>
41
+ <string>underline</string>
42
+
43
+ <key>tagsOptions</key>
44
+ <string>stippled_underline</string>
45
+ </dict>
46
+ </dict>
47
+ <dict>
48
+
49
+ <key>name</key>
50
+ <string>Comment</string>
51
+ <key>scope</key>
52
+ <string>comment</string>
53
+ <key>settings</key>
54
+ <dict>
55
+ <key>foreground</key>
56
+ <string>#7C7C7C</string>
57
+ </dict>
58
+ </dict>
59
+ <dict>
60
+ <key>name</key>
61
+ <string>String</string>
62
+ <key>scope</key>
63
+ <string>string</string>
64
+ <key>settings</key>
65
+ <dict>
66
+ <key>foreground</key>
67
+ <string>#EDEDED</string>
68
+ </dict>
69
+ </dict>
70
+ <dict>
71
+ <key>name</key>
72
+ <string>Number</string>
73
+ <key>scope</key>
74
+ <string>constant.numeric</string>
75
+ <key>settings</key>
76
+ <dict>
77
+ <key>foreground</key>
78
+ <string>#FF73FD</string>
79
+ </dict>
80
+ </dict>
81
+
82
+ <dict>
83
+ <key>name</key>
84
+ <string>Built-in constant</string>
85
+ <key>scope</key>
86
+ <string>constant.language</string>
87
+ <key>settings</key>
88
+ <dict>
89
+ <key>foreground</key>
90
+ <string>#1d1f21</string>
91
+ </dict>
92
+ </dict>
93
+ <dict>
94
+ <key>name</key>
95
+ <string>User-defined constant</string>
96
+ <key>scope</key>
97
+ <string>constant.character, constant.other</string>
98
+ <key>settings</key>
99
+ <dict>
100
+ <key>foreground</key>
101
+ <string>#99CC99</string>
102
+ </dict>
103
+ </dict>
104
+ <dict>
105
+ <key>name</key>
106
+ <string>Variable</string>
107
+ <key>scope</key>
108
+ <string>variable</string>
109
+ <key>settings</key>
110
+ <dict>
111
+ <key>fontStyle</key>
112
+ <string></string>
113
+ <key>foreground</key>
114
+ <string>#C6C5FE</string>
115
+ </dict>
116
+ </dict>
117
+ <dict>
118
+ <key>name</key>
119
+ <string>Keyword</string>
120
+ <key>scope</key>
121
+ <string>keyword - (source.c keyword.operator | source.c++ keyword.operator | source.objc keyword.operator | source.objc++ keyword.operator), keyword.operator.word</string>
122
+ <key>settings</key>
123
+ <dict>
124
+ <key>foreground</key>
125
+ <string>#96CBFE</string>
126
+ </dict>
127
+ </dict>
128
+ <dict>
129
+ <key>name</key>
130
+ <string>JavaScript Dollar</string>
131
+ <key>scope</key>
132
+ <string>variable.other.dollar.only.js</string>
133
+ <key>settings</key>
134
+ <dict>
135
+ <key>foreground</key>
136
+ <string>#1d1f21</string>
137
+ </dict>
138
+ </dict>
139
+ <dict>
140
+ <key>name</key>
141
+ <string>Storage</string>
142
+ <key>scope</key>
143
+ <string>storage</string>
144
+ <key>settings</key>
145
+ <dict>
146
+ <key>fontStyle</key>
147
+ <string></string>
148
+ <key>foreground</key>
149
+ <string>#1d1f21</string>
150
+ </dict>
151
+ </dict>
152
+ <dict>
153
+ <key>name</key>
154
+ <string>Storage type</string>
155
+ <key>scope</key>
156
+ <string>storage.type</string>
157
+ <key>settings</key>
158
+ <dict>
159
+ <key>fontStyle</key>
160
+ <string></string>
161
+ <key>foreground</key>
162
+ <string>#1d1f21</string>
163
+ </dict>
164
+ </dict>
165
+ <dict>
166
+ <key>name</key>
167
+ <string>Entity name</string>
168
+ <key>scope</key>
169
+ <string>entity.name - (entity.name.filename | entity.name.section | entity.name.tag | entity.name.label)</string>
170
+ <key>settings</key>
171
+ <dict>
172
+ <key>fontStyle</key>
173
+ <string></string>
174
+ <key>foreground</key>
175
+ <string>#62B1FE</string>
176
+ </dict>
177
+ </dict>
178
+
179
+ <dict>
180
+ <key>name</key>
181
+ <string>Inherited class</string>
182
+ <key>scope</key>
183
+ <string>entity.other.inherited-class</string>
184
+ <key>settings</key>
185
+ <dict>
186
+ <key>fontStyle</key>
187
+ <string></string>
188
+ <key>foreground</key>
189
+ <string>#1d1f21</string>
190
+ </dict>
191
+ </dict>
192
+ <dict>
193
+ <key>name</key>
194
+ <string>Function argument</string>
195
+ <key>scope</key>
196
+ <string>variable.parameter - (source.c | source.c++ | source.objc | source.objc++)</string>
197
+ <key>settings</key>
198
+ <dict>
199
+ <key>fontStyle</key>
200
+ <string></string>
201
+ <key>foreground</key>
202
+ <string>#DAD085</string>
203
+ </dict>
204
+ </dict>
205
+ <dict>
206
+ <key>name</key>
207
+ <string>Language variable</string>
208
+ <key>scope</key>
209
+ <string>variable.language</string>
210
+ <key>settings</key>
211
+ <dict>
212
+ <key>fontStyle</key>
213
+ <string></string>
214
+ <key>foreground</key>
215
+ <string>#1d1f21</string>
216
+ </dict>
217
+ </dict>
218
+ <dict>
219
+ <key>name</key>
220
+ <string>Tag name</string>
221
+ <key>scope</key>
222
+ <string>entity.name.tag</string>
223
+ <key>settings</key>
224
+ <dict>
225
+ <key>fontStyle</key>
226
+ <string></string>
227
+ <key>foreground</key>
228
+ <string>#96CBFE</string>
229
+ </dict>
230
+ </dict>
231
+ <dict>
232
+ <key>name</key>
233
+ <string>Tag attribute</string>
234
+ <key>scope</key>
235
+ <string>entity.other.attribute-name</string>
236
+ <key>settings</key>
237
+ <dict>
238
+ <key>fontStyle</key>
239
+ <string></string>
240
+ <key>foreground</key>
241
+ <string>#C6C5FE</string>
242
+ </dict>
243
+ </dict>
244
+ <dict>
245
+ <key>name</key>
246
+ <string>Function call</string>
247
+ <key>scope</key>
248
+ <string>variable.function</string>
249
+ <key>settings</key>
250
+ <dict>
251
+ <key>fontStyle</key>
252
+ <string></string>
253
+ <key>foreground</key>
254
+ <string>#DAD085</string>
255
+ </dict>
256
+ </dict>
257
+ <dict>
258
+ <key>name</key>
259
+ <string>Library function</string>
260
+ <key>scope</key>
261
+ <string>support.function</string>
262
+ <key>settings</key>
263
+ <dict>
264
+ <key>fontStyle</key>
265
+ <string></string>
266
+ <key>foreground</key>
267
+ <string>#DAD085</string>
268
+ </dict>
269
+ </dict>
270
+ <dict>
271
+ <key>name</key>
272
+ <string>Library constant</string>
273
+ <key>scope</key>
274
+ <string>support.constant</string>
275
+ <key>settings</key>
276
+ <dict>
277
+ <key>fontStyle</key>
278
+ <string></string>
279
+ <key>foreground</key>
280
+ <string>#1d1f21</string>
281
+ </dict>
282
+ </dict>
283
+ <dict>
284
+ <key>name</key>
285
+ <string>Library class/type</string>
286
+ <key>scope</key>
287
+ <string>support.type, support.class</string>
288
+ <key>settings</key>
289
+ <dict>
290
+ <key>fontStyle</key>
291
+ <string></string>
292
+ <key>foreground</key>
293
+ <string>#1d1f21</string>
294
+ </dict>
295
+ </dict>
296
+ <dict>
297
+ <key>name</key>
298
+ <string>Library variable</string>
299
+ <key>scope</key>
300
+ <string>support.other.variable</string>
301
+ <key>settings</key>
302
+ <dict>
303
+ <key>fontStyle</key>
304
+ <string></string>
305
+ <key>foreground</key>
306
+ <string>#1d1f21</string>
307
+ </dict>
308
+ </dict>
309
+ <dict>
310
+ <key>name</key>
311
+ <string>Invalid</string>
312
+ <key>scope</key>
313
+ <string>invalid</string>
314
+ <key>settings</key>
315
+ <dict>
316
+ <key>background</key>
317
+ <string></string>
318
+ <key>fontStyle</key>
319
+ <string></string>
320
+ <key>foreground</key>
321
+ <string>#1d1f21</string>
322
+ </dict>
323
+ </dict>
324
+ <dict>
325
+ <key>name</key>
326
+ <string>Invalid deprecated</string>
327
+ <key>scope</key>
328
+ <string>invalid.deprecated</string>
329
+ <key>settings</key>
330
+ <dict>
331
+ <key>background</key>
332
+ <string></string>
333
+ <key>foreground</key>
334
+ <string>#1d1f21</string>
335
+ </dict>
336
+ </dict>
337
+ <dict>
338
+ <key>name</key>
339
+ <string>JSON String</string>
340
+ <key>scope</key>
341
+ <string>meta.structure.dictionary.json string.quoted.double.json</string>
342
+ <key>settings</key>
343
+ <dict>
344
+ <key>foreground</key>
345
+ <string>#1d1f21</string>
346
+ </dict>
347
+ </dict>
348
+ <dict>
349
+ <key>name</key>
350
+ <string>YAML String</string>
351
+ <key>scope</key>
352
+ <string>string.unquoted.yaml</string>
353
+ <key>settings</key>
354
+ <dict>
355
+ <key>foreground</key>
356
+ <string>#1d1f21</string>
357
+ </dict>
358
+ </dict>
359
+
360
+ <dict>
361
+ <key>name</key>
362
+ <string>diff.header</string>
363
+ <key>scope</key>
364
+ <string>meta.diff, meta.diff.header</string>
365
+ <key>settings</key>
366
+ <dict>
367
+ <key>foreground</key>
368
+ <string>#1d1f21</string>
369
+ </dict>
370
+ </dict>
371
+ <dict>
372
+ <key>name</key>
373
+ <string>diff.deleted</string>
374
+ <key>scope</key>
375
+ <string>markup.deleted</string>
376
+ <key>settings</key>
377
+ <dict>
378
+ <key>foreground</key>
379
+ <string>#1d1f21</string>
380
+ </dict>
381
+ </dict>
382
+ <dict>
383
+ <key>name</key>
384
+ <string>diff.inserted</string>
385
+ <key>scope</key>
386
+ <string>markup.inserted</string>
387
+ <key>settings</key>
388
+ <dict>
389
+ <key>foreground</key>
390
+ <string>#1d1f21</string>
391
+ </dict>
392
+ </dict>
393
+ <dict>
394
+ <key>name</key>
395
+ <string>diff.changed</string>
396
+ <key>scope</key>
397
+ <string>markup.changed</string>
398
+ <key>settings</key>
399
+ <dict>
400
+ <key>foreground</key>
401
+ <string>#1d1f21</string>
402
+ </dict>
403
+ </dict>
404
+
405
+ <dict>
406
+ <key>scope</key>
407
+ <string>constant.numeric.line-number.find-in-files - match</string>
408
+ <key>settings</key>
409
+ <dict>
410
+ <key>foreground</key>
411
+ <string>#1d1f21</string>
412
+ </dict>
413
+ </dict>
414
+ <dict>
415
+ <key>scope</key>
416
+ <string>entity.name.filename</string>
417
+ <key>settings</key>
418
+ <dict>
419
+ <key>foreground</key>
420
+ <string>#1d1f21</string>
421
+ </dict>
422
+ </dict>
423
+
424
+ <dict>
425
+ <key>scope</key>
426
+ <string>message.error</string>
427
+ <key>settings</key>
428
+ <dict>
429
+ <key>foreground</key>
430
+ <string>#1d1f21</string>
431
+ </dict>
432
+ </dict>
433
+
434
+ </array>
435
+ <key>uuid</key>
436
+ <string></string>
437
+ </dict>
438
+ </plist>
@@ -0,0 +1,3 @@
1
+ .DS_Store
2
+ npm-debug.log
3
+ node_modules
@@ -0,0 +1,2 @@
1
+ ## 0.1.0 - First Release
2
+ * Monokai Theme Translated to Atom on 9/6/2017, by DaVinci-Text (https://github.com/mattcheah/davinci)
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2017 <Your name here>
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,5 @@
1
+ # new-theme-syntax theme
2
+
3
+ A short description of your theme.
4
+
5
+ ![A screenshot of your theme](https://f.cloud.github.com/assets/69169/2289498/4c3cb0ec-a009-11e3-8dbd-077ee11741e5.gif)
@@ -0,0 +1 @@
1
+ @import "./styles/base.less";
@@ -0,0 +1,354 @@
1
+ // These colors are specific to the theme. Do not use in a package!
2
+
3
+ @very-light-gray: #c5c8c6;
4
+ @light-gray: #969896;
5
+ @gray: #373b41;
6
+ @dark-gray: #282a2e;
7
+ @very-dark-gray: #1d1f21;
8
+
9
+ @cyan: #8abeb7;
10
+ @blue: #81a2be;
11
+ @purple: #b294bb;
12
+ @green: #b5bd68;
13
+ @red: #cc6666;
14
+ @orange: #FF1111;
15
+ @light-orange: #FF1111;
16
+ @import "colors";
17
+
18
+ // This defines all syntax variables that syntax themes must implement when they
19
+ // include a syntax-variables.less file.
20
+
21
+ // General colors
22
+ @syntax-text-color: #F8F8F2;
23
+ @syntax-cursor-color: #F8F8F2;
24
+ @syntax-selection-color: #F8F8F2;
25
+ @syntax-background-color: #272822;
26
+
27
+ // Guide colors
28
+ @syntax-wrap-guide-color: #F8F8F2;
29
+ @syntax-indent-guide-color: #F8F8F2;
30
+ @syntax-invisible-character-color: #F8F8F2;
31
+
32
+ // For find and replace markers
33
+ @syntax-result-marker-color: #F8F8F2;
34
+ @syntax-result-marker-color-selected: white;
35
+
36
+ // Gutter colors
37
+ @syntax-gutter-text-color: @very-light-gray;
38
+ @syntax-gutter-text-color-selected: @syntax-gutter-text-color;
39
+ @syntax-gutter-background-color: @dark-gray;
40
+ @syntax-gutter-background-color-selected: @gray;
41
+
42
+ // For git diff info. i.e. in the gutter
43
+ @syntax-color-renamed: #F8F8F2;
44
+ @syntax-color-added: #F8F8F2;
45
+ @syntax-color-modified: #F8F8F2;
46
+ @syntax-color-removed: #F8F8F2;
47
+ @import "syntax-variables";
48
+
49
+ atom-text-editor {
50
+ background-color: @syntax-background-color;
51
+ color: @syntax-text-color;
52
+
53
+ .wrap-guide {
54
+ background-color: @syntax-wrap-guide-color;
55
+ }
56
+
57
+ .indent-guide {
58
+ color: @syntax-indent-guide-color;
59
+ }
60
+
61
+ .invisible-character {
62
+ color: @syntax-invisible-character-color;
63
+ }
64
+
65
+ .gutter {
66
+ background-color: @syntax-gutter-background-color;
67
+ color: @syntax-gutter-text-color;
68
+
69
+ .line-number {
70
+ &.cursor-line {
71
+ background-color: @syntax-gutter-background-color-selected;
72
+ color: @syntax-gutter-text-color-selected;
73
+ }
74
+
75
+ &.cursor-line-no-selection {
76
+ color: @syntax-gutter-text-color-selected;
77
+ }
78
+ }
79
+ }
80
+
81
+ .gutter .line-number.folded,
82
+ .gutter .line-number:after,
83
+ .fold-marker:after {
84
+ color: @light-gray;
85
+ }
86
+
87
+ .invisible {
88
+ color: @syntax-text-color;
89
+ }
90
+
91
+ .cursor {
92
+ color: @syntax-cursor-color;
93
+ }
94
+
95
+ .selection .region {
96
+ background-color: @syntax-selection-color;
97
+ }
98
+ }
99
+
100
+
101
+ // Syntax styles
102
+
103
+ .syntax--comment {
104
+ color: #75715E;
105
+ }
106
+
107
+ .syntax--keyword {
108
+ color: #F92672;
109
+
110
+ &.syntax--control {
111
+ color: #F92672;
112
+ }
113
+
114
+ &.syntax--operator {
115
+ color: #F92672;
116
+ }
117
+
118
+ &.syntax--other.syntax--special-method {
119
+ color: #F92672;
120
+ }
121
+
122
+ &.syntax--other.syntax--unit {
123
+ color: #F92672;
124
+ }
125
+ }
126
+
127
+ .syntax--storage {
128
+ color: #F8F8F2;
129
+ }
130
+
131
+ .syntax--constant {
132
+ color: #AE81FF;
133
+
134
+ &.syntax--character.syntax--escape {
135
+ color: #AE81FF;
136
+ }
137
+
138
+ &.syntax--numeric {
139
+ color: #AE81FF;
140
+ }
141
+
142
+ &.syntax--other.syntax--color {
143
+ color: #AE81FF;
144
+ }
145
+
146
+ &.syntax--other.syntax--symbol {
147
+ color: #AE81FF;
148
+ }
149
+ }
150
+
151
+ .syntax--variable {
152
+ color: @syntax-text-color;
153
+
154
+ &.syntax--interpolation {
155
+ color: darken(@syntax-text-color, 10%);
156
+ }
157
+
158
+ &.syntax--parameter.syntax--function {
159
+ color: #FD971F;
160
+ }
161
+ }
162
+
163
+ .syntax--invalid.syntax--illegal {
164
+ background-color: ;
165
+ color: #F8F8F2;
166
+ }
167
+
168
+ .syntax--string {
169
+ color: #E6DB74;
170
+
171
+
172
+ &.syntax--regexp {
173
+ color: #E6DB74;
174
+
175
+ .syntax--source.syntax--ruby.syntax--embedded {
176
+ color: #E6DB74;
177
+ }
178
+ }
179
+
180
+ &.syntax--other.syntax--link {
181
+ color: #E6DB74;
182
+ }
183
+ }
184
+
185
+ .syntax--punctuation {
186
+ &.syntax--definition {
187
+ &.syntax--comment {
188
+ color: #75715E;
189
+ }
190
+
191
+ &.syntax--string,
192
+ &.syntax--array {
193
+ color: #E6DB74;
194
+ }
195
+
196
+ &.syntax--variable,
197
+ &.syntax--parameters {
198
+ color: @syntax-text-color;
199
+ }
200
+
201
+ &.syntax--heading,
202
+ &.syntax--identity {
203
+ color: @syntax-text-color;
204
+ }
205
+
206
+ &.syntax--bold {
207
+ color: @syntax-text-color;
208
+ font-weight: bold;
209
+ }
210
+
211
+ &.syntax--italic {
212
+ color: @syntax-text-color;
213
+ font-style: italic;
214
+ }
215
+ }
216
+
217
+ &.syntax--section.syntax--embedded {
218
+ color: darken(#E6DB74, 10%);
219
+ }
220
+
221
+ }
222
+
223
+ .syntax--support {
224
+ &.syntax--class {
225
+ color: #F8F8F2;
226
+ }
227
+
228
+ &.syntax--function {
229
+ color: #F8F8F2;
230
+
231
+ &.syntax--any-method {
232
+ color: #F8F8F2;
233
+ }
234
+ }
235
+ }
236
+
237
+ .syntax--entity {
238
+ &.syntax--name.syntax--function {
239
+ color: #A6E22E;
240
+ }
241
+ &.syntax--name.syntax--type {
242
+ color: #F8F8F2;
243
+ // color: #A6E22E;
244
+ text-decoration: underline;
245
+ }
246
+
247
+ &.syntax--other.syntax--inherited-class {
248
+ // color: #A6E22E;
249
+ color: #F8F8F2;
250
+ }
251
+ &.syntax--name.syntax--class, &.syntax--name.syntax--type.syntax--class {
252
+ // color: #F8F8F2;
253
+ color: #A6E22E;
254
+ }
255
+
256
+ &.syntax--name.syntax--section {
257
+ color: #A6E22E;
258
+ }
259
+
260
+ &.syntax--name.syntax--tag {
261
+ color: #F92672;
262
+ text-decoration: underline;
263
+ }
264
+
265
+ &.syntax--other.syntax--attribute-name {
266
+ color: #A6E22E;
267
+
268
+ &.syntax--id {
269
+ color: #A6E22E;
270
+ }
271
+ }
272
+ }
273
+
274
+ .syntax--meta {
275
+ &.syntax--class {
276
+ color: @light-orange;
277
+ }
278
+
279
+ &.syntax--link {
280
+ color: @orange;
281
+ }
282
+
283
+ &.syntax--require {
284
+ color: #F8F8F2;
285
+ }
286
+
287
+ &.syntax--selector {
288
+ color: @purple;
289
+ }
290
+
291
+ &.syntax--separator {
292
+ background-color: @gray;
293
+ color: @syntax-text-color;
294
+ }
295
+ }
296
+
297
+ .syntax--none {
298
+ color: @syntax-text-color;
299
+ }
300
+
301
+ .syntax--markup {
302
+ &.syntax--bold {
303
+ color: @orange;
304
+ font-weight: bold;
305
+ }
306
+
307
+ &.syntax--changed {
308
+ color: @purple;
309
+ }
310
+
311
+ &.syntax--deleted {
312
+ color: @red;
313
+ }
314
+
315
+ &.syntax--italic {
316
+ color: @purple;
317
+ font-style: italic;
318
+ }
319
+
320
+ &.syntax--heading .syntax--punctuation.syntax--definition.syntax--heading {
321
+ color: @blue;
322
+ }
323
+
324
+ &.syntax--inserted {
325
+ color: @green;
326
+ }
327
+
328
+ &.syntax--list {
329
+ color: @red;
330
+ }
331
+
332
+ &.syntax--quote {
333
+ color: @orange;
334
+ }
335
+
336
+ &.syntax--raw.syntax--inline {
337
+ color: @green;
338
+ }
339
+ }
340
+
341
+ .syntax--source.syntax--gfm .syntax--markup {
342
+ -webkit-font-smoothing: auto;
343
+ &.syntax--heading {
344
+ color: @green;
345
+ }
346
+ }
347
+
348
+
349
+ // Mini editor
350
+
351
+ atom-text-editor[mini] .scroll-view {
352
+ padding-left: 1px;
353
+ }
354
+ @import "./styles/base.less";
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "Monokai-syntax",
3
+ "theme": "syntax",
4
+ "version": "0.0.0",
5
+ "description": "A short description of your syntax theme",
6
+ "keywords": [
7
+ "syntax",
8
+ "theme"
9
+ ],
10
+ "repository": "",
11
+ "license": "MIT",
12
+ "engines": {
13
+ "atom": ">=1.0.0 <2.0.0"
14
+ }
15
+ }
@@ -0,0 +1,307 @@
1
+ @import "syntax-variables";
2
+
3
+ atom-text-editor {
4
+ background-color: @syntax-background-color;
5
+ color: @syntax-text-color;
6
+
7
+ .wrap-guide {
8
+ background-color: @syntax-wrap-guide-color;
9
+ }
10
+
11
+ .indent-guide {
12
+ color: @syntax-indent-guide-color;
13
+ }
14
+
15
+ .invisible-character {
16
+ color: @syntax-invisible-character-color;
17
+ }
18
+
19
+ .gutter {
20
+ background-color: @syntax-gutter-background-color;
21
+ color: @syntax-gutter-text-color;
22
+
23
+ .line-number {
24
+ &.cursor-line {
25
+ background-color: @syntax-gutter-background-color-selected;
26
+ color: @syntax-gutter-text-color-selected;
27
+ }
28
+
29
+ &.cursor-line-no-selection {
30
+ color: @syntax-gutter-text-color-selected;
31
+ }
32
+ }
33
+ }
34
+
35
+ .gutter .line-number.folded,
36
+ .gutter .line-number:after,
37
+ .fold-marker:after {
38
+ color: @light-gray;
39
+ }
40
+
41
+ .invisible {
42
+ color: @syntax-text-color;
43
+ }
44
+
45
+ .cursor {
46
+ color: @syntax-cursor-color;
47
+ }
48
+
49
+ .selection .region {
50
+ background-color: @syntax-selection-color;
51
+ }
52
+ }
53
+
54
+
55
+ // Syntax styles
56
+
57
+ .syntax--comment {
58
+ color: #75715E;
59
+ }
60
+
61
+ .syntax--keyword {
62
+ color: #F92672;
63
+
64
+ &.syntax--control {
65
+ color: #F92672;
66
+ }
67
+
68
+ &.syntax--operator {
69
+ color: #F92672;
70
+ }
71
+
72
+ &.syntax--other.syntax--special-method {
73
+ color: #F92672;
74
+ }
75
+
76
+ &.syntax--other.syntax--unit {
77
+ color: #F92672;
78
+ }
79
+ }
80
+
81
+ .syntax--storage {
82
+ color: #F8F8F2;
83
+ }
84
+
85
+ .syntax--constant {
86
+ color: #AE81FF;
87
+
88
+ &.syntax--character.syntax--escape {
89
+ color: #AE81FF;
90
+ }
91
+
92
+ &.syntax--numeric {
93
+ color: #AE81FF;
94
+ }
95
+
96
+ &.syntax--other.syntax--color {
97
+ color: #AE81FF;
98
+ }
99
+
100
+ &.syntax--other.syntax--symbol {
101
+ color: #AE81FF;
102
+ }
103
+ }
104
+
105
+ .syntax--variable {
106
+ color: @syntax-text-color;
107
+
108
+ &.syntax--interpolation {
109
+ color: darken(@syntax-text-color, 10%);
110
+ }
111
+
112
+ &.syntax--parameter.syntax--function {
113
+ color: #FD971F;
114
+ }
115
+ }
116
+
117
+ .syntax--invalid.syntax--illegal {
118
+ background-color: ;
119
+ color: #F8F8F2;
120
+ }
121
+
122
+ .syntax--string {
123
+ color: #E6DB74;
124
+
125
+
126
+ &.syntax--regexp {
127
+ color: #E6DB74;
128
+
129
+ .syntax--source.syntax--ruby.syntax--embedded {
130
+ color: #E6DB74;
131
+ }
132
+ }
133
+
134
+ &.syntax--other.syntax--link {
135
+ color: #E6DB74;
136
+ }
137
+ }
138
+
139
+ .syntax--punctuation {
140
+ &.syntax--definition {
141
+ &.syntax--comment {
142
+ color: #75715E;
143
+ }
144
+
145
+ &.syntax--string,
146
+ &.syntax--array {
147
+ color: #E6DB74;
148
+ }
149
+
150
+ &.syntax--variable,
151
+ &.syntax--parameters {
152
+ color: @syntax-text-color;
153
+ }
154
+
155
+ &.syntax--heading,
156
+ &.syntax--identity {
157
+ color: @syntax-text-color;
158
+ }
159
+
160
+ &.syntax--bold {
161
+ color: @syntax-text-color;
162
+ font-weight: bold;
163
+ }
164
+
165
+ &.syntax--italic {
166
+ color: @syntax-text-color;
167
+ font-style: italic;
168
+ }
169
+ }
170
+
171
+ &.syntax--section.syntax--embedded {
172
+ color: darken(#E6DB74, 10%);
173
+ }
174
+
175
+ }
176
+
177
+ .syntax--support {
178
+ &.syntax--class {
179
+ color: #F8F8F2;
180
+ }
181
+
182
+ &.syntax--function {
183
+ color: #F8F8F2;
184
+
185
+ &.syntax--any-method {
186
+ color: #F8F8F2;
187
+ }
188
+ }
189
+ }
190
+
191
+ .syntax--entity {
192
+ &.syntax--name.syntax--function {
193
+ color: #A6E22E;
194
+ }
195
+ &.syntax--name.syntax--type {
196
+ color: #F8F8F2;
197
+ // color: #A6E22E;
198
+ text-decoration: underline;
199
+ }
200
+
201
+ &.syntax--other.syntax--inherited-class {
202
+ // color: #A6E22E;
203
+ color: #F8F8F2;
204
+ }
205
+ &.syntax--name.syntax--class, &.syntax--name.syntax--type.syntax--class {
206
+ // color: #F8F8F2;
207
+ color: #A6E22E;
208
+ }
209
+
210
+ &.syntax--name.syntax--section {
211
+ color: #A6E22E;
212
+ }
213
+
214
+ &.syntax--name.syntax--tag {
215
+ color: #F92672;
216
+ text-decoration: underline;
217
+ }
218
+
219
+ &.syntax--other.syntax--attribute-name {
220
+ color: #A6E22E;
221
+
222
+ &.syntax--id {
223
+ color: #A6E22E;
224
+ }
225
+ }
226
+ }
227
+
228
+ .syntax--meta {
229
+ &.syntax--class {
230
+ color: @light-orange;
231
+ }
232
+
233
+ &.syntax--link {
234
+ color: @orange;
235
+ }
236
+
237
+ &.syntax--require {
238
+ color: #F8F8F2;
239
+ }
240
+
241
+ &.syntax--selector {
242
+ color: @purple;
243
+ }
244
+
245
+ &.syntax--separator {
246
+ background-color: @gray;
247
+ color: @syntax-text-color;
248
+ }
249
+ }
250
+
251
+ .syntax--none {
252
+ color: @syntax-text-color;
253
+ }
254
+
255
+ .syntax--markup {
256
+ &.syntax--bold {
257
+ color: @orange;
258
+ font-weight: bold;
259
+ }
260
+
261
+ &.syntax--changed {
262
+ color: @purple;
263
+ }
264
+
265
+ &.syntax--deleted {
266
+ color: @red;
267
+ }
268
+
269
+ &.syntax--italic {
270
+ color: @purple;
271
+ font-style: italic;
272
+ }
273
+
274
+ &.syntax--heading .syntax--punctuation.syntax--definition.syntax--heading {
275
+ color: @blue;
276
+ }
277
+
278
+ &.syntax--inserted {
279
+ color: @green;
280
+ }
281
+
282
+ &.syntax--list {
283
+ color: @red;
284
+ }
285
+
286
+ &.syntax--quote {
287
+ color: @orange;
288
+ }
289
+
290
+ &.syntax--raw.syntax--inline {
291
+ color: @green;
292
+ }
293
+ }
294
+
295
+ .syntax--source.syntax--gfm .syntax--markup {
296
+ -webkit-font-smoothing: auto;
297
+ &.syntax--heading {
298
+ color: @green;
299
+ }
300
+ }
301
+
302
+
303
+ // Mini editor
304
+
305
+ atom-text-editor[mini] .scroll-view {
306
+ padding-left: 1px;
307
+ }
@@ -0,0 +1,15 @@
1
+ // These colors are specific to the theme. Do not use in a package!
2
+
3
+ @very-light-gray: #c5c8c6;
4
+ @light-gray: #969896;
5
+ @gray: #373b41;
6
+ @dark-gray: #282a2e;
7
+ @very-dark-gray: #1d1f21;
8
+
9
+ @cyan: #8abeb7;
10
+ @blue: #81a2be;
11
+ @purple: #b294bb;
12
+ @green: #b5bd68;
13
+ @red: #cc6666;
14
+ @orange: #FF1111;
15
+ @light-orange: #FF1111;
@@ -0,0 +1,31 @@
1
+ @import "colors";
2
+
3
+ // This defines all syntax variables that syntax themes must implement when they
4
+ // include a syntax-variables.less file.
5
+
6
+ // General colors
7
+ @syntax-text-color: #F8F8F2;
8
+ @syntax-cursor-color: #F8F8F2;
9
+ @syntax-selection-color: #F8F8F2;
10
+ @syntax-background-color: #272822;
11
+
12
+ // Guide colors
13
+ @syntax-wrap-guide-color: #F8F8F2;
14
+ @syntax-indent-guide-color: #F8F8F2;
15
+ @syntax-invisible-character-color: #F8F8F2;
16
+
17
+ // For find and replace markers
18
+ @syntax-result-marker-color: #F8F8F2;
19
+ @syntax-result-marker-color-selected: white;
20
+
21
+ // Gutter colors
22
+ @syntax-gutter-text-color: @very-light-gray;
23
+ @syntax-gutter-text-color-selected: @syntax-gutter-text-color;
24
+ @syntax-gutter-background-color: @dark-gray;
25
+ @syntax-gutter-background-color-selected: @gray;
26
+
27
+ // For git diff info. i.e. in the gutter
28
+ @syntax-color-renamed: #F8F8F2;
29
+ @syntax-color-added: #F8F8F2;
30
+ @syntax-color-modified: #F8F8F2;
31
+ @syntax-color-removed: #F8F8F2;
@@ -1,3 +1,3 @@
1
1
  module Davinci
2
- VERSION = "1.0.0.2"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: davinci-text
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.2
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Cheah
@@ -139,6 +139,7 @@ files:
139
139
  - example_files/atom/atom-dark-syntax/LICENSE.md
140
140
  - example_files/atom/atom-dark-syntax/PULL_REQUEST_TEMPLATE.md
141
141
  - example_files/atom/atom-dark-syntax/README.md
142
+ - example_files/atom/atom-dark-syntax/atom-dark-syntax/atom-dark-syntax.tmTheme
142
143
  - example_files/atom/atom-dark-syntax/index.less
143
144
  - example_files/atom/atom-dark-syntax/output.less
144
145
  - example_files/atom/atom-dark-syntax/package.json
@@ -167,6 +168,16 @@ files:
167
168
  - example_files/atom/loved-syntax/styles/syntax/json.less
168
169
  - example_files/atom/loved-syntax/styles/syntax/python.less
169
170
  - example_files/atom/loved-syntax/styles/syntax/ruby.less
171
+ - example_files/sublime/Monokai/.gitignore
172
+ - example_files/sublime/Monokai/CHANGELOG.MD
173
+ - example_files/sublime/Monokai/LICENSE.md
174
+ - example_files/sublime/Monokai/README.md
175
+ - example_files/sublime/Monokai/index.less
176
+ - example_files/sublime/Monokai/output.less
177
+ - example_files/sublime/Monokai/package.json
178
+ - example_files/sublime/Monokai/styles/base.less
179
+ - example_files/sublime/Monokai/styles/colors.less
180
+ - example_files/sublime/Monokai/styles/syntax-variables.less
170
181
  - example_files/sublime/material.tmTheme
171
182
  - example_files/sublime/monokai.tmTheme
172
183
  - lib/.byebug_history