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

Customize font style setting #482

Open
TheAnsIs42 opened this issue Feb 28, 2025 · 1 comment
Open

Customize font style setting #482

TheAnsIs42 opened this issue Feb 28, 2025 · 1 comment

Comments

@TheAnsIs42
Copy link

I found the font styling is different for python file in neovim (first image) and vscode (second image). And I prefer the neovim one, is there any way to customize it in the vscode?

Image Image
@jack-mil
Copy link
Member

jack-mil commented Feb 28, 2025

The Catppuccin VSCode extension offers quite a few customization options under Settings > Extensions > Catppuccin.
For your case, I would try out these options to more closely match your screenshot of Nvim

  • Bold Keywords (off)

  • Bracket Mode (monochromatic)

  • Italic keywords (off)

  • If you want to further override certain semantic token colors, you can do so in combination using the techniques described in the VSCode docs. You can use the Developer: Inspect Editor Tokens and Scopes command to inspect your code and identify the token names you are interested in. As an example, here is a snippet of something I have tweaked for my configuration:

      "editor.semanticTokenColorCustomizations": {
          "[Catppuccin Macchiato]": {
              "rules": {
                  "decorator": "#eed49f" // yellow
              }
          }
      }
  • For the color indentation scope guides, there are extensions which provide the feature with custom color support (e.g. oderwat.indent-rainbow )

I hope this helps! Have fun theming

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