Sprk Design System
Single source of truth for colour, typography, components, spacing and grid. All tokens live in src/styles.css.
Colour tokens
Primary
--primary+ /soft variant
Accent (purple)
--accent+ /soft variant
Foreground
--foregroundBackground
--backgroundCard
--cardMuted
--mutedBorder
--borderDestructive
--destructiveSidebar
--sidebar-bgPage
--page-bgStatus — pass uses purple, warning uses orange, fail uses red. Never use green.
Typography
H1 · 26/32 semibold
Insurance products at scale
H2 · 18/24 semibold
Section title
H3 · 15/22 semibold
Card title
Body · 14/22
The quick brown fox jumps over the lazy dog. 0123456789.
Caption · 12/18 muted
Supporting metadata, dates (DD-MM-YYYY).
Mono / code
font-family: Inter, system-ui;Inputs & controls
Cards

Life Force
Stat card
7,875
Total tests run
Featured
Generic content card with consistent border, radius and shadow.
Badges & status
PrimaryAccentMutedFailWarningPass
Tables
| Name | Modified | Status |
|---|---|---|
| Life Force | 12-05-2026 | in-progress |
| CI Test 02 | 08-05-2026 | todo |
| Family United Test 01 | 02-04-2026 | in-progress |
| Universal Life Updates | 18-02-2026 | done |
Grid & responsive rules
- Container: max-width 1600px, page padding
px-3 sm:px-6 lg:px-8. - Breakpoints: sm 640 · md 768 · lg 1024 · xl 1280 · 2xl 1536.
- Card grid: 1 col mobile → 2 sm → 3 lg → 4 xl.
- Spacing scale: 4 / 8 / 12 / 16 / 20 / 24 / 32 px (Tailwind 1–8).
- Radius: sm 8 · md 10 · lg 12 (default) · xl 16 · 2xl 20.
- Shadow:
shadow-smfor cards,shadow-lgon hover/elevated. - Mobile pattern: stack legends below charts; first table column sticky with right-edge shadow; horizontally scrollable.
- Dates: always render as DD-MM-YYYY across all surfaces.