Skip to main content

Module classes

Module classes 

Source

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/50 before bg-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