Monorepo for Tangled

web: teach tailwind-merge about the type scale tokens master

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 Committer dawn Date Commit a392b3b7 Parent 3ba52331 Change ID mrmonkmv