Trait savory_elements::design_system::DesignSystemImpl [−][src]
Trait used by design system types to generate elements/views styles.
Required methods
fn text(&self, class: TextLens<'_>) -> Style
[src]
Generate needed styles for Text
view
fn button(&self, class: ButtonLens) -> Style
[src]
Generate needed styles for Button
view
fn switch(&self, class: SwitchLens<'_>) -> StyleMap
[src]
Generate needed styles for Switch
view
fn radio(&self, class: RadioLens<'_>) -> StyleMap
[src]
Generate needed styles for Radio
view
fn text_input(&self, class: TextInputLens) -> Style
[src]
Generate needed styles for TextInput
view
fn progress_bar(&self, class: ProgressBarLens) -> StyleMap
[src]
Generate needed styles for ProgressBar
view