Skip to main content

Module theme

Module theme 

Source
Expand description

Root theme, stylesheet policy, and deterministic context.

Structs§

FutureCssProps
Props for the root theme and CSS provider.

Enums§

Brand
Upstream’s optional brand palette.
Design
A stock visual preset: geometry, elevation, surface treatment, and type.
Direction
Inline text direction.
Palette
A stock color palette: every semantic color role, in light and dark.
Stylesheets
Whether components inject their generated upstream stylesheet assets.
Theme
Upstream’s supported schemes. System inherits the user’s preference.

Functions§

FutureCss
Provide the pinned stylesheets and theme without changing pre-mount structure.
use_direction
The reading direction components should use for arrow keys. Left-to-right unless a FutureCss root above sets direction.