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

Feature Request: Use color from color theme #210

Open
LinqLover opened this issue Jun 15, 2022 · 1 comment
Open

Feature Request: Use color from color theme #210

LinqLover opened this issue Jun 15, 2022 · 1 comment

Comments

@LinqLover
Copy link

I installed this extension because, by default, VS Code only detects a subset of my used keywords. However, the extension applies a different color theme which is harder to read for me:

Original VS Code color:

image

This extension's color:

image
(Color theme used: Copilot Theme)

Of course, I could overwrite the color definitions in the extension settings, but if I see this correctly, I would have to do change this whenever I change my color theme. It would be much more convenient if the extension could use the colors provided the color theme by itself, or if it would at least provide an option to do so.

@ChristopherHaws
Copy link

FYI, you can use theme colors in settings. I was able to remove the background using:

"todohighlight.defaultStyle": {
    "backgroundColor": "editor.background"
},
"todohighlight.keywords": [
    {
        "text": "TODO:",
        "color": "yellow",
        "backgroundColor": "editor.background",
    },
    {
        "text": "FIXME:",
        "color": "orange",
        "backgroundColor": "editor.background",
    },
    {
        "text": "HACK:",
        "color": "red",
        "backgroundColor": "editor.background",
    },
],

You can find a full list of theme colors here: https://code.visualstudio.com/api/references/theme-color

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