Function dioxus_material::Theme
source · pub fn Theme<'a>(cx: Scope<'a, ThemeProps<'a>>) -> Element<'a>
Expand description
Theme component.
This component provides access to UseTheme
to its children.
Props
For details, see the props struct definition.
primary_color
:Cow<'static, str>
Primary color.
background_color
:Cow<'static, str>
Background color.
secondary_container_color
:Cow<'static, str>
Secondary container color.
border_radius_medium
:Cow<'static, str>
Border radius medium.
border_radius_small
:Cow<'static, str>
Border radius.
label_small
:f32
Small label font size.
label_medium
:f32
Medium label font size.
children
:Element<'a>