Skip to content

Instantly share code, notes, and snippets.

@banyan
Created February 8, 2020 10:22
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save banyan/55f7e07a52e5ad905ff1203e9a94c32c to your computer and use it in GitHub Desktop.
Save banyan/55f7e07a52e5ad905ff1203e9a94c32c to your computer and use it in GitHub Desktop.
Configure font to look like codesandbox in vscode
{
"editor.fontFamily": "Dank Mono, Menlo, 'Source Code Pro'",
"editor.fontSize": 13,
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"comment",
],
"settings": {
"fontStyle": "italic"
}
},
{
"scope": [
//following will be excluded from italics (VSCode has some defaults for italics)
"constant",
"storage.modifier",
"storage.type",
"keyword.control",
"keyword.operator",
"invalid",
"entity.name.tag.doctype",
"entity.other.attribute-name",
"entity.other.attribute-name.tag.jade",
"entity.other.attribute-name.tag.pug",
],
"settings": {
"fontStyle": ""
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment