-
-
Notifications
You must be signed in to change notification settings - Fork 216
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
Expose palette colors #306
Comments
hey @markmansur you already have the full palette available in the |
The issue with Current approach doesn't expose abstract colors that will be set according to background/contrast options, so you have to manually do that boilerplate work. You can't do
and expect that |
Hey I noticed this would be solved if we exposed the |
hey @neevparikh i am still thinking about that. One of the new possibilities is to have in the configs 2 new methods (on_colors, on_highlights) for custom overrides. Those functions will probably have the colors and highlights table with some predefined conditions (contrast and bg for instance) |
Just throwing in the air... What if
should be possible. |
@ellisonleao that sounds like a fair approach! thanks for putting in the time to create this and maintain it :D |
Hey @ellisonleao I was peeking at what other themes do, and I played with catppuccin's approach and it seemed like it would be pretty great, if we could do something like that. https://github.com/catppuccin/nvim TL;DR:
Instead of this:
Our config could look something like:
If this seems like it aligns with what you were thinking, I'd be happy to help |
i need reference the groups to dump the highlight command to accelerate the startup time ;) |
bumping this @ellisonleao! does #319 align with what you're looking at? |
It would be nice if the colors palette was exposed to users of this plugin.
Current State
The current state only allows us to override a highlight group with a string. See below.
Requested State
I am requesting that we expose the palette so that users can do something like this
The text was updated successfully, but these errors were encountered: