Predicates for generating tailwind CSS stylesheets based on used selectors
- author
- - James Cash
- text_tw_css(+Text, -Css) is det
- True when
Text
is an atom or string containing zero or more
space-seperated Tailwind-style selectors and Css
is the
corresponding list of CSS styles, suitable to be fed to
write_css/2.
- tw_from_file(+File, -Css) is det
- When
File
is the path to a file, then Css
will be the
corresponding list of CSS selectors & styles corresponding to all
the tailwind-style selectors found inside File
, suitable to be
used as input to write_css/2.