Expand description
Design tokens for Rust UIs – semantic CSS custom-property names + neutral defaults.
Token names are the CSS contract (--rt-*); default values are a small ASCII
starter theme. Optional feature css emits a :root stylesheet.
By default installs rusty_alloc
via rusty_alloc_default
(opt out with default-features = false). Safe to combine with
rusty_symbols / rusty_a11y defaults – one shared allocator link.
Modules§
- color
- Semantic color roles – CSS custom-property names + default hex values.
- css
css - CSS
:rootsheet emitter for WebView / Dioxus injection. - radius
- Border-radius scale – CSS custom-property names + default values.
- space
- Spacing scale – CSS custom-property names + default rem values.
- type_
scale - Type scale – font-size and line-height token names + defaults.
Functions§
- rusty_
alloc_ enabled - Whether this build pulled in the default
rusty_allocinstall. - secure_
allocator_ enabled - Whether the hardened
secureallocator profile is compiled in.