firstlight.ui.theme — the palette, the type and the small builders every
First Light screen is made of. Polar night in two colours: blue-white for
the cold, amber for what keeps you alive, off-white type on dark glass.
clamp(x: ?, lo: ?, hi: ?) → void
| arg | type | description |
|---|
| x | ? | |
| lo | ? | |
| hi | ? | |
hex(r: ?, g: ?, b: ?) → void
| arg | type | description |
|---|
| r | ? | |
| g | ? | |
| b | ? | |
mix(a: ?, b: ?, t: ?) → void
Blend two hex colours; t = 0 is a, t = 1 is b.
| arg | type | description |
|---|
| a | ? | |
| b | ? | |
| t | ? | |
rgba(hex: ?, alpha: ?) → void
| arg | type | description |
|---|
| hex | ? | |
| alpha | ? | |
label(text: ?, style: ?) → void
| arg | type | description |
|---|
| text | ? | |
| style | ? | |
para(text: ?, style: ?) → void
| arg | type | description |
|---|
| text | ? | |
| style | ? | |
svg(markup: ?, style: ?) → void
| arg | type | description |
|---|
| markup | ? | |
| style | ? | |
abs(l: ?, t: ?, w: ?, h: ?, extra: ?) → void
| arg | type | description |
|---|
| l | ? | |
| t | ? | |
| w | ? | |
| h | ? | |
| extra | ? | |
caption(text: ?, style: ?) → void
A small caption in the instrument style: spaced capitals, dim ink.
| arg | type | description |
|---|
| text | ? | |
| style | ? | |
panel(children: ?, style: ?, id: ?) → void
Dark translucent glass with a lit upper rim.
| arg | type | description |
|---|
| children | ? | |
| style | ? | |
| id | ? | |
enter(delay: ?, dur: ?, from: ?) → void
A one-shot entrance: fades and rises into place.
| arg | type | description |
|---|
| delay | ? | |
| dur | ? | |
| from | ? | |
loop(map: ?, dur: ?, easing: ?, opts: ?) → void
An idle loop between keyframe stops.
| arg | type | description |
|---|
| map | ? | |
| dur | ? | |
| easing | ? | |
| opts | ? | |
button(text: ?, callback: ?, style: ?) → void
The amber button every screen shares.
| arg | type | description |
|---|
| text | ? | |
| callback | ? | |
| style | ? | |