Design system
Design system
Cubis mobile tokens and components, live. Source: src/styles/tokens.css and src/components/ui.
Colour
Cubis blue on slate. Gains are blue, losses warm brown — never green/red. Components use semantic tokens only.
Brand & accent
accent-600
--color-accent-600
accent-700
--color-accent-700
accent-500
--color-accent-500
accent-100
--color-accent-100
accent-50
--color-accent-50
brand-800
--color-brand-800
logo-purple
--color-logo-purple
logo-blue
--color-logo-blue
logo-sky
--color-logo-sky
logo-yellow
--color-logo-yellow
Surfaces
surface
--color-surface
canvas
--color-canvas
surface-muted
--color-surface-muted
surface-sunken
--color-surface-sunken
surface-active
--color-surface-active
surface-inverse
--color-surface-inverse
Ink & lines
ink
--color-ink
ink-secondary
--color-ink-secondary
ink-muted
--color-ink-muted
ink-faint
--color-ink-faint
line
--color-line
line-soft
--color-line-soft
line-strong
--color-line-strong
track
--color-track
Feedback
positive
--color-positive
positive-bg
--color-positive-bg
negative
--color-negative
negative-bg
--color-negative-bg
caution
--color-caution
caution-bg
--color-caution-bg
notice-dot
--color-notice-dot
Data series
series-1
--color-series-1
series-2
--color-series-2
series-3
--color-series-3
series-4
--color-series-4
series-5
--color-series-5
series-6
--color-series-6
bench-sp
--color-bench-sp
bench-nasdaq
--color-bench-nasdaq
bench-asx
--color-bench-asx
Tones (fill + ink pairs)
Brand gradient
Typography
Inter, as in the portal. One role per job; sizes in rem so Text size scales them.
- Displaytext-display · 40/44 · 600
- Large titletext-large-title · 30/36 · 700
- Titletext-title · 22/28 · 600
- Headlinetext-headline · 17/24 · 600
- Bodytext-body · 15/22 · 450
- Callouttext-callout · 14/20
- Footnotetext-footnote · 13/18
- Captiontext-caption · 12/16
- Microtext-micro · 11/14
- Eyebrowtext-eyebrow · 12 caps
Shape, space & elevation
20px gutter, 48px controls, 56px rows. Elevation in dp for Android.
Tile 12
Control 14
Card 20
Labels & identity
Controls
Selected states: segmented = raised white, chips = inverse fill, tabs = accent underline.
Fields
48px, sunken fill, accent focus ring. Label above, hint or error below.
Hint text sits here.
Enter a full email address.
Lists & cards
Inset group
With switch
Apple Inc.
AAPL · 24,800 shares
$6,200,000
+27.8%
Panel card
Hairline ring + soft shadow
The portal’s calm card. Use for data groups on white screens.
Dots card
Hero / featured content
Data viz
SVG, coloured by tokens. Charts scrub on drag.
Overlays
Bottom sheet: drag the grabber/title down to dismiss (25% or a flick). Toast: one at a time, above the tab bar.