lustre/ui/styles
Functions
pub fn elements() -> Element(a)
Render a <style />
element that sets up the styles for all the elements
provided by this library. If you prefer, this stylesheet is also provided
as a static CSS file in the priv
directory of this package.
pub fn theme(theme: Theme) -> Element(a)
Render a <style />
element that sets up all the CSS variables derived from
a theme. You need to include this element in your app for any of the elements
to work and look correct.
pub fn without_reset() -> Element(a)
Render a <style />
element that sets up the styles for all the elements
provided by this library without the included CSS reset. This means the
browser’s default styles are preserved unless you provide your own reset.