|
1 | 1 | @import "syntax-variables";
|
2 | 2 |
|
3 | 3 | .atom-text-editor, // <- remove when Shadow DOM can't be disabled
|
4 |
| -:host { |
| 4 | +atom-text-editor { |
5 | 5 | background-color: @syntax-background-color;
|
6 | 6 | color: @syntax-text-color;
|
7 | 7 |
|
|
52 | 52 | }
|
53 | 53 | }
|
54 | 54 |
|
55 |
| -.atom-text-editor .search-results .marker .region { |
| 55 | +.atom-text-editor .search-results .syntax--marker .region { |
56 | 56 | background-color: transparent;
|
57 | 57 | border: 1px solid @syntax-result-marker-color;
|
58 | 58 | }
|
59 | 59 |
|
60 |
| -.atom-text-editor .search-results .marker.current-result .region { |
| 60 | +.atom-text-editor .search-results .syntax--marker.current-result .region { |
61 | 61 | border: 1px solid @syntax-result-marker-color-selected;
|
62 | 62 | }
|
63 | 63 |
|
64 |
| -.comment { |
| 64 | +.syntax--comment { |
65 | 65 | color: @comment;
|
66 | 66 | }
|
67 | 67 |
|
68 |
| -.keyword { |
| 68 | +.syntax--keyword { |
69 | 69 | color: @keyword;
|
70 | 70 |
|
71 |
| - &.control { |
| 71 | + &.syntax--control { |
72 | 72 | color: @keyword;
|
73 | 73 | }
|
74 | 74 |
|
75 |
| - &.operator { |
| 75 | + &.syntax--operator { |
76 | 76 | color: @operator;
|
77 | 77 | }
|
78 | 78 |
|
79 |
| - &.other.special-method { |
| 79 | + &.syntax--other.syntax--special-method { |
80 | 80 | color: @blue;
|
81 | 81 | }
|
82 | 82 |
|
83 |
| - &.other.unit { |
| 83 | + &.syntax--other.syntax--unit { |
84 | 84 | color: @orange;
|
85 | 85 | }
|
86 | 86 | }
|
87 | 87 |
|
88 |
| -.storage { |
| 88 | +.syntax--syntax--storage { |
89 | 89 | color: @storage;
|
90 | 90 |
|
91 |
| - &.type { |
| 91 | + &.syntax--type { |
92 | 92 | color: @type;
|
93 | 93 | }
|
94 | 94 | }
|
95 | 95 |
|
96 |
| -.constant { |
| 96 | +.syntax--constant { |
97 | 97 | color: @constant;
|
98 | 98 |
|
99 |
| - &.character.escape { |
| 99 | + &.syntax--character.syntax--escape { |
100 | 100 | color: lighten(@string, 20%);
|
101 | 101 | }
|
102 | 102 |
|
103 |
| - &.other.placeholder { |
| 103 | + &.syntax--other.syntax--placeholder { |
104 | 104 | color: @string;
|
105 | 105 | }
|
106 | 106 |
|
107 |
| - &.numeric { |
| 107 | + &.syntax--numeric { |
108 | 108 | color: @number;
|
109 | 109 | }
|
110 | 110 |
|
111 |
| - &.other.color { |
| 111 | + &.syntax--other.syntax--color { |
112 | 112 | color: @cyan;
|
113 | 113 | }
|
114 | 114 |
|
115 |
| - &.other.symbol { |
| 115 | + &.syntax--other.syntax--symbol { |
116 | 116 | color: @green;
|
117 | 117 | }
|
118 | 118 |
|
119 |
| - &.language { |
| 119 | + &.syntax--language { |
120 | 120 | color: @keyword;
|
121 | 121 | }
|
122 | 122 | }
|
123 | 123 |
|
124 |
| -.variable { |
| 124 | +.syntax--variable { |
125 | 125 | color: @variable;
|
126 | 126 |
|
127 |
| - &.interpolation { |
| 127 | + &.syntax--interpolation { |
128 | 128 | color: darken(@variable, 10%);
|
129 | 129 | }
|
130 | 130 |
|
131 |
| - &.parameter.function { |
| 131 | + &.syntax--parameter.syntax--function { |
132 | 132 | color: @syntax-text-color;
|
133 | 133 | }
|
134 | 134 |
|
135 |
| - &.other.dot-access { |
| 135 | + &.syntax--other.syntax--dot-access { |
136 | 136 | color: @text;
|
137 | 137 | }
|
138 | 138 | }
|
139 | 139 |
|
140 |
| -.invalid.illegal { |
| 140 | +.syntax--invalid.syntax--illegal { |
141 | 141 | background-color: @red;
|
142 | 142 | color: @syntax-background-color;
|
143 | 143 | }
|
144 | 144 |
|
145 |
| -.string { |
| 145 | +.syntax--string { |
146 | 146 | color: @string;
|
147 | 147 |
|
148 | 148 |
|
149 |
| - &.regexp { |
| 149 | + &.syntax--regexp { |
150 | 150 | color: @cyan;
|
151 | 151 |
|
152 |
| - .source.ruby.embedded { |
| 152 | + .syntax--source.syntax--ruby.syntax--embedded { |
153 | 153 | color: @orange;
|
154 | 154 | }
|
155 | 155 | }
|
156 | 156 |
|
157 |
| - &.other.link { |
| 157 | + &.syntax--other.syntax--link { |
158 | 158 | color: @red;
|
159 | 159 | }
|
160 | 160 | }
|
161 | 161 |
|
162 |
| -.punctuation { |
163 |
| - &.definition { |
164 |
| - &.comment { |
| 162 | +.syntax--punctuation { |
| 163 | + &.syntax--definition { |
| 164 | + &.syntax--comment { |
165 | 165 | color: @comment;
|
166 | 166 | }
|
167 | 167 |
|
168 |
| - &.string { |
| 168 | + &.syntax--string { |
169 | 169 | color: @string;
|
170 | 170 | }
|
171 | 171 |
|
172 |
| - &.variable { |
| 172 | + &.syntax--variable { |
173 | 173 | color: @variable;
|
174 | 174 | }
|
175 | 175 |
|
176 |
| - &.parameters, |
177 |
| - &.array { |
| 176 | + &.syntax--parameters, |
| 177 | + &.syntax--array { |
178 | 178 | color: @syntax-text-color;
|
179 | 179 | }
|
180 | 180 |
|
181 |
| - &.heading, |
182 |
| - &.identity { |
| 181 | + &.syntax--heading, |
| 182 | + &.syntax--identity { |
183 | 183 | color: @blue;
|
184 | 184 | }
|
185 | 185 |
|
186 |
| - &.bold { |
| 186 | + &.syntax--bold { |
187 | 187 | color: @light-orange;
|
188 | 188 | font-style: bold;
|
189 | 189 | }
|
190 | 190 |
|
191 |
| - &.italic { |
| 191 | + &.syntax--italic { |
192 | 192 | color: @purple;
|
193 | 193 | font-style: italic;
|
194 | 194 | }
|
195 | 195 | }
|
196 | 196 |
|
197 |
| - &.section.embedded { |
| 197 | + &.syntax--section.syntax--embedded { |
198 | 198 | color: @section;
|
199 | 199 | }
|
200 | 200 |
|
201 | 201 | }
|
202 | 202 |
|
203 |
| -.support { |
204 |
| - &.class { |
| 203 | +.syntax--support { |
| 204 | + &.syntax--class { |
205 | 205 | color: @text;
|
206 | 206 | }
|
207 | 207 |
|
208 |
| - &.function { |
| 208 | + &.syntax--function { |
209 | 209 | color: @keyword;
|
210 | 210 |
|
211 |
| - &.any-method { |
| 211 | + &.syntax--any-method { |
212 | 212 | color: @text;
|
213 | 213 | }
|
214 | 214 | }
|
215 | 215 |
|
216 |
| - &.type { |
| 216 | + &.syntax--type { |
217 | 217 | color: @type;
|
218 | 218 | }
|
219 | 219 | }
|
220 | 220 |
|
221 |
| -.entity { |
222 |
| - &.name.function { |
| 221 | +.syntax--entity { |
| 222 | + &.syntax--name.syntax--function { |
223 | 223 | color: @text;
|
224 | 224 | }
|
225 | 225 |
|
226 |
| - &.name.class, &.name.type.class { |
| 226 | + &.syntax--name.syntax--class, &.syntax--name.syntax--type.syntax--class { |
227 | 227 | color: @text;
|
228 | 228 | }
|
229 | 229 |
|
230 |
| - &.name.section { |
| 230 | + &.syntax--name.syntax--section { |
231 | 231 | color: @text;
|
232 | 232 | }
|
233 | 233 |
|
234 |
| - &.name.tag { |
| 234 | + &.syntax--name.syntax--tag { |
235 | 235 | color: @tag;
|
236 | 236 | //text-decoration: underline;
|
237 | 237 | }
|
238 | 238 |
|
239 |
| - &.name.type { |
| 239 | + &.syntax--name.syntax--type { |
240 | 240 | color: @type;
|
241 | 241 | }
|
242 | 242 |
|
243 |
| - &.other.attribute-name { |
| 243 | + &.syntax--other.syntax--attribute-name { |
244 | 244 | color: @attribute;
|
245 | 245 |
|
246 |
| - &.id { |
| 246 | + &.syntax--id { |
247 | 247 | color: @blue;
|
248 | 248 | }
|
249 | 249 | }
|
250 | 250 |
|
251 |
| - &.other.inherited-class { |
| 251 | + &.syntax--other.syntax--inherited-class { |
252 | 252 | color: @green;
|
253 | 253 | }
|
254 | 254 | }
|
255 | 255 |
|
256 |
| -.meta { |
257 |
| - &.class { |
| 256 | +.syntax--meta { |
| 257 | + &.syntax--class { |
258 | 258 | color: @text;
|
259 | 259 | }
|
260 | 260 |
|
261 |
| - &.link { |
| 261 | + &.syntax--link { |
262 | 262 | color: @orange;
|
263 | 263 | }
|
264 | 264 |
|
265 |
| - &.require { |
| 265 | + &.syntax--require { |
266 | 266 | color: @blue;
|
267 | 267 | }
|
268 | 268 |
|
269 |
| - &.selector { |
| 269 | + &.syntax--selector { |
270 | 270 | color: @purple;
|
271 | 271 | }
|
272 | 272 |
|
273 |
| - &.separator { |
| 273 | + &.syntax--separator { |
274 | 274 | background-color: @gray;
|
275 | 275 | color: @syntax-text-color;
|
276 | 276 | }
|
277 | 277 |
|
278 |
| - &.preprocessor { |
| 278 | + &.syntax--preprocessor { |
279 | 279 | color: @preprocessor;
|
280 | 280 | }
|
281 | 281 | }
|
282 | 282 |
|
283 |
| -.none { |
| 283 | +.syntax--none { |
284 | 284 | color: @syntax-text-color;
|
285 | 285 | }
|
286 | 286 |
|
287 |
| -.markup { |
288 |
| - &.bold { |
| 287 | +.syntax--markup { |
| 288 | + &.syntax--bold { |
289 | 289 | color: @orange;
|
290 | 290 | font-style: bold;
|
291 | 291 | }
|
292 | 292 |
|
293 |
| - &.changed { |
| 293 | + &.syntax--changed { |
294 | 294 | color: @purple;
|
295 | 295 | }
|
296 | 296 |
|
297 |
| - &.deleted { |
| 297 | + &.syntax--deleted { |
298 | 298 | color: @red;
|
299 | 299 | }
|
300 | 300 |
|
301 |
| - &.italic { |
| 301 | + &.syntax--italic { |
302 | 302 | color: @purple;
|
303 | 303 | font-style: italic;
|
304 | 304 | }
|
305 | 305 |
|
306 |
| - &.heading .punctuation.definition.heading { |
| 306 | + &.syntax--heading .syntax--punctuation.syntax--definition.syntax--heading { |
307 | 307 | color: @blue;
|
308 | 308 | }
|
309 | 309 |
|
310 |
| - &.inserted { |
| 310 | + &.syntax--inserted { |
311 | 311 | color: @green;
|
312 | 312 | }
|
313 | 313 |
|
314 |
| - &.list { |
| 314 | + &.syntax--list { |
315 | 315 | color: @red;
|
316 | 316 | }
|
317 | 317 |
|
318 |
| - &.quote { |
| 318 | + &.syntax--quote { |
319 | 319 | color: @orange;
|
320 | 320 | }
|
321 | 321 |
|
322 |
| - &.raw.inline { |
| 322 | + &.syntax--raw.syntax--inline { |
323 | 323 | color: @green;
|
324 | 324 | }
|
325 | 325 | }
|
326 | 326 |
|
327 |
| -.source.gfm .markup { |
| 327 | +.syntax--source.syntax--gfm .syntax--markup { |
328 | 328 | -webkit-font-smoothing: auto;
|
329 |
| - &.heading { |
| 329 | + &.syntax--heading { |
330 | 330 | color: @green;
|
331 | 331 | }
|
332 | 332 | }
|
|
0 commit comments