Skip to content

refactor/fix(template): switch theme engine to Whiskers#219

Merged
sgoudham merged 23 commits intocatppuccin:mainfrom
gtoth93:whiskers
Sep 7, 2025
Merged

refactor/fix(template): switch theme engine to Whiskers#219
sgoudham merged 23 commits intocatppuccin:mainfrom
gtoth93:whiskers

Conversation

@gtoth93
Copy link
Contributor

@gtoth93 gtoth93 commented Sep 1, 2025

This PR converts flavour generation from deno and handlebars to whiskers. It generates the almost the same json and xml, the only difference is that the mixed colors are sometimes off by one (like 734a5d -> 734a5f).

Copy link
Contributor

@sgoudham sgoudham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking the time to go through with this! I haven't been motivated to work on this theme in a long time but would be good to see this through so that it's easier to work on 👍

I had a few comments.

…n instead, move accent to frontmatter in ui.theme.tera, move file color calculation to a macro in ui.theme.tera
@gtoth93 gtoth93 requested a review from sgoudham September 2, 2025 19:22
@sgoudham sgoudham changed the title refactor(template): convert flavour generation to whiskers refactor/fix(template): convert flavour generation to whiskers Sep 6, 2025
@sgoudham sgoudham changed the title refactor/fix(template): convert flavour generation to whiskers refactor/fix(template): switch theme engine to Whiskers Sep 6, 2025
Copy link
Contributor

@sgoudham sgoudham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for this PR!

This motivated me enough to work through the templates again and resolve some long-standing issues so sorry for hijacking part of it!

Really awesome work and thanks again, hoping to merge it soon after test-driving it myself for a day or two.

@sgoudham sgoudham merged commit 217aa9d into catppuccin:main Sep 7, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants