vscode-todo-highlight icon indicating copy to clipboard operation
vscode-todo-highlight copied to clipboard

Feature Request: Use color from color theme

Open LinqLover opened this issue 3 years ago • 1 comments

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.

LinqLover avatar Jun 15 '22 08:06 LinqLover

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

ChristopherHaws avatar Feb 18 '23 02:02 ChristopherHaws