Skip to content

refactor(template): use hex_format and hex filter - #1

Merged
suree33 merged 1 commit into
mainfrom
refactor/hex-format
Nov 4, 2026
Merged

suree33 merged 1 commit into
mainfrom
refactor/hex-format

Conversation

@suree33

@suree33 suree33 commented Nov 4, 2026

Copy link
Copy Markdown
Owner

Use hex_format and the hex filter, same as suree33/otty#1. Bumps whiskers to ^2.7.0 for the hex filter. Generated themes are unchanged.

🤖 Generated with Claude Code

intent(template): match the hex_format cleanup done in the otty port, preferring a better whiskers-native approach where one exists
decision(template): hex_format "#{{r}}{{g}}{{b}}{{z}}" puts the "#" in one place and appends alpha only when opacity < 1
decision(template): `| hex` filter replaces `| get(key="hex")` for computed colors
constraint(whiskers-version): the `hex` filter needs whiskers 2.7.0, so the version is bumped from ^2.5.1 to ^2.7.0
learned(template): generated themes are byte-identical before and after, and whiskers --check passes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@suree33
suree33 merged commit 9b86f46 into main Nov 4, 2026
1 check passed
@suree33
suree33 deleted the refactor/hex-format branch November 6, 2026 02:10
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