Skip to content

Commit f1d7f7f

Browse files
committed
Add new semantic token scopes to Dark+ and Light+ themes?. Fixes microsoft#97177
1 parent e687078 commit f1d7f7f

4 files changed

Lines changed: 28 additions & 8 deletions

File tree

extensions/theme-defaults/themes/dark_plus.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,5 +190,11 @@
190190
"foreground": "#C8C8C8"
191191
}
192192
}
193-
]
193+
],
194+
"semanticTokenColors": {
195+
"newOperator":"#C586C0",
196+
"stringLiteral":"#ce9178",
197+
"customLiteral": "#DCDCAA",
198+
"numberLiteral": "#b5cea8",
199+
}
194200
}

extensions/theme-defaults/themes/dark_vs.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
{
4646
"scope": [
4747
"constant.numeric",
48-
"entity.name.operator.custom-literal.number",
4948
"variable.other.enummember",
5049
"keyword.operator.plus.exponent",
5150
"keyword.operator.minus.exponent"
@@ -226,7 +225,6 @@
226225
{
227226
"scope": [
228227
"string",
229-
"entity.name.operator.custom-literal.string",
230228
"meta.embedded.assembly"
231229
],
232230
"settings": {
@@ -364,5 +362,11 @@
364362
"foreground": "#569cd6"
365363
}
366364
}
367-
]
365+
],
366+
"semanticTokenColors": {
367+
"newOperator": "#d4d4d4",
368+
"stringLiteral": "#ce9178",
369+
"customLiteral": "#D4D4D4",
370+
"numberLiteral": "#b5cea8",
371+
}
368372
}

extensions/theme-defaults/themes/light_plus.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,5 +190,11 @@
190190
"foreground": "#000000"
191191
}
192192
}
193-
]
193+
],
194+
"semanticTokenColors": {
195+
"newOperator": "#AF00DB",
196+
"stringLiteral": "#a31515",
197+
"customLiteral": "#795E26",
198+
"numberLiteral": "#098658",
199+
}
194200
}

extensions/theme-defaults/themes/light_vs.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
{
4646
"scope": [
4747
"constant.numeric",
48-
"entity.name.operator.custom-literal.number",
4948
"variable.other.enummember",
5049
"keyword.operator.plus.exponent",
5150
"keyword.operator.minus.exponent"
@@ -218,7 +217,6 @@
218217
{
219218
"scope": [
220219
"string",
221-
"entity.name.operator.custom-literal.string",
222220
"meta.embedded.assembly"
223221
],
224222
"settings": {
@@ -388,5 +386,11 @@
388386
"foreground": "#0000ff"
389387
}
390388
}
391-
]
389+
],
390+
"semanticTokenColors": {
391+
"newOperator": "#0000ff",
392+
"stringLiteral": "#a31515",
393+
"customLiteral": "#000000",
394+
"numberLiteral": "#098658",
395+
}
392396
}

0 commit comments

Comments
 (0)