Expand description
Types for styling widgets.
Modules§
- All style components supported by the built-in widgets.
Structs§
- A red, green, blue, and alpha color value stored in 32-bits.
- A color scheme for a Cushy application.
- A builder of
ColorScheme
s. - A source for
Color
s. - A pallete of a shared
ColorSource
. - A fully-qualified style component name.
- A description of the size to use for each corner radius measurement when rendering a rounded rectangle.
- A custom component value.
- A range of
Dimension
s. - A
Component
that resolves its value at runtime. - A type describing characteristics about the edges of a rectangle.
- A theme of colors that is shared between light and dark theme variants.
- A list of font families.
- A color composed of hue, saturation, and lightness.
- A color composed of hue, saturation, and lightness.
- A hue type for the Oklab color space.
- A collection of style components organized by their name.
- An iterator that returns the contents of a
Styles
collection. - A theme of surface colors.
- A Cushy Color theme.
- A set of light and dark
Theme
s. - A 2d ordering configuration.
- Specifies the weight of glyphs in the font, their degree of blackness or stroke thickness.
Enums§
- A value of a style component.
- A description of the level of depth a
Container
is nested at. - A 1-dimensional measurement.
- An owned version of [
Family
] - A 1-dimensional measurement that may be automatically calculated.
- A configuration option to control which controls should be able to receive focus through keyboard focus handling or initial focus handling.
- Alignment along the horizontal axis.
- A horizontal direction.
- Allows italic or oblique faces to be selected.
- Alignment along the vertical axis.
- A vertical direction.
Traits§
- Extra functionality added to the
Color
type from Kludgine. - A type that represents a named component with a default value of a specific Rust type.
- A type that can be converted to and from
Component
. - A
ComponentDefinition
that can provide a default value without access to a runtime context. - A type that resolves to a
Component
at runtime. - A value that can be converted into a
Value<Component>
. - A type that can convert into a
Value
containing aDynamicComponent
. - A type that can be converted into a
StoredComponent
. - A value that can represent the lightness of a color.
- A type that represents a named style component.
- A type that can be interpretted as a hue or hue and saturation.
- Describes whether a type should invalidate a widget.