Skip to content

bin: thread the entrypoint theme through --input-css generation#170

Merged
samoht merged 1 commit into
mainfrom
theme-input-threading
Jul 26, 2026
Merged

bin: thread the entrypoint theme through --input-css generation#170
samoht merged 1 commit into
mainfrom
theme-input-threading

Conversation

@samoht

@samoht samoht commented Jul 26, 2026

Copy link
Copy Markdown
Owner

The --input-css generate path called parse_known_candidates and Tw.to_css against Tw.Scheme.default instead of the theme built from the project entrypoint, so a utility named after a custom @theme token (e.g. animate-flash-code from --animate-flash-code) produced no rule. The other generate path already threads opts.theme; this one now does too.

The --input-css generate path parsed candidates and rendered against
Tw.Scheme.default, ignoring the project's @theme, so a utility named after a
custom token (animate-flash-code from --animate-flash-code) produced no rule.
Pass opts.theme through, as the non-entrypoint path already does.
@samoht
samoht merged commit 18a304a into main Jul 26, 2026
2 checks passed
@samoht
samoht deleted the theme-input-threading branch July 26, 2026 20:46
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.

1 participant