giles
33350ced6d
Add comprehensive TW test suite (627 tests), fix 4 bugs, add 9 features
Bugs fixed:
- line-through: check full token not just head after hyphen split
- gap-x-N/gap-y-N: compound 2-part spacing prefix handler in tw-layout
- Negative values (-mt-4): replace ":" with ":-" instead of no-op
- Class name doubling: chain replace calls instead of concatenating
New features in tw-process-token:
- !important modifier (!p-4 → padding:1rem !important)
- dark: variant (class-based, .dark ancestor selector)
- group-hover:/group-focus:/group-active: (parent state)
- peer-focus:/peer-hover:/peer-checked:/peer-disabled: (sibling state)
- @container queries (@md:flex → @container(min-width:448px))
- Colour opacity modifier (bg-sky-500/50 → hsl with alpha)
- Ring colours (ring-sky-500 → --tw-ring-color)
- Arbitrary values (w-[300px], grid-cols-[1fr_2fr], bg-[#ff0000])
- colour-with-alpha helper for HSL+alpha generation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 21:55:33 +00:00
..
2026-03-24 14:32:55 +00:00
2026-04-01 21:55:33 +00:00
2026-03-24 17:23:09 +00:00
2026-03-24 14:32:55 +00:00
2026-03-24 16:14:40 +00:00
2026-03-14 10:11:48 +00:00
2026-03-12 23:54:38 +00:00
2026-03-24 16:14:40 +00:00
2026-03-11 09:42:04 +00:00
2026-03-24 16:14:40 +00:00
2026-03-31 07:36:36 +00:00
2026-03-24 16:14:40 +00:00
2026-03-25 16:27:33 +00:00
2026-03-31 07:36:36 +00:00
2026-03-25 15:14:10 +00:00
2026-03-12 22:00:12 +00:00
2026-03-28 15:18:45 +00:00
2026-03-24 16:14:40 +00:00
2026-03-18 17:22:51 +00:00
2026-03-24 16:14:40 +00:00
2026-03-24 16:14:40 +00:00
2026-03-24 17:23:09 +00:00
2026-03-11 04:53:34 +00:00
2026-03-24 14:32:55 +00:00
2026-03-14 10:11:48 +00:00