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

Problem configuring colors? #31

Open
bromelio opened this issue May 2, 2022 · 1 comment
Open

Problem configuring colors? #31

bromelio opened this issue May 2, 2022 · 1 comment

Comments

@bromelio
Copy link

bromelio commented May 2, 2022

Dear rsbondi,

I would like to omit lightgreen as highlighting color because the contrast is too low on my screen, but no matter what configuration I tried in Visual Studio Code's settings.json, it had no effect.

--> Can you please correct any mistake in my below settings.json configuration:

{ 
"window.zoomLevel": -1,
    
    "highlightwords.colors:"  [
        { "light": "#b3d9ff", "dark": "cyan" },
        { "light": "#e6ffb3", "dark": "pink" },
        { "light": "#ffd9b3", "dark": "magenta" },
        { "light": "#ffb3ff", "dark": "cornflowerblue" },
        { "light": "#b3ffb3", "dark": "orange" },
        { "light": "#ffff80", "dark": "green" },
        { "light": "#d1e0e0", "dark": "red" }
    ]   
}

or advise where else I am supposed to enter this configuration code?

(Instead of "highlightwords.colors" I also tried "highlight.configuration.colors" because that's what I found in the extensions' description in VSC, but that didn't work, either).

@navmed
Copy link

navmed commented Mar 13, 2023

I was able to figure it out. This worked for me. You have to restart VS Code or reload the window, for the settings to take effect. The colors in the screenshot are from this plugin.

image

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