Something went wrong. Try again.
Monorepo for Tangled forked from tangled.org/core
Something went wrong. Try again.
web: teach tailwind-merge about the type scale tokens
the design-system type utilities are text-heading-3, text-paragraph-small and so on, which tailwind-merge reads as text-<colour> rather than as font sizes. that means any tv() definition whose variants set a text colour silently drops its own size: tv({ base: 'text-paragraph-small text-foreground-muted' }) resolves to just the colour. /tv exports a createTV instance that registers the tokens as font sizes, so the size and the colour both survive while Tailwind's own text-sm/text-lg merging keeps working. every component that used tv now imports it from there. User.svelte is the one holdout, since it has unrelated uncommitted work in it. Signed-off-by: eti <eti@eti.tf>
Author
eti.tf Committer dawn Date (Sep 11, 2026, 11:49 PM UTC) Commit
Copy SHA
Parent de4f3926 de4f39265f080909cec2135dff97680fabee855a Change ID Copy change ID