Kystdata design system
Tokens, components and layout rules for Kystdata, shipped as @kystdata/ui and previewed here.
Principles
- Fewer, better options
- Each component has a handful of variants with good defaults. If two options look almost the same, one of them goes.
- Semantic tokens only
- Components use role names like canvas, fg-muted or primary-subtle, never raw palette steps.
- Flat and divided
- Regions are flat rectangles separated by hairlines. Depth comes from the layer, not from shadows.
- Dense, not cramped
- A tool for working with data: compact controls and tight tables, with whitespace used to group.
Logo
The app mark. Use the Logo component; size it with a size class.
Typography
Instrument Sans for everything, Roboto Mono for code and tabular data.
Instrument Sans Starefoss ledning, 12 missions
Roboto Mono 60.3913° N, 5.3221° E, 12.40 m, 8.1 °C
Icons
Font Awesome Pro, regular weight, through the Icon component. Icons are a font: they take their size and color from the text around them.