Skip to content

Commit d3cfb50

Browse files
committed
added deprecation cop suggested fixes
1 parent 1969f55 commit d3cfb50

File tree

1 file changed

+73
-73
lines changed

1 file changed

+73
-73
lines changed

styles/base.less

+73-73
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@import "syntax-variables";
22

33
.atom-text-editor, // <- remove when Shadow DOM can't be disabled
4-
:host {
4+
atom-text-editor {
55
background-color: @syntax-background-color;
66
color: @syntax-text-color;
77

@@ -52,281 +52,281 @@
5252
}
5353
}
5454

55-
.atom-text-editor .search-results .marker .region {
55+
.atom-text-editor .search-results .syntax--marker .region {
5656
background-color: transparent;
5757
border: 1px solid @syntax-result-marker-color;
5858
}
5959

60-
.atom-text-editor .search-results .marker.current-result .region {
60+
.atom-text-editor .search-results .syntax--marker.current-result .region {
6161
border: 1px solid @syntax-result-marker-color-selected;
6262
}
6363

64-
.comment {
64+
.syntax--comment {
6565
color: @comment;
6666
}
6767

68-
.keyword {
68+
.syntax--keyword {
6969
color: @keyword;
7070

71-
&.control {
71+
&.syntax--control {
7272
color: @keyword;
7373
}
7474

75-
&.operator {
75+
&.syntax--operator {
7676
color: @operator;
7777
}
7878

79-
&.other.special-method {
79+
&.syntax--other.syntax--special-method {
8080
color: @blue;
8181
}
8282

83-
&.other.unit {
83+
&.syntax--other.syntax--unit {
8484
color: @orange;
8585
}
8686
}
8787

88-
.storage {
88+
.syntax--syntax--storage {
8989
color: @storage;
9090

91-
&.type {
91+
&.syntax--type {
9292
color: @type;
9393
}
9494
}
9595

96-
.constant {
96+
.syntax--constant {
9797
color: @constant;
9898

99-
&.character.escape {
99+
&.syntax--character.syntax--escape {
100100
color: lighten(@string, 20%);
101101
}
102102

103-
&.other.placeholder {
103+
&.syntax--other.syntax--placeholder {
104104
color: @string;
105105
}
106106

107-
&.numeric {
107+
&.syntax--numeric {
108108
color: @number;
109109
}
110110

111-
&.other.color {
111+
&.syntax--other.syntax--color {
112112
color: @cyan;
113113
}
114114

115-
&.other.symbol {
115+
&.syntax--other.syntax--symbol {
116116
color: @green;
117117
}
118118

119-
&.language {
119+
&.syntax--language {
120120
color: @keyword;
121121
}
122122
}
123123

124-
.variable {
124+
.syntax--variable {
125125
color: @variable;
126126

127-
&.interpolation {
127+
&.syntax--interpolation {
128128
color: darken(@variable, 10%);
129129
}
130130

131-
&.parameter.function {
131+
&.syntax--parameter.syntax--function {
132132
color: @syntax-text-color;
133133
}
134134

135-
&.other.dot-access {
135+
&.syntax--other.syntax--dot-access {
136136
color: @text;
137137
}
138138
}
139139

140-
.invalid.illegal {
140+
.syntax--invalid.syntax--illegal {
141141
background-color: @red;
142142
color: @syntax-background-color;
143143
}
144144

145-
.string {
145+
.syntax--string {
146146
color: @string;
147147

148148

149-
&.regexp {
149+
&.syntax--regexp {
150150
color: @cyan;
151151

152-
.source.ruby.embedded {
152+
.syntax--source.syntax--ruby.syntax--embedded {
153153
color: @orange;
154154
}
155155
}
156156

157-
&.other.link {
157+
&.syntax--other.syntax--link {
158158
color: @red;
159159
}
160160
}
161161

162-
.punctuation {
163-
&.definition {
164-
&.comment {
162+
.syntax--punctuation {
163+
&.syntax--definition {
164+
&.syntax--comment {
165165
color: @comment;
166166
}
167167

168-
&.string {
168+
&.syntax--string {
169169
color: @string;
170170
}
171171

172-
&.variable {
172+
&.syntax--variable {
173173
color: @variable;
174174
}
175175

176-
&.parameters,
177-
&.array {
176+
&.syntax--parameters,
177+
&.syntax--array {
178178
color: @syntax-text-color;
179179
}
180180

181-
&.heading,
182-
&.identity {
181+
&.syntax--heading,
182+
&.syntax--identity {
183183
color: @blue;
184184
}
185185

186-
&.bold {
186+
&.syntax--bold {
187187
color: @light-orange;
188188
font-style: bold;
189189
}
190190

191-
&.italic {
191+
&.syntax--italic {
192192
color: @purple;
193193
font-style: italic;
194194
}
195195
}
196196

197-
&.section.embedded {
197+
&.syntax--section.syntax--embedded {
198198
color: @section;
199199
}
200200

201201
}
202202

203-
.support {
204-
&.class {
203+
.syntax--support {
204+
&.syntax--class {
205205
color: @text;
206206
}
207207

208-
&.function {
208+
&.syntax--function {
209209
color: @keyword;
210210

211-
&.any-method {
211+
&.syntax--any-method {
212212
color: @text;
213213
}
214214
}
215215

216-
&.type {
216+
&.syntax--type {
217217
color: @type;
218218
}
219219
}
220220

221-
.entity {
222-
&.name.function {
221+
.syntax--entity {
222+
&.syntax--name.syntax--function {
223223
color: @text;
224224
}
225225

226-
&.name.class, &.name.type.class {
226+
&.syntax--name.syntax--class, &.syntax--name.syntax--type.syntax--class {
227227
color: @text;
228228
}
229229

230-
&.name.section {
230+
&.syntax--name.syntax--section {
231231
color: @text;
232232
}
233233

234-
&.name.tag {
234+
&.syntax--name.syntax--tag {
235235
color: @tag;
236236
//text-decoration: underline;
237237
}
238238

239-
&.name.type {
239+
&.syntax--name.syntax--type {
240240
color: @type;
241241
}
242242

243-
&.other.attribute-name {
243+
&.syntax--other.syntax--attribute-name {
244244
color: @attribute;
245245

246-
&.id {
246+
&.syntax--id {
247247
color: @blue;
248248
}
249249
}
250250

251-
&.other.inherited-class {
251+
&.syntax--other.syntax--inherited-class {
252252
color: @green;
253253
}
254254
}
255255

256-
.meta {
257-
&.class {
256+
.syntax--meta {
257+
&.syntax--class {
258258
color: @text;
259259
}
260260

261-
&.link {
261+
&.syntax--link {
262262
color: @orange;
263263
}
264264

265-
&.require {
265+
&.syntax--require {
266266
color: @blue;
267267
}
268268

269-
&.selector {
269+
&.syntax--selector {
270270
color: @purple;
271271
}
272272

273-
&.separator {
273+
&.syntax--separator {
274274
background-color: @gray;
275275
color: @syntax-text-color;
276276
}
277277

278-
&.preprocessor {
278+
&.syntax--preprocessor {
279279
color: @preprocessor;
280280
}
281281
}
282282

283-
.none {
283+
.syntax--none {
284284
color: @syntax-text-color;
285285
}
286286

287-
.markup {
288-
&.bold {
287+
.syntax--markup {
288+
&.syntax--bold {
289289
color: @orange;
290290
font-style: bold;
291291
}
292292

293-
&.changed {
293+
&.syntax--changed {
294294
color: @purple;
295295
}
296296

297-
&.deleted {
297+
&.syntax--deleted {
298298
color: @red;
299299
}
300300

301-
&.italic {
301+
&.syntax--italic {
302302
color: @purple;
303303
font-style: italic;
304304
}
305305

306-
&.heading .punctuation.definition.heading {
306+
&.syntax--heading .syntax--punctuation.syntax--definition.syntax--heading {
307307
color: @blue;
308308
}
309309

310-
&.inserted {
310+
&.syntax--inserted {
311311
color: @green;
312312
}
313313

314-
&.list {
314+
&.syntax--list {
315315
color: @red;
316316
}
317317

318-
&.quote {
318+
&.syntax--quote {
319319
color: @orange;
320320
}
321321

322-
&.raw.inline {
322+
&.syntax--raw.syntax--inline {
323323
color: @green;
324324
}
325325
}
326326

327-
.source.gfm .markup {
327+
.syntax--source.syntax--gfm .syntax--markup {
328328
-webkit-font-smoothing: auto;
329-
&.heading {
329+
&.syntax--heading {
330330
color: @green;
331331
}
332332
}

0 commit comments

Comments
 (0)