panda-syntax-vscode
panda-syntax-vscode copied to clipboard
Add more italic
This theme uses Operator Mono
for demonstration but doesn't support italic font, so please, add more italic.
For example: import, from, JSX propNames, async/await,...
Tagging along on this. The theme should definitely support italics on certain classes to increase legibility.
I think there's a balance of using italic vs normal font styling and I think it's user preference. Perhaps there could be an alternate version of the font that utilizes the italics a bit more.
Anyway, you can do this yourself using the User Settings. To do everything you've listed there, shove this in your settings file:
"editor.tokenColorCustomizations": {
"[Panda Syntax]": {
"textMateRules": [
{
"name": "Panda Italics",
"scope": [
"source.js entity.other.attribute-name",
"source.js keyword.control",
"source.js storage.modifier"
],
"settings": {
"fontStyle": "italic"
}
}
]
}
}
@lachieh If you can please add this feature to panda-vscode 👍
@lachieh thank you so much! But real quick though where can I find more of those names (e.g source.js storage.modifie). I interested in making my own version of panda syntax.