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

None BOLD keyword option #2

Open
khongten001 opened this issue Apr 7, 2022 · 2 comments
Open

None BOLD keyword option #2

khongten001 opened this issue Apr 7, 2022 · 2 comments

Comments

@khongten001
Copy link

Hi,

Thank you for making this awesome theme! Is there any option to turn bold keywords off?

Thanks!

@piousdeer
Copy link
Owner

Unfortunately I'm not aware of a way to do this that would be future-proof (if new rules for bold text would be added in the future) and not involve adding yet another theme variant (that would result in a total of 16 theme versions included, which is, imo, too much).

For now you could include this in your settings.json:

"editor.tokenColorCustomizations": {
  "[Adwaita Dark]": {
    "textMateRules": [
      { "scope": ["markup.heading.markdown", "keyword", "keyword.operator.logical.python", "source.js keyword.operator.expression", "source.ts keyword.operator.expression", "keyword.operator.new", "storage.type", "storage.modifier", "entity.name.tag.yaml", "comment.line.number-sign.shebang", "markup.bold.markdown", "support.type", "keyword.type.cs", "source.go storage.type", "support.class.builtin.js", "support.class.promise", "source.c storage.modifier", "source.c storage.type", "entity.other.attribute-name.id.css", "entity.other.attribute-name.pseudo-element.css", "entity.other.attribute-name.pseudo-class.css", "meta.selector.css punctuation.section.function", "meta.selector.css keyword.operator", "punctuation.definition.entity.begin.bracket.square.css", "punctuation.definition.entity.end.bracket.square.css", "entity.name.type.class.python", "text.xml meta.tag.preprocessor entity.name.tag", "text.xml meta.tag.preprocessor punctuation.definition.tag"],
        "settings": { "fontStyle": "" } }
    ]
  }
},

@khongten001
Copy link
Author

Thank you very much! It works like charm 👍

I keep this issue opens in case others need!

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

2 participants