Skip to content
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

No-Italics Option #27

Closed
svictoreq opened this issue Oct 9, 2017 · 6 comments
Closed

No-Italics Option #27

svictoreq opened this issue Oct 9, 2017 · 6 comments

Comments

@svictoreq
Copy link

Current Version: 1.1.2
VSCode Version: 1.17.0

Can you make any No-Italic option for the themes?

@Monokai
Copy link
Owner

Monokai commented Oct 14, 2017

This is not a bad idea in itself, but it complicates things a lot. I would either have to create the theme dynamically, or double each theme. If I'd like to include another option, it expands exponentially.

Could you maybe explain why you want this?

@svictoreq
Copy link
Author

I understand. I actually modified the theme by myself and duplicate the themes individually. I want it because I don't have Operator Mono, I use Fira Code, and I really don't like the looks with italics, but as you said, it may be very complicated...

@Jcrs
Copy link

Jcrs commented Dec 18, 2017

Hi there,

There is already an open PR to add a global option to toggle italics.
However, as a workaround, you can simply add those configurations to your local settings and it works perfectly!

microsoft/vscode#32579

@Monokai Monokai closed this as completed Jun 10, 2018
@SNikalaichyk
Copy link

Hi @Monokai,
Unfortunately it has not been addressed in VS Code since this issue was closed. The workaround that is suggested there is hideous. Love the theme, bought the license and realized that I hate italic fonts. Can we have this issue reopened?
A setting like this would be really nice to have:

"monokaiPro.noItalics": true

@jeduan
Copy link

jeduan commented Aug 3, 2021

These changes to settings.json made it work for me without italics.

    "editor.tokenColorCustomizations": {
        "textMateRules": [
            {
                "scope": [
                    "storage.type",
                    "variable.parameter",
                    "parameters variable.function",
                    "support.type",
                    "storage.modifier",
                    "entity.other.inherited-class",
                    "entity.other.attribute-name"
                ],
                "settings": {
                    "fontStyle": ""
                }
            }
        ]
    },

@zeroxia
Copy link

zeroxia commented Mar 23, 2022

Thanks for this hint. Since I hate italics everywhere, so I added "comment", to the array of "scope".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants