Style guide
The Antochi design system as the dashboard renders it. Colours, type, spacing and radii are generated from tokens.json.
Colours
Light
- surface #F4F6F5
- surface-raised #FFFFFF
- surface-hero #0E1B1F
- surface-hero-tile #18302F
- ink #0E1B1F
- ink-muted #43535A
- ink-on-hero #FFFFFF
- ink-on-hero-muted #A9BDBA
- border #DDE4E2
- pine #0F5A4A
- on-pine #FFFFFF
- sea #16A3A0
- sea-text #0B6F6C
- sun #FFD23F
- on-sun #0E1B1F
- leaf #0F5A4A
- plum #7B2D5E
- signal-ok-bg #DCEFEA
- signal-ok-fg #0B4A3D
- signal-low-bg #FFF1C2
- signal-low-fg #5E4700
- signal-attn-bg #F1DDE9
- signal-attn-fg #6A2350
- signal-fast-bg #D6F0EF
- signal-fast-fg #0B5E5B
Dark
- surface #0B1416
- surface-raised #15252A
- surface-hero #1B2E33
- surface-hero-tile #24403F
- ink #EEF3F2
- ink-muted #A9BDBA
- ink-on-hero #FFFFFF
- ink-on-hero-muted #A9BDBA
- border #26393D
- pine #5CC7A7
- on-pine #0B1416
- sea #2FC3BF
- sea-text #6FDAD6
- sun #FFD23F
- on-sun #0E1B1F
- leaf #6CC070
- plum #D88BBE
- signal-ok-bg #123A32
- signal-ok-fg #8FE0C4
- signal-low-bg #3A3110
- signal-low-fg #F5D66B
- signal-attn-bg #3A1D30
- signal-attn-fg #E8A9CF
- signal-fast-bg #0F3A3A
- signal-fast-fg #8FE3E0
Type scale
| Style | Sample | Size |
|---|---|---|
| display-xl | Antochi | 56/60 · 800 |
| h1 | Today | 32/36 · 800 |
| h2 | Household table | 22/28 · 700 |
| h3 | 2h 30m · Z2 + 3×10′ tempo | 18/24 · 700 |
| metric | 80 g | 20/24 · 700 |
| body | Fakes with olive oil & bread | 15/22 · 400 |
| body-strong | Mark as eaten | 15/22 · 600 |
| caption | Lunch · 13:30 · Household | 12/16 · 500 |
| label | MEALS | 12/16 · 600 |
| Greek | Αντοχή — καλό φαγητό, μεγάλες μέρες | h3 |
Buttons
Primary: the main action of a card. Fuel: fueling and heat actions only, at most one per view. Secondary: alternatives.
Signals
On track
A bit low
Needs attention
Fasting day
On track
A bit low
Needs attention
Fasting day
Every signal pairs a glyph with a colour, never colour alone. Needs attention uses plum and is rare. There is no red.
Spacing and radii
| space-1 | 4 px | |
| space-2 | 8 px | |
| space-3 | 12 px | |
| space-4 | 16 px | |
| space-5 | 20 px | |
| space-6 | 24 px | |
| space-8 | 32 px | |
| space-10 | 40 px |
radius-sm · 8 px
radius-md · 12 px
radius-lg · 18 px
radius-pill · 999 px