-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FAQ] 👌 Shades of Purple VSCode Theme With No Italics #13
Comments
No description? |
Can you add a no italics version? |
The italics are very limited I am actually making an italic theme version on so many requests that I have received for it. What you can instead do is disable all the italics in the theme which I make a point to list together. Here ⬇️ OK on second thought, you can't do that. I thought one could do this with Let me think about it. |
OK, yes I figured it out. You can disable the italic scope by putting this in your settings.json file. "editor.tokenColorCustomizations": {
"textMateRules": [
{
"name": "[ITALICS] REMOVED",
"scope": [
"modifier",
"this",
"comment",
"storage.modifier.js",
"entity.other.attribute-name.js",
"entity.other.attribute-name.html",
"punctuation.definition.comment",
"text.html.basic entity.other",
"entity.other.attribute-name.tsx",
"entity.other.attribute-name.jsx",
"markup.quote.markdown meta.paragraph.markdown",
"markup.italic.markdown",
"text.jade entity.other.attribute-name.tag",
"keyword.control.from.js",
"entity.other.attribute-name.tag.pug"
],
"settings": {
"fontStyle": ""
}
}
]
} I have set fontStyle to an empty string. The reason is explained here ⬇️ Peace! ✌️ |
I looked for settings I could override, but it appeared most of the snippets I found were out of date, since the settings API changed with time, heh. I'll try that. |
Oh, should be: I think might be worth a PR. What do you think? |
@adi518 It should work. I tested it. Also, name doesn't matter but yes, I just edited it. Would def be worth a PR. I have a bad habit of this typo. 🤔 |
Even better would be to change this behavior only for Shades of Purple theme. In that case, the necessary CODE in your "editor.tokenColorCustomizations": {
"[Shades of Purple]": {
"textMateRules": [
{
"name": "[ITALICS] REMOVED",
"scope": [
"modifier",
"this",
"comment",
"storage.modifier.js",
"entity.other.attribute-name.js",
"entity.other.attribute-name.html",
"punctuation.definition.comment",
"text.html.basic entity.other",
"entity.other.attribute-name.tsx",
"entity.other.attribute-name.jsx",
"markup.quote.markdown meta.paragraph.markdown",
"markup.italic.markdown",
"text.jade entity.other.attribute-name.tag",
"keyword.control.from.js",
"entity.other.attribute-name.tag.pug"
],
"settings": {
"fontStyle": ""
}
}
]
},
} Also, I know this will be changing, but at the time of writing this comment: This is the link to italic scope code with correct line numbers. Peace! ✌️ |
No description provided.
The text was updated successfully, but these errors were encountered: