Skip to main content

split_class_tokens

Function split_class_tokens 

Source
pub fn split_class_tokens(class_str: &str) -> Vec<&str>
Expand description

Split Tailwind class lists on whitespace outside […]. Quotes inside arbitrary values (before:content-['']) are part of the token.