catppuccin / nix

❄️ Soothing pastel theme for Nix
https://nix.catppuccin.com/
MIT License
302 stars 46 forks source link

Feature request: custom palettes #228

Closed jerbaroo closed 3 weeks ago

jerbaroo commented 3 weeks ago

What this packages achieves is quite amazing: I use this package not particularly because I want a Catppuccin themed system, but because it is the best experience I found to easily achieve theming across applications with NixOS and home-manager.

I wonder if you have considered adding support for custom palettes, beyond the four defined by Catppuccin theme. For example, instead of defining a flavor as "mocha" one might define a flavor by giving a color palette directly as 12 greyscale colors (base, crust, etc.) and 14 rainbow colors (red, blue, etc..).

isabelroses commented 3 weeks ago

You can override the sources if that's what you're looking for, https://nix.catppuccin.com/options/home-manager-options.html#catppuccinsources. This is how anything that is generated with the catppuccin palette or sources. Other then that this request is out of scope.

jerbaroo commented 3 weeks ago

Ah it seems that catppuccin-nix passes a flavor to the various sources rather than the 26 colors directly, and then each of the sources perform their own transformation from flavor to 26 color palette. Alas, then this request will not be possible. 🙏🏻