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

feature: Palette overrides #276

Open
arkrost opened this issue Jun 18, 2024 · 1 comment
Open

feature: Palette overrides #276

arkrost opened this issue Jun 18, 2024 · 1 comment

Comments

@arkrost
Copy link
Contributor

arkrost commented Jun 18, 2024

Describe the solution you'd like

Please add an option to override palette colours. Right now, I usually use before_highlight to make my adjustments:

require('rose-pine').setup({
before_highlight = function(group, highlight, palette)
   if highlight.fg == palette.pine then
     highlight.fg = "#XXXXXX"
   end
   ...
end
})

However, I'd prefer to have it as a standard option and have ability to add variants for all theme variants.

Additional context

No response

@mvllow
Copy link
Member

mvllow commented Jun 28, 2024

Thank you for showing interest in this feature. It's on my radar :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants