UI Interface · Foundations

Typography and design tokens

The Plus Jakarta Sans type scale and every colour, surface, radius, shadow, spacing and motion token of the kit. Hex values are read live with getComputedStyle, so they follow the active theme. Click any swatch to copy its CSS variable.

Theme: light

Type scale

Font family var(--font-sans): Plus Jakarta Sans, then system fallbacks. The right-hand spec is measured from the rendered sample (size, weight, line-height, tracking).

Display.ty-display
Revenue grew 24.6%
Heading 1.sx-h1
Quarterly business review
Metric.sx-kpi-value
$128,430.50
Heading 2.sx-section-title h2

Pipeline by stage

Card title.sx-card-title
Monthly recurring revenue
Lead.sx-lead
Real-time traffic, engagement and conversion for every property.
Body.ty-body
Teams that review metrics weekly close deals 18% faster than teams that do it monthly.
Body small (UI).ty-small
Menu items, table cells and form labels
Helper.sx-card-sub
Updated 4 minutes ago · UTC−5
Caption.ty-caption
Badges, deltas and chart labels
Overline.sx-eyebrow
Revenue overview

Weights in use

Aa400 Regular
Aa550 Menu
Aa600 Label
Aa650 Button
Aa700 Title
Aa750 Heading
Aa800 Display
  • Keep one h1 per page and descend in order; style with classes, not by skipping levels.
  • Use sx-num (tabular figures) for every number that is compared, summed or animated.
  • Tracking tightens as size grows: -0.03em for display, -0.02em for h1, -0.01em for titles, +0.08em for overlines.

Text colors

Semantic text tokens switch with the theme. Each row measures the resolved colour and its WCAG contrast against the sample background (AA needs 4.5:1 for body text, 3:1 for large text).

Primary
--text-primary
Headlines and body copy
Secondary
--text-secondary
Supporting descriptions
Tertiary
--text-tertiary
Helper text, timestamps, placeholders
Tertiary on sunken
--text-tertiary
Inside inputs and wells
On brand
--text-on-brand
Text on primary buttons
Brand link
--color-primary-600
View all reports
Success
--tone-fg · success
Payment received
Warning
--tone-fg · warning
Renewal in 3 days
Danger
--tone-fg · danger
Payment failed
Info
--tone-fg · info
New version available
  • Tertiary text is for non-essential helper content; never use it for the only label of a control.
  • Status text always comes with an icon or label word so colour is never the sole signal.
  • Read tone colours from --tone-fg; the legacy --color-success-* scales are remapped in dark mode.

Lists

The global reset removes bullets, so lists opt back in with explicit styles. Markers take the brand colour.

Unordered, nested
  • Workspace settings
    • General
    • Members and roles
  • Billing and invoices
  • Security and audit log
Ordered
  1. Connect your data source
  2. Map the required fields
  3. Schedule the first sync
  4. Invite your team
Checklist
  • SSO configured
  • Domain verified
  • Add a billing contact
Description list
Plan
Team, annual
Seats
24 of 30
Renews
Dec 1, 2026
Owner
Amelia Hart

Blockquotes and callouts

Quotes use a brand rule; callouts reuse the tone mechanism (data-tone) for background, rule and heading colour.

Switching to Northwind cut our monthly close from nine days to three.Priya Nair, Finance Director at Contoso Ltd.
Great dashboards answer a question before it is asked.
Daniel Reyes, Head of Data
NoteReports refresh every 15 minutes.
TipPress / anywhere to search.
Heads upYour trial ends in 3 days.
DangerDeleting a workspace cannot be undone.

Code, keyboard keys and tabular numerals

Inline code, code blocks and .sx-kbd; plus the difference between proportional and tabular figures for columns of money.

Inline code and keys

Call client.invoices.list() then press Ctrl + K to search. Use Shift Enter for a new line.

curl https://api.northwind.example/v1/invoices \
  -H "Authorization: Bearer sk_live_demo" \
  -d status=paid -d limit=10
Proportional vs tabular figures
InvoiceProportionalTabular (sx-num)
INV-11811,111.111,111.11
INV-1182888.88888.88
INV-11834,280.004,280.00
INV-118417.1717.17

Color palette

Click a swatch to copy its variable (or hex, using the switch at the top). Hex values on each swatch are resolved for the current theme.

Primary · deep teal ramp

--color-primary-50 … 950

Neutral

--color-neutral-0 … 950

Semantic status

--sx-success|warning|danger|info|accent
Success Warning Danger Info Accent +12.4% -3.1% Tones feed --tone-bg and --tone-fg automatically.

Chart status (reserved for meaning)

--sx-good|warn|serious|crit

Chart categorical · validated order

--sx-c1 … c8
Validated order, never cycledThe eight hues were validated together for colour-blind separation and contrast in both themes, in this exact order. Assign series 1, 2, 3 in sequence; a single-series chart uses slot 1; fold anything past about five series into “Other”. Do not reorder, skip or reuse slots, and never use status colours as categories.

Sequential heat ramp · one hue

.sx-heat

Diverging · blue to red with neutral midpoint

--sx-c4 ↔ --sx-c8

Surfaces and borders

Five elevation steps for backgrounds and three border strengths. In dark mode borders are translucent white, so their hex carries an alpha channel.

Surfaces

canvas

raised (cards)

sunken (inputs, wells, table headers)

Borders

Radii and shadows

Cards use --sx-radius (14px). Controls use 10px, menu items 9px, chips and badges are pills. The legacy --radius-* tokens are 5px and are not used by the kit.

Radius

Card--sx-radius…
Control--sx-radius-sm…
Menu item9px literal…
Legacy--radius-md…
Pill99px literal…

Shadows

Card--sx-shadow-card…
Hover--sx-shadow-hover…
Popover--sx-shadow-pop…

Spacing scale

Tailwind’s 4px base (--spacing). Grids use gap-4 (16px), xl:gap-5 (20px); cards pad 20px; page gutters are 16px and 24px from 640px.

1…
2…
3…
4 · gap…
5 · card…
6…
8…
10…
12…
16…

Z-index and motion

Stacking layers are fixed in shell.css; motion uses one easing curve. Components respect prefers-reduced-motion.

Z-index layers

Lowest to highest

40Sticky topbar.sx-topbar
45Drawer backdrop.sx-backdrop
50Sidebar.sx-sidebar
60Dropdown menus.sx-menu
100Command palette.sx-cmdk
120Tooltips.sx-tooltip

Motion

Easing cubic-bezier(0.4, 0, 0.2, 1)

  • 120–160ms hover, menus, tabs
  • 250–280ms collapse, sidebar width
  • 550ms entrance (.sx-rise)

Hi, I’m Nova! Need a hand?