catppuccin / starship

🚀 Soothing pastel theme for Starship
MIT License
204 stars 2 forks source link

build: use whiskers #5

Closed uncenter closed 1 month ago

uncenter commented 4 months ago

Adds Whiskers, Catppuccin's internal templating tool, to build the themes. Instead of editing the .toml files directly, edit the starship.tera file and then run just build to build the output themes (though this shouldn't need to happen much as the theme files are just loops over the palette colors). You will need Whiskers (linked above) and optionally Just installed. I've also updated the usage instructions.

Draft until https://github.com/catppuccin/toolbox/pull/217 is merged so that the suggested/example starship.toml configuration can pull from the generated palettes.

JoshPaulie commented 4 months ago

You beat me to it!

Very cool. Thanks 👍

uncenter commented 3 months ago

Should be good to go @JoshPaulie :)

JoshPaulie commented 1 month ago

Omg! So sorry. I thought I merged this ages ago. Thanks for whipping this together!

injust commented 1 month ago

I think this somehow messed up the README? themes/ in the Usage section is a 404.

sgoudham commented 1 month ago

Oh good catch, haha the PR no longer looks good to me 😄 @injust

The whiskers template moves the themes to palettes and not themes.

sgoudham commented 1 month ago

I somehow fat fingered committing to main instead of a new branch on GitHub mobile 🤦

It's fixed on main now but I meant to say that a future PR might want to edit the directory to be themes.

uncenter commented 1 month ago

I think fixing the directory link was the wrong solution ahah, we want them in themes anyway.