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

Add a custom variant name #666

Open
radvil opened this issue Feb 25, 2024 · 0 comments
Open

Add a custom variant name #666

radvil opened this issue Feb 25, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@radvil
Copy link

radvil commented Feb 25, 2024

Is your feature request related to a problem? Please describe.

I often find myself always tinkering my catpuccin color palettes, but at the same time I don't want to replace all of the default colors variant. It depends on the situation e.g. I am working on my low light room, I usually switch from mocha to frappe because frappe is more satisfying to work with. The problem is now I have my new color palettes for frappe, but I sometimes going back to my config to toggle them in order to get my default ones (again because I like it).

Describe the solution you'd like

I want a custom variant name to work with when i am focusing on work, rather then going back and forth to toggle my custom palettes. For example by simple calling vim.cmd("colorscheme catppuccin-custom1"),

Describe alternatives you've considered

I was thinking maybe you guys can provide some config similar to the following:

    custom_variants = {
      custom1 = {
        merge_from = "frappe",
        values = {
          maroon = "#ea999c",
          peach = "#ff9b5e",
        },
      },
      custom2 = {
        merge_from = "mocha",
        values = {
          maroon = "#ea999c",
          peach = "#ff9b5e",
        },
      },
    },

Additional context

This is my custom config override for frappe variant, I like the color contrast sometimes, but I don't want to override the default palette because I like all of the default variants palette.
image

Anyway, thanks for a good work!. I've been using catppuccin since I started to switch to neovim couple months ago.

@radvil radvil added the enhancement New feature or request label Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant