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

The comment and the ghost text have similar color #466

Open
CWEzio opened this issue Dec 8, 2024 · 4 comments
Open

The comment and the ghost text have similar color #466

CWEzio opened this issue Dec 8, 2024 · 4 comments

Comments

@CWEzio
Copy link

CWEzio commented Dec 8, 2024

I love catppuccin, but there is one issue that I find annoying. The comment and the ghost text have similar color and sometimes its hard to distinguish them. I would like to change the color of comment or the ghost text. My question is: 1) how do I customize the color? 2) what customization do you recommend that does not disturb the overall theme. Thank you for your help!

I tried to set the ghost text color with:

    "catppuccin.colorOverrides": {
    // make text red red all flavors
    "all": {
      "editorGhostText.foreground": "#ff0000",
    }},

but it does not work.

@CWEzio
Copy link
Author

CWEzio commented Dec 8, 2024

After some effort, I figured out how to customize the colors. I added a background color to the ghost text to enhance contrast:

    "workbench.colorCustomizations": {
        "editorGhostText.background": "#7f849c",
    },

@snewmanri
Copy link

snewmanri commented Dec 24, 2024

Curious if you figured out how to change color of comments as well?
This is something I've wanted to do but can't seem to figure out what the key for comments is.
The default dark gray for comments is quite hard for me to see.

@uncenter
Copy link
Member

The default dark gray for comments is quite hard for me to see.

Should be fixed in the next release because of #435.

Curious if you figured out how to change color of comments as well? This is something I've wanted to do but can't seem to figure out what the key for comments is.

FYI you can run the Developer: Inspect Editor Tokens and Scopes in the command palette to see all sorts of information about the syntax highlighting token under the cursor, including the name of the key/scope.

@snewmanri
Copy link

Awesome, thank you, I didn't know that.

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

3 participants