Skip to content

Instantly share code, notes, and snippets.

@scrthq
Created November 6, 2019 17:15
Show Gist options
  • Save scrthq/e28e222af7624d38d2ecec609b1125e1 to your computer and use it in GitHub Desktop.
Save scrthq/e28e222af7624d38d2ecec609b1125e1 to your computer and use it in GitHub Desktop.
VSCode PowerShell Token Colors per Theme
{
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"name": "Italics",
"scope": [
"comment",
"punctuation.definition.comment",
"keyword",
"storage",
"entity.other.attribute-name",
"entity.name.method.js",
"variable.language",
"keyword.control",
"text.html.basic entity.other.attribute-name.html",
"text.html.basic entity.other.attribute-name",
"tag.decorator.js entity.name.tag.js",
"tag.decorator.js punctuation.definition.tag.js",
"source.js constant.other.object.key.js string.unquoted.label.js",
"markup.italic",
"markup.quote",
"keyword.operator.comparison",
"support.function",
"entity.name.function"
],
"settings": {
"fontStyle": "italic"
}
},
{
"name": "InvalidIllegal",
"scope": [
"invalid.illegal"
],
"settings": {
"foreground": "#91d8ff"
}
},
{
"name": "PowerShellConstants",
"scope": [
"support.constant.automatic",
"support.variable.automatic"
],
"settings": {
"foreground": "#d19a66"
}
},
{
"name": "PowerShellPunctuation",
"scope": [
"punctuation.definition.variable"
],
"settings": {
"fontStyle": "italic",
"foreground": "#c678dd"
}
},
{
"name": "PowerShellPunctuation",
"scope": [
"punctuation.definition.variable",
"meta.group.array-expression"
],
"settings": {
"foreground": "#c678dd"
}
},
{
"name": "PowerShellMembers",
"scope": [
"variable.other.member"
],
"settings": {
"foreground": "#61afef"
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment