Expand description
All style components supported by the built-in widgets.
Structs§
- The set of controls to allow focusing via tab key and initial focus selection.
- The base
Dimensionto use to space multiple lines of text. Unless overridden, all other sizes for built-in widgets will be based on this dimension. - The base
Dimensionto use as the normal text size. Unless overridden, all other sizes for built-in widgets will be based on this dimension. - A set of radius descriptions for how much roundness to apply to the shapes of widgets.
- The background color to use when drawing a default widget that is activated.
- The foreground color to use when drawing a default widget that is activated.
- The background color to use when drawing a default widget.
- The background color to use when drawing a default widget that is disabled.
- The foreground color to use when drawing a default widget that is disabled.
- The foreground color to use when drawing a default widget.
- The background color to use when drawing a default widget that is hovered by the cursor.
- The foreground color to use when drawing a default widget that is hovered by the cursor.
- A
Colorto be used as an outline color. - A
Colorto be used to accent a disabled widget. - The
EasingFunctionto apply to animations that have no inherent directionality. - The
EasingFunctionto apply to animations that transition a value from “nothing” to “something”. For example, if an widget is animating a color’s alpha channel towards opaqueness, it would query for this style component. Otherwise, it would useEasingOut. - The
EasingFunctionto apply to animations that transition a value from “something” to “nothing”. For example, if an widget is animating a color’s alpha channel towards transparency, it would query for this style component. Otherwise, it would useEasingIn. - The error color from the current theme.
- A
Colorto be used as to indicate keyboard focus. - The font family to render text using.
- The font style to apply to text rendering.
- The font (boldness) weight to apply to text rendering.
- The
FontFamilyListto apply to h1 headings. - The
Styleto apply to h1 headings. - The
Weightto apply to h1 headings. - The
FontFamilyListto apply to h2 headings. - The
Styleto apply to h2 headings. - The
Weightto apply to h2 headings. - The
FontFamilyListto apply to h3 headings. - The
Styleto apply to h3 headings. - The
Weightto apply to h3 headings. - The
FontFamilyListto apply to h4 headings. - The
Styleto apply to h4 headings. - The
Weightto apply to h4 headings. - The
FontFamilyListto apply to h5 headings. - The
Styleto apply to h5 headings. - The
Weightto apply to h5 headings. - The
FontFamilyListto apply to h6 headings. - The
Styleto apply to h6 headings. - The
Weightto apply to h6 headings. - The default
FontFamilyListto apply to headings. - The default
Styleto apply to headings. - The default
Weightto apply to headings. - A
Colorto be used as a highlight color. - The horizontal alignment of the content of a widget.
- Intrinsic, uniform padding for a widget.
- The
VisualOrderstrategy to use when laying out content. - The
Dimensionto use to space multiple lines of text. - The smallest line height on a series of 8 steps.
- The second-smallest line height on a series of 8 steps.
- The base line height on a series of 8 steps.
- The fifth-largest line height on a series of 8 steps.
- The fourth-largest line height on a series of 8 steps.
- The third-largest line height on a series of 8 steps.
- The second-largest line height on a series of 8 steps.
- The largest line height on a series of 8 steps.
- The opaqueness of drawing calls
- A
Colorto be used as a background color for widgets that render an opaque background. - A
Colorto be used as an outline color. - The width of outlines drawn around widgets.
- The primary color from the current theme.
- A
Colorto be use for the transparent surface behind an overlay. - The secondary color from the current theme.
- The
Colorof the surface for the user interface to draw upon. - The tertiary color from the current theme.
- The
Colorto use when rendering text. - The
Colorto use when rendering text in a more subdued tone. - The
Dimensionto use as the size to render text. - The smallest text size on a series of 8 steps.
- The second-smallest text size on a series of 8 steps.
- The base text size on a series of 8 steps.
- The fifth-largest text size on a series of 8 steps.
- The fourth-largest text size on a series of 8 steps.
- The third-largest text size on a series of 8 steps.
- The second-largest text size on a series of 8 steps.
- The largest text size on a series of 8 steps.
- The vertical alignment of the content of a widget.
- A
Colorto be used to accent a widget. - A
Colorto be used as the background color of a widget.