Foundation
The tokens every component is drawn with, taken from the Foundation Design System v1.1 in Figma. Change a token and every component that uses it follows.
Open in Figma Community (opens in a new tab)Accessibility
Natuna targets WCAG 2.2 level AAA wherever it is a property of the design: contrast, target size, focus, line spacing and motion. Text tokens pass 7:1 in light and dark mode. Ramp steps are not all text-safe; see "Text-safe steps" under Color.
| Rule | Minimum | How the system meets it |
|---|---|---|
| Text contrast1.4.6 Contrast (Enhanced) | 7:1 | Text tokens only: text/primary, secondary, tertiary and link. Light: gray-900 / gray-700 / gray-600 / blue-800 on canvas. Dark: gray-50 / gray-200 / gray-300 / blue-200 on gray-900. On surfaces, tertiary text steps up to secondary. |
| Large text1.4.6 Contrast (Enhanced) | 4.5:1 | 24px and up, or 19px bold and up. Headings still use text/primary (7:1+). |
| Text on fills1.4.6 Contrast (Enhanced) | 7:1 | White on blue-800 (8.05) and red-800 (8.41). Navy on Signal, Jade 500, Amber 500 and Sky 500. Ramp anchors (step 600) are fills, not text colors. |
| Non-text contrast1.4.11 Non-text Contrast | 3:1 | Control borders gray-500 on canvas, gray-600 on surface, gray-400 in dark. Focus ring blue-600 (light) and blue-400 (dark). |
| Target size2.5.5 Target Size (Enhanced) | 44 × 44px | Every button, tab, toggle and list link, including the in-page navigation. Inline links in sentences are exempt. |
| Focus2.4.13 Focus Appearance | 2px, 3:1 | 2px solid outline in focus/ring, 2px offset, on every focusable element in both modes. |
| Line spacing1.4.8 Visual Presentation | 1.5 | Body and caption styles used for paragraphs run at 1.5 or more. Caption 2 (12/16) is for single-line metadata only. |
| Motion2.3.3 Animation from Interactions | Can be turned off | All animation stops under prefers-reduced-motion. |
| Color alone1.4.1 Use of Color | Never | Status pairs color with a label or icon, and links inside text are underlined. |
Color
Three brand ramps carry identity and five utility ramps carry meaning. Step 600 anchors each ramp. The ratio under each swatch is its contrast against the page canvas in the active mode: white in light, gray-900 in dark. Text needs 7:1, marked AAA. Steps that reach only 4.5:1 are marked AA and suit large text alone. Ramp steps are not all text-safe, and the first safe step differs per ramp, so the table below lists it for each one. Select a swatch to copy its hex. One flat accent, Signal, follows the ramps.
Text-safe steps
| Ramp | Anchor 600 on white | UI ≥ 3:1 from | Text AA from | Text AAA from | AAA text in dark (on gray-900) |
|---|---|---|---|---|---|
| Azure Blue | 4.59 · AA text | 500 | 600 | 800 | ≤ 300 |
| Tomato Red | 4.02 · large text only | 600 | 700 | 900 | ≤ 300 |
| Slate Gray | 7.54 · AAA text | 500 | 500 | 600 | ≤ 300 |
| Sky Blue | 2.94 · fills only | 700 | 800 | 950 | ≤ 400 |
| Jade Green | 3.10 · large text only | 600 | 800 | 900 | ≤ 400 |
| Amber Yellow | 2.25 · fills only | 800 | 800 | 900 | ≤ 600 |
| Imperial Red | 4.33 · large text only | 500 | 700 | 800 | ≤ 300 |
| Amethyst Purple | 5.27 · AA text | 400 | 500 | 700 | ≤ 200 |
Azure Blue
Brandblue-50 … blue-950Tomato Red
Brandorange-50 … orange-950Slate Gray
Brandgray-50 … gray-950Sky Blue
Utilityteal-50 … teal-950Jade Green
Utilityemerald-50 … emerald-950Amber Yellow
Utilityamber-50 … amber-950Imperial Red
Utilityred-50 … red-950Amethyst Purple
Utilityviolet-50 … violet-950Signal
Accentlime#c6f432 is 14.61:1 against navy #0b1220 and 1.28:1 against white. Navy text only, never white, and never as text on a light page. Use it sparingly, for one marked step or state per view on the dark landing sections.
Typography
Urbanist, a geometric sans with open forms that stays legible at caption sizes. Each style has a size and line height for mobile, tablet, and website. Caption 2 is for single-line metadata only. The samples below resize with your window, and each one is a class (type-h1 to type-caption-2) built from the --text-* tokens. Four weights give emphasis without changing the size.
- Regular
- Medium
- Semibold
- Bold
type-h1.- Mobile
- 24 / 36
- Tablet
- 28 / 40
- Website
- 32 / 44
type-h2.- Mobile
- 20 / 30
- Tablet
- 24 / 36
- Website
- 28 / 40
type-subheader.- Mobile
- 18 / 26
- Tablet
- 20 / 30
- Website
- 24 / 36
type-body-1.- Mobile
- 16 / 24
- Tablet
- 18 / 28
- Website
- 18 / 28
type-body-2.- Mobile
- 14 / 22
- Tablet
- 14 / 22
- Website
- 14 / 22
type-caption-1.- Mobile
- 12 / 18
- Tablet
- 12 / 18
- Website
- 14 / 22
type-caption-2.- Mobile
- 12 / 16
- Tablet
- 12 / 16
- Website
- 12 / 16
Two sizes sit above this scale. Page titles on the docs pages are 36 px on phones and 48 px from the sm breakpoint (text-4xl and text-5xl) and the home page headings are larger display sizes. Section headings on the docs pages use Header 2.
Number
One numeric scale for spacing, sizing, and layout widths, so every gap is a value someone already named. Each step is given in px and rem, where 1rem is 16px.
Spacing and sizing
0 to 160px. Bars are drawn at true size.
0px0 rem1px0.0625 rem4px0.25 rem6px0.375 rem8px0.5 rem10px0.625 rem12px0.75 rem14px0.875 rem16px1 rem20px1.25 rem24px1.5 rem28px1.75 rem32px2 rem36px2.25 rem40px2.5 rem44px2.75 rem48px3 rem52px3.25 rem56px3.5 rem64px4 rem72px4.5 rem80px5 rem96px6 rem112px7 rem128px8 rem144px9 rem160px10 rem
Layout widths
178 to 1920px. Bars are relative to 1920px.
178px11.125 rem192px12 rem208px13 rem224px14 rem240px15 rem256px16 rem288px18 rem320px20 rem384px24 rem480px30 rem560px35 rem640px40 rem720px45 rem768px48 rem1024px64 rem1280px80 rem1440px90 rem1600px100 rem1920px120 rem
Number variables
The scale is published in Figma as three variable sets, each with only the steps that purpose needs. The token name is what you pick in the variable list.
Padding
Space around UI elements. It separates components and keeps the interface readable.
Number System/Padding/{value}- Null
- 2px
- 4px
- 8px
- 10px
- 12px
- 16px
- 20px
- 24px
- 32px
- 40px
- 48px
- 52px
- 56px
- 64px
- 72px
- 80px
- 96px
- 112px
Rounded
Corner radius for soft, approachable shapes. Full is the pill value, stored as 1920.
Number System/Rounded/{value}- Null
- 4px
- 8px
- 16px
- 20px
- 24px
- 32px
- 40px
- 48px
- Full
Width & Height
Component dimensions. Consistent sizes keep layouts balanced and set visual hierarchy.
Number System/Width & Height/{value}- Null
- 2px
- 4px
- 8px
- 10px
- 12px
- 16px
- 20px
- 24px
- 32px
- 40px
- 48px
- 52px
- 56px
- 64px
- 72px
- 80px
- 96px
Radius
Larger surfaces take larger radii, so nesting stays visually consistent: an 8px button sits inside a 16px card.
- sm 4px
Rounded/4Badges, checkboxes - md 8px
Rounded/8Buttons, inputs - xl 16px
Rounded/16Cards, panels - 2xl 24px
Rounded/24Sheets, large surfaces - 3xl 32px
Rounded/32Hero surfaces - full pill
Rounded/1920Avatars, toggles
Device
Frame sizes the system is designed against. Padding and layout are set per device so content has room to breathe on every screen. All frames share one scale, so their sizes compare directly.
Effect
Shadow lifts cards, modals, and floating buttons off the page. Each level stacks two soft layers of the ink color at 6 to 15 percent opacity, so depth reads without a hard edge. Background blur softens what sits behind an overlay while keeping its context.
Shadow
Shadows are specified on light surfaces, so these samples stay light in both modes. In dark mode, elevation comes from a lighter surface instead.
shadow-smY 1, blur 2, 6%Y 2, blur 4, 10%shadow-mdY 2, blur 4, 8%Y 4, blur 8, 12%shadow-lgY 4, blur 8, 10%Y 10, blur 20, 15%shadow-xlY 8, blur 16, 12%Y 20, blur 40, 15%
Background blur
- blur-sm 8px, fill 10%
- blur-md 16px, fill 10%
- blur-lg 24px, fill 10%
- blur-xl 40px, fill 10%