Expand description
Maps GPUI-independent tokens into the paint and typography types views use.
Structs§
- Borders
- Colors
- Control
- Control
Metrics - Effects
- Elevations
- Shadows for each elevation step. Flat is intentionally empty rather than a transparent shadow, so a flat surface allocates no shadow work at all.
- Motion
- Opacity
- Radii
- Spacing
- Spring
Tokens - Theme
- Theme
Registry - The set of themes an application can switch between at runtime.
- Type
Style - Typography
- ZIndices
Enums§
- Appearance
- Control
Size - The four control heights every interactive component resolves against.
- Density
- The information-density axis applications expose as a preference.
- Elevation
- Layer
- Painting order for floating surfaces.
- Motion
Duration - Motion
Easing - Radius
- Semantic
Color - Space
- Spring
Preset - Surface
- Text
Tone - Type
Scale
Traits§
- Active
Theme - Reads the active theme from any context that dereferences to
App.
Functions§
- activate_
theme - Switches the active theme and repaints every window.
- set_
density - Changes the density axis and repaints every window.