LAYLINE
Design system

Layline design system

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.

Colour

RoleLightDarkUse
--bg#ffffff#0f0f0fPage background: pure white / near-black
--surface#f7f7f7#1a1a1aFlat panels: cards, tiles, tables, inputs
--raised#ffffff#222222Elements on a panel: inputs and menus inside cards
--ink#212121#f2f2f2Primary text and headlines
--muted#5e5e5e#a8a8a8Secondary text, details under names
--line#e4e4e4#2c2c2cHairlines and dividers
--navy#0f3d63#9cc1e6The one accent: links, active tabs, follow, primary buttons
--navy-soft#e8eff6#16283aAccent tint backgrounds
--brass#7a5d23#d4b373Classification and verification highlights only
--brass-soft#f4ecdc#2b2416Brass tint backgrounds
--ok#2a6248#7fc8a2Success text
--ok-soft#e3f1e9#14271dSuccess background
--warn#7a4f0f#e6b45fWarning text
--warn-soft#fbefd8#2c2312Warning background
--bad#9b2c2c#f09595Error text, destructive
--bad-soft#fae6e6#311919Error background
--studio-top#f7f7f7#1c1c1cStudio panel top
--studio-bottom#efefef#161616Studio panel bottom
--studio-line#d9d9d9#2e2e2eStudio horizon / ground shadow
--studio-ink#212121#d6d6d6Illustration strokes
--studio-sail#ffffff#2a2a2aIllustration sail fill
--studio-hull#0f3d63#9cc1e6Illustration hull fill
--v-official#2a6248#7fc8a2Matched to official results
--v-confirmed#0f3d63#9cc1e6Confirmed by skipper/team/organiser
--v-endorsed#7a5d23#d4b373Endorsed by a crewmate
--v-self#7a4f0f#e6b45fSelf-reported
--v-unverified#5e5e5e#9a9a9aImported from results, not yet confirmed

Contrast

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 backgroundLightDark
ink on bg16.1:117.1:1
ink on surface15.0:115.5:1
ink on raised16.1:114.2:1
muted on bg6.5:18.1:1
muted on surface6.1:17.3:1
muted on raised6.5:16.7:1
navy on bg11.2:110.2:1
navy on surface10.5:19.3:1
navy on navy-soft9.7:18.0:1
brass on bg6.1:19.6:1
brass on surface5.7:18.7:1
brass on brass-soft5.2:17.7:1
ok on surface6.7:18.9:1
ok on ok-soft6.1:18.0:1
warn on surface6.6:19.2:1
warn on warn-soft6.2:18.2:1
bad on surface7.0:17.8:1
bad on bad-soft6.3:17.4:1
v-official on surface6.7:18.9:1
v-confirmed on surface10.5:19.3:1
v-endorsed on surface5.7:18.7:1
v-self on surface6.6:19.2:1
v-unverified on surface6.1:16.2:1
v-unverified on bg6.5:16.8:1

Type

xsEvery boat, every race12px · sans · Details under names, captions
eyebrowEvery boat, every race13px · sans · Eyebrows (uppercase, letter-spaced)
smEvery boat, every race14px · sans · Table text, meta, filter labels (bold)
baseEvery boat, every race16px · sans · Body
lgEvery boat, every race18px · sans · Lede, intros (light)
xlEvery boat, every race18px · display · Card names
2xlEvery boat, every race24px · display · Section headings, stats
3xlEvery boat, every race32px · display · Page titles on phones
4xlEvery boat, every race44px · display · Page titles

Spacing and radius

1 · 4
2 · 8
3 · 12
4 · 16
5 · 20
6 · 24
8 · 32
10 · 40
12 · 48
16 · 64
none · 0
s · 2
m · 4
l · 0
xl · 0
pill · 999

Components, light and dark

Eyebrow · section label

Southern Cross

Lede text sets the scene in one or two lines.

NavyBrassSuccessWarningErrorsampleGROUP 1GROUP 3GBR
OfficialConfirmedEndorsedSelf-reportedFrom results
Saved. Your race CV is up to date.
Your classification expires next month.
24
Results
5
Wins
2019–2026
Racing
Class
TP52
Length overall
15.85 m
Sail number
AUS 5209
  • 2026
    Fastnet · 2nd of 41
    Bow on Southern Cross Confirmed
  • 2025
    Middle Sea · 5th of 33
    Bow From results
Avatars fall back to initials on the studio backdrop.

Card

Surfaces group related content.

No boats match these filters.
Eyebrow · section label

Southern Cross

Lede text sets the scene in one or two lines.

NavyBrassSuccessWarningErrorsampleGROUP 1GROUP 3GBR
OfficialConfirmedEndorsedSelf-reportedFrom results
Saved. Your race CV is up to date.
Your classification expires next month.
24
Results
5
Wins
2019–2026
Racing
Class
TP52
Length overall
15.85 m
Sail number
AUS 5209
  • 2026
    Fastnet · 2nd of 41
    Bow on Southern Cross Confirmed
  • 2025
    Middle Sea · 5th of 33
    Bow From results
Avatars fall back to initials on the studio backdrop.

Card

Surfaces group related content.

No boats match these filters.