catppuccin / nix

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

Port request: tty #12

Closed Stonks3141 closed 7 months ago

Stonks3141 commented 1 year ago

Port: catppuccin/tty Example: https://git.sr.ht/~stonks3141/nixos-config/tree/main/item/modules/system.nix#L49

We'll have to bring in catppuccin/palette to get the hex codes.

getchoo commented 1 year ago

couldn't we just make a derivation with the contents of dist/ after build.sh?

Stonks3141 commented 1 year ago

That shouldn't be necessary, the build script just copies the files from src/ to dist/. I think a more robust approach than running sed on the shellscript files to get console.colors would be to just fetch palette-porcelain.json from catppuccin/palette to get hex codes and manually sync the colors with catppuccin/tty.

Anomalocaridid commented 12 months ago

I am interested in implementing this. Regarding bringing the palette in, would it be a good idea to expose the palette and the palette repo's files as packages or something similar as a flake output?

My reasoning is that would help with manual theming. Exposing the palette would help for when colors need to be used directly. Exposing the palette repo's files would help in specific cases when having a CSS, SCSS, etc. palette would be handy.