Skip to main content

Crate fluidattacks_designs

Crate fluidattacks_designs 

Source
Expand description

The Fluid Attacks design system for GPUI desktop apps, over the tokens in tokens. Widgets are macOS-gated with their toolkit.

They style against the semantic [Theme], read via [ActiveTheme] at render time, in either light or dark. An app picks its mode at [Theme::init] and may switch it whenever it likes: the colors resolve when painting, so nothing below has to be told.

Preview the catalog with cargo run --example gallery, whose header carries the switch.

Re-exportsยง

pub use fluidattacks_designs_domain as tokens;