Did you know ... Search Documentation:
Pack tailwind_pl_generate -- prolog/tailwind_generate/grammar.pl
PublicShow source

DCGs for parsing Tailwind selectors to the corresponding CSS

- James Cash
 prefixes(-MediaQueries, -StateVariants)// is det
DCG to parse possibly-empty media query & state variant prefixes of a tailwind selector; e.g. in "lg:hover:text-blue" would have MediaQueries be [min_width("1024px")] and StateVariants be [inner(hover)].
 tailwind(Styles)// is semidet
DCG to parse the many possible Tailwind selectors.