Southern CrossAUS
TP52 · 15.85 m · 2023
Tokens and components, rendered from the same code as the product. Source: packages/ui. The Figma library mirrors these tokens as variables with Light and Dark modes.
| Role | Light | Dark | Use |
|---|---|---|---|
| --bg | #ffffff | #0f0f0f | Page background: pure white / near-black |
| --surface | #f7f7f7 | #1a1a1a | Flat panels: cards, tiles, tables, inputs |
| --raised | #ffffff | #222222 | Elements on a panel: inputs and menus inside cards |
| --ink | #212121 | #f2f2f2 | Primary text and headlines |
| --muted | #5e5e5e | #a8a8a8 | Secondary text, details under names |
| --line | #e4e4e4 | #2c2c2c | Hairlines and dividers |
| --navy | #0f3d63 | #9cc1e6 | The one accent: links, active tabs, follow, primary buttons |
| --navy-soft | #e8eff6 | #16283a | Accent tint backgrounds |
| --brass | #7a5d23 | #d4b373 | Classification and verification highlights only |
| --brass-soft | #f4ecdc | #2b2416 | Brass tint backgrounds |
| --ok | #2a6248 | #7fc8a2 | Success text |
| --ok-soft | #e3f1e9 | #14271d | Success background |
| --warn | #7a4f0f | #e6b45f | Warning text |
| --warn-soft | #fbefd8 | #2c2312 | Warning background |
| --bad | #9b2c2c | #f09595 | Error text, destructive |
| --bad-soft | #fae6e6 | #311919 | Error background |
| --studio-top | #f7f7f7 | #1c1c1c | Studio panel top |
| --studio-bottom | #efefef | #161616 | Studio panel bottom |
| --studio-line | #d9d9d9 | #2e2e2e | Studio horizon / ground shadow |
| --studio-ink | #212121 | #d6d6d6 | Illustration strokes |
| --studio-sail | #ffffff | #2a2a2a | Illustration sail fill |
| --studio-hull | #0f3d63 | #9cc1e6 | Illustration hull fill |
| --v-official | #2a6248 | #7fc8a2 | Matched to official results |
| --v-confirmed | #0f3d63 | #9cc1e6 | Confirmed by skipper/team/organiser |
| --v-endorsed | #7a5d23 | #d4b373 | Endorsed by a crewmate |
| --v-self | #7a4f0f | #e6b45f | Self-reported |
| --v-unverified | #5e5e5e | #9a9a9a | Imported from results, not yet confirmed |
Every text role on every background it is used on, both modes. WCAG AA requires 4.5:1 for body text; the build fails below that.
| Text on background | Light | Dark |
|---|---|---|
| ink on bg | 16.1:1 | 17.1:1 |
| ink on surface | 15.0:1 | 15.5:1 |
| ink on raised | 16.1:1 | 14.2:1 |
| muted on bg | 6.5:1 | 8.1:1 |
| muted on surface | 6.1:1 | 7.3:1 |
| muted on raised | 6.5:1 | 6.7:1 |
| navy on bg | 11.2:1 | 10.2:1 |
| navy on surface | 10.5:1 | 9.3:1 |
| navy on navy-soft | 9.7:1 | 8.0:1 |
| brass on bg | 6.1:1 | 9.6:1 |
| brass on surface | 5.7:1 | 8.7:1 |
| brass on brass-soft | 5.2:1 | 7.7:1 |
| ok on surface | 6.7:1 | 8.9:1 |
| ok on ok-soft | 6.1:1 | 8.0:1 |
| warn on surface | 6.6:1 | 9.2:1 |
| warn on warn-soft | 6.2:1 | 8.2:1 |
| bad on surface | 7.0:1 | 7.8:1 |
| bad on bad-soft | 6.3:1 | 7.4:1 |
| v-official on surface | 6.7:1 | 8.9:1 |
| v-confirmed on surface | 10.5:1 | 9.3:1 |
| v-endorsed on surface | 5.7:1 | 8.7:1 |
| v-self on surface | 6.6:1 | 9.2:1 |
| v-unverified on surface | 6.1:1 | 6.2:1 |
| v-unverified on bg | 6.5:1 | 6.8:1 |
| xs | Every boat, every race | 12px · sans · Details under names, captions |
| eyebrow | Every boat, every race | 13px · sans · Eyebrows (uppercase, letter-spaced) |
| sm | Every boat, every race | 14px · sans · Table text, meta, filter labels (bold) |
| base | Every boat, every race | 16px · sans · Body |
| lg | Every boat, every race | 18px · sans · Lede, intros (light) |
| xl | Every boat, every race | 18px · display · Card names |
| 2xl | Every boat, every race | 24px · display · Section headings, stats |
| 3xl | Every boat, every race | 32px · display · Page titles on phones |
| 4xl | Every boat, every race | 44px · display · Page titles |
Lede text sets the scene in one or two lines.
Surfaces group related content.
Lede text sets the scene in one or two lines.
Surfaces group related content.