Skip to content

Conversation

@Jint-lzxy
Copy link
Collaborator

This PR implemented dynamic palette support for #698 (comment).

cc @volpan

@vollowx
Copy link

vollowx commented Jun 30, 2023

Then how can I use it in configs such as lualine?

@Jint-lzxy
Copy link
Collaborator Author

Jint-lzxy commented Jun 30, 2023

Just use it as usual. The only difference is each call to get_palette would now return a palette configured for the active colorscheme - the same as require("catppuccin.palettes").get_palette().

@vollowx
Copy link

vollowx commented Jun 30, 2023

LGTM

@Jint-lzxy Jint-lzxy force-pushed the feat/builtin-palette-autorefresh branch from 9eb578f to c567cf8 Compare July 1, 2023 06:31
@Jint-lzxy Jint-lzxy merged commit 54b7c3f into ayamir:main Jul 2, 2023
@Jint-lzxy Jint-lzxy deleted the feat/builtin-palette-autorefresh branch July 2, 2023 08:41
singlemancombat pushed a commit to singlemancombat/nvim-config that referenced this pull request Jul 3, 2023
* feat(utils): auto-refresh builtin palette on `ColorScheme`

* fixup! feat(utils): auto-refresh builtin palette on `ColorScheme`
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

Successfully merging this pull request may close these issues.

3 participants