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.

Search Document