Crate stylers_core

Crate stylers_core 

Source

Structs§

Class

Functions§

from_str
This function will build the whole style text as the String. This build_style is string version of the build_style method from style macro.
from_ts
This function will build the whole style text as rust TokenStream. This function will take two arguments. ts: TokenStream which is token stream of text content of whole style sheet. random_class: &String is random class to be appended for each selector. This function will return tuple with two fields (style string, map of unique keys of selectors.) style string: is the parsed style sheet as a string