Skip to content

Commit d516c31

Browse files
committed
[themes] colorize scss and less varibales in vs themes
1 parent ffdaa22 commit d516c31

8 files changed

Lines changed: 609 additions & 602 deletions

File tree

extensions/less/test/colorize-results/14119_less.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@
3636
"c": "@hm",
3737
"t": "source.css.less variable.other.less",
3838
"r": {
39-
"dark_plus": "variable: #9CDCFE",
40-
"light_plus": "variable: #001080",
41-
"dark_vs": "default: #D4D4D4",
42-
"light_vs": "default: #000000",
43-
"hc_black": "default: #FFFFFF"
39+
"dark_plus": "variable.other.less: #9CDCFE",
40+
"light_plus": "variable.other.less: #FF0000",
41+
"dark_vs": "variable.other.less: #9CDCFE",
42+
"light_vs": "variable.other.less: #FF0000",
43+
"hc_black": "variable.other.less: #D4D4D4"
4444
}
4545
},
4646
{

extensions/less/test/colorize-results/test-cssvariables_less.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@
5858
"c": "--spacing-unit",
5959
"t": "source.css.less meta.property-list.css variable.other.less",
6060
"r": {
61-
"dark_plus": "variable: #9CDCFE",
62-
"light_plus": "variable: #001080",
63-
"dark_vs": "default: #D4D4D4",
64-
"light_vs": "default: #000000",
65-
"hc_black": "default: #FFFFFF"
61+
"dark_plus": "variable.other.less: #9CDCFE",
62+
"light_plus": "variable.other.less: #FF0000",
63+
"dark_vs": "variable.other.less: #9CDCFE",
64+
"light_vs": "variable.other.less: #FF0000",
65+
"hc_black": "variable.other.less: #D4D4D4"
6666
}
6767
},
6868
{
@@ -135,11 +135,11 @@
135135
"c": "--cell-padding",
136136
"t": "source.css.less meta.property-list.css variable.other.less",
137137
"r": {
138-
"dark_plus": "variable: #9CDCFE",
139-
"light_plus": "variable: #001080",
140-
"dark_vs": "default: #D4D4D4",
141-
"light_vs": "default: #000000",
142-
"hc_black": "default: #FFFFFF"
138+
"dark_plus": "variable.other.less: #9CDCFE",
139+
"light_plus": "variable.other.less: #FF0000",
140+
"dark_vs": "variable.other.less: #9CDCFE",
141+
"light_vs": "variable.other.less: #FF0000",
142+
"hc_black": "variable.other.less: #D4D4D4"
143143
}
144144
},
145145
{
@@ -245,11 +245,11 @@
245245
"c": "--spacing-unit",
246246
"t": "source.css.less meta.property-list.css meta.property-value.css variable.other.less",
247247
"r": {
248-
"dark_plus": "variable: #9CDCFE",
249-
"light_plus": "variable: #001080",
250-
"dark_vs": "default: #D4D4D4",
251-
"light_vs": "default: #000000",
252-
"hc_black": "default: #FFFFFF"
248+
"dark_plus": "variable.other.less: #9CDCFE",
249+
"light_plus": "variable.other.less: #FF0000",
250+
"dark_vs": "variable.other.less: #9CDCFE",
251+
"light_vs": "variable.other.less: #FF0000",
252+
"hc_black": "variable.other.less: #D4D4D4"
253253
}
254254
},
255255
{
@@ -454,11 +454,11 @@
454454
"c": "--spacing-unit",
455455
"t": "source.css.less meta.property-list.css meta.property-value.css variable.other.less",
456456
"r": {
457-
"dark_plus": "variable: #9CDCFE",
458-
"light_plus": "variable: #001080",
459-
"dark_vs": "default: #D4D4D4",
460-
"light_vs": "default: #000000",
461-
"hc_black": "default: #FFFFFF"
457+
"dark_plus": "variable.other.less: #9CDCFE",
458+
"light_plus": "variable.other.less: #FF0000",
459+
"dark_vs": "variable.other.less: #9CDCFE",
460+
"light_vs": "variable.other.less: #FF0000",
461+
"hc_black": "variable.other.less: #D4D4D4"
462462
}
463463
},
464464
{

0 commit comments

Comments
 (0)