A CSS-in-Rust styling solution for WebAssembly Applications
Style::new()
now takes an Into<Cow<'static, str>>
instead of
Into<String>
and returns stylist::Error
instead of String
when
encountering an error.Style::create()
now takes Into<Cow<'static, str>>
for class prefix
and css string and returns stylist::Error
instead of String
when
encountering an error.Style
no longer implements ToString
.YieldStyle
..a-class-name
is after @media
would cause parser
to return an error.style.get_class_name()
no longer consumes the style and returns a &str
instead of an owned string.Style::new
which does not require a component name.lazy_static
with once_cell
.v6
.v0.18
.