Aurora
Aurora is the Colliery design system for Leptos. It is
one Rust crate, colliery-io-aurora,
that holds the design tokens, the stylesheet and the components of a
control-plane UI: layout, inputs, tables, overlays, status pills, data widgets
and a graph. You build the screens. Aurora draws them.
You import the crate as aurora_leptos.
Who uses it
Section titled “Who uses it”- Kairos, Cloacina, Brokkr and Weir draw their web UIs with Aurora.
- Hlin draws its panels with Aurora,
through the
hlinfeature. - This site uses Aurora too, through the Starlight theme starlight-aurora.
The themes
Section titled “The themes”Aurora has three themes. Each colour token holds a value for each theme, so a status means the same thing in each one.
| Theme | What it is |
|---|---|
| Light | Dark text on light surfaces. |
| Dark | Light text on dark surfaces. |
| Hyper | Neon hues on a dark base, with a soft glow. A product must turn it on. |
By default a page follows the operating system: light or dark. Use the theme select in the header of this site to see each theme. The badges change with it:
running completed failed scheduled cancelledStart here
Section titled “Start here”TutorialAdd Aurora to a Leptos app.
How-to guidesTurn on hyper, use a token, show a status, run the gallery.
ReferenceTokens, components, themes, features.
ExplanationWhy the tokens and the rules are as they are.
- The API reference on docs.rs
- The crate on crates.io
- The repository, with the change log
PATTERNS.md: which component to use for a task