Skip to content
Discussion options

You must be logged in to vote

What is the recommended method of adding additional highlight groups using the same palette on top of the existing ones provided by mini.hues?

In most themes I've used before, usually there is a means to add your own highlights via a function that is called with the theme's palette of colors, so one can define/override groups using the same palette.

Would the current recommended approach be:

  1. Call setup with standard config.

  2. Call make_palette with the same config. Seems silly as setup already did this, but I have no means to obtain a reference to the palette.

  3. Make a bunch of vim.api.nvim_set_hl calls using colors referenced from step 2.

Yes, this is the recommended way at the mom…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by echasnovski
Comment options

pkazmier
Apr 7, 2024
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

pkazmier
Jul 11, 2025
Collaborator Author

You must be logged in to vote
1 reply
@echasnovski
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants