Closed AndrewLaganaro closed 4 years ago
please read https://binaryify.github.io/OneDark-Pro for example
"editor.tokenColorCustomizations": {
"[One Dark Pro]": {
"textMateRules": [
{
"scope": [
"storage.type.function.python"
],
"settings": {
"fontStyle": "italic"
}
}
],
},
},
Thanks, It totally Works!
I didn't know there was this page about the theme. So thanks for pointing It out!
glad to help you
I'm trying to change the python function declaration, the "def" into italics on this Vscode theme. Currently the theme italics the keywords "import" and all the flow control keywords "if, else, return, continue" etc.
To try to get the functions also in italics I tried to use the "keyword.declaration.function.python", however it is not working using this. Does anyone know how to get around this? I found some reference about the keyword namings on this site: https://www.sublimetext.com/docs/3/scope_naming.html but even that didn't seem to help, as it still doesn't works at all.
I only have basic knowledge of CSS and I don't know if I'm going the right way to change this. I've tried a bunch of combinations and surely I Am doing something wrong...
I've created this one hoping it would work. It also didn't
Thanks in advance.