Created
July 12, 2021 15:30
-
-
Save AlexZeitler/f7b6f198d5532d0ba39200470a2081fc to your computer and use it in GitHub Desktop.
VSCode italics in (almost) any theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// All you need to do is add a font that has pretty good itlaics support i.e Fira, Operator, etc. and then add these two params to your existing User settings. | |
{ | |
"editor.fontFamily": "'Operator Mono', Menlo, Monaco, 'Courier New', monospace", | |
"editor.tokenColorCustomizations": { | |
"textMateRules": [ | |
{ | |
"scope": [ | |
"comment", | |
"keyword.control", | |
"keyword.operator.new", | |
"keyword.operator.assignment", | |
"keyword.operator.arithmetic", | |
"storage.modifier", | |
"storage.type", | |
"support.class", | |
"support.constant", | |
"support.other", | |
"entity.name.method", | |
"entity.name.section", | |
"entity.name.selector", | |
"entity.name.type", | |
"entity.other", | |
"entity.other.attribute-name", | |
"entity.other.inherited-class" | |
], | |
"settings": { | |
"fontStyle": "italic" | |
} | |
}, | |
{ | |
"scope": ["storage.type.function.arrow", "meta.paragraph.markdown"], | |
"settings": { | |
"fontStyle": "" | |
} | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment