Functions§
- lookup_
mapped_ class - normalize_
arbitrary_ hex - normalize_
utility_ class_ name - rewrite_
class_ string - Replace known utilities. Longer keys win when a token could match two
map entries (
bg-red-500/50beforebg-red-500). - split_
class_ tokens - Split Tailwind class lists on whitespace outside
[…]. Quotes inside arbitrary values (before:content-['']) are part of the token. - strip_
redundant_ variant_ pseudo - unescape_
css_ class_ name