Minimal · SaaS
Linear Orbit design system template
Dark, hairline product workspace: near-black canvas, Inter Tight with tight tracking, one indigo action color and 1px dividers at 8% white. Built for issue trackers, roadmaps and keyboard-first tools.
- WCAG AA verified
- Light + dark
- Tokens = preview
- Inter Tight
Ship the sync engine
38 issues · 71% complete · 3 days left
12 new issues from Intercom and Sentry waiting for an owner.
On track. Two issues are blocked by the API migration.
Sync engine v2 ships with cycle 25.
Personality. Linear Orbit is an engineered calm for tools people live in all day. The canvas is a near-black that never reaches pure black; structure comes from 1px hairlines at 8% white instead of boxes and shadows. Type is Inter Tight set small and tight, 13px UI labels, 14px body, so dense lists still breathe. Indigo `#5e6ad2` is the only saturated color in the chrome: it marks the primary action, the focused row and the active tab. Status colors appear only as 6px dots and small glyphs.
Hairline-only structure: 1px border dividers, no card shadows in dark mode
Small, tight UI type: 13px body-small and 12px medium labels keep dense lists legible
Indigo primary used for exactly three things: main action, focus ring, active state
Status as 6px colored dots beside mono IDs (ENG-142), never as filled pills
Command-bar first: every page has a ⌘K affordance in the nav
Color. 21 roles, both modes.
background
#08090a
foreground
#f7f8f8
card
#101113
cardForeground
#f7f8f8
muted
#18191c
mutedForeground
#8f949c
primary
#5e6ad2
primaryForeground
#ffffff
secondary
#1c1d21
secondaryForeground
#e6e7ea
accent
#1d1f2b
accentForeground
#d2d6ff
border
rgba(255,255,255,0.08)
input
rgba(255,255,255,0.12)
ring
#7c86e6
destructive
#e5484d
destructiveForeground
#08090a
success
#4cb782
successForeground
#08090a
warning
#f2c94c
warningForeground
#08090a
Type. Inter Tight · Inter · Fira Code
The file. Drop it in your repo.
1---2name: "Linear Orbit"3slug: "linear-orbit"4schema: "freedesignmd/v2"5description: "Dark, hairline product workspace: near-black canvas, Inter Tight with tight tracking, one indigo action color and 1px dividers at 8% white. Built for issue trackers, roadmaps and keyboard-first tools."6source: "https://freedesignmd.com/system/linear-orbit"7aesthetic: "minimal"8industry: "saas"9default_mode: "dark"10fonts:11 display: "Inter Tight"12 body: "Inter"13 mono: "Fira Code"14 google_fonts_url: "https://fonts.googleapis.com/css2?family=Inter+Tight:wght@500;600&family=Inter:wght@400;500;600&family=Fira+Code:wght@400;500&display=swap"15colors:16 light:17 background: "#fbfbfc"18 foreground: "#16171a"19 card: "#ffffff"20 cardForeground: "#16171a"21 muted: "#f1f2f4"22 mutedForeground: "#5d6168"23 primary: "#5e6ad2"24 primaryForeground: "#ffffff"25 secondary: "#eff0f3"26 secondaryForeground: "#16171a"27 accent: "#ececf9"28 accentForeground: "#2e3480"29 border: "rgba(22,23,26,0.09)"30 input: "rgba(22,23,26,0.14)"31 ring: "#5e6ad2"32 destructive: "#c42b2b"33 destructiveForeground: "#ffffff"34 success: "#1f7a4d"35 successForeground: "#ffffff"36 warning: "#f2c94c"37 warningForeground: "#2b2300"38 dark:39 background: "#08090a"40 foreground: "#f7f8f8"41 card: "#101113"42 cardForeground: "#f7f8f8"43 muted: "#18191c"44 mutedForeground: "#8f949c"45 primary: "#5e6ad2"46 primaryForeground: "#ffffff"47 secondary: "#1c1d21"48 secondaryForeground: "#e6e7ea"49 accent: "#1d1f2b"50 accentForeground: "#d2d6ff"51 border: "rgba(255,255,255,0.08)"52 input: "rgba(255,255,255,0.12)"53 ring: "#7c86e6"54 destructive: "#e5484d"55 destructiveForeground: "#08090a"56 success: "#4cb782"57 successForeground: "#08090a"58 warning: "#f2c94c"59 warningForeground: "#08090a"60chart:61 light: ["#5e6ad2", "#26b5ce", "#4cb782", "#f2994a", "#bb87fc"]62 dark: ["#7c86e6", "#26b5ce", "#4cb782", "#f2994a", "#bb87fc"]63type:64 display: { font: display, size: 64, size_mobile: 36, leading: 1.04, weight: 600, tracking: "-0.04em" }65 h1: { font: display, size: 40, size_mobile: 27, leading: 1.1, weight: 600, tracking: "-0.03em" }66 h2: { font: display, size: 24, size_mobile: 19, leading: 1.25, weight: 600, tracking: "-0.02em" }67 h3: { font: display, size: 17, size_mobile: 17, leading: 1.35, weight: 500, tracking: "-0.01em" }68 body: { font: body, size: 14, size_mobile: 14, leading: 1.55, weight: 400, tracking: "-0.006em" }69 small: { font: body, size: 13, size_mobile: 13, leading: 1.45, weight: 400, tracking: "0em" }70 label: { font: body, size: 12, size_mobile: 12, leading: 1.3, weight: 500, tracking: "0em" }71 mono: { font: mono, size: 12, size_mobile: 12, leading: 1.5, weight: 400, tracking: "0em" }72spacing: [4, 8, 12, 16, 20, 24, 32, 48, 64, 96]73radius: { sm: "4px", md: "6px", lg: "10px", xl: "14px", full: "9999px" }74shadow:75 light:76 sm: "0 1px 2px rgba(16,17,20,0.06)"77 md: "0 4px 16px -4px rgba(16,17,20,0.12), 0 1px 2px rgba(16,17,20,0.06)"78 lg: "0 24px 64px -16px rgba(16,17,20,0.28), 0 0 0 1px rgba(16,17,20,0.06)"79 dark:80 sm: "0 0 0 1px rgba(255,255,255,0.06)"81 md: "0 0 0 1px rgba(255,255,255,0.08), 0 8px 24px -8px rgba(0,0,0,0.6)"82 lg: "0 0 0 1px rgba(255,255,255,0.1), 0 32px 80px -16px rgba(0,0,0,0.8)"83motion:84 duration_ms: { instant: 80, fast: 120, base: 180, slow: 320 }85 easing: { standard: "cubic-bezier(0.25, 0.1, 0.25, 1)", out: "cubic-bezier(0.16, 1, 0.3, 1)", in: "cubic-bezier(0.4, 0, 1, 1)" }86 reveal: { distance_px: 8, stagger_ms: 40 }87layout: { max_width: 1200, columns: 12, gutter: 24, section_y: 96, section_y_mobile: 56, measure: "64ch" }88---89 90# Linear Orbit, DESIGN.md91 92> Dark, hairline product workspace: near-black canvas, Inter Tight with tight tracking, one indigo action color and 1px dividers at 8% white. Built for issue trackers, roadmaps and keyboard-first tools.93 94## How to use this file95 961. Save this file as `DESIGN.md` in the project root and paste the `tokens.css` block (section 10) into your global stylesheet, or import `https://freedesignmd.com/system/linear-orbit.css`, which also contains every component class.972. **Claude Code:** add `Before any UI work, read @DESIGN.md and use only its tokens and component recipes.` to `CLAUDE.md`.983. **Cursor:** create `.cursor/rules/design.mdc` with `alwaysApply: true` and the line `Follow @DESIGN.md for every color, font, radius, shadow, spacing and duration.`994. **Lovable:** paste section 10 into `src/index.css` and add this file to Project Knowledge; ask for changes by role name (`primary`, `muted-foreground`), never by hex.1005. Default mode is **dark**: put `class="dark"` on `<html>`; light mode is the same file without the class. Use semantic names only (`bg-primary`, `text-muted-foreground`, `.btn-primary`, `var(--radius-lg)`); if a value is not in this file, it does not belong in the UI.101 102## 1. Overview & personality103 104Linear Orbit is an engineered calm for tools people live in all day. The canvas is a near-black that never reaches pure black; structure comes from 1px hairlines at 8% white instead of boxes and shadows. Type is Inter Tight set small and tight, 13px UI labels, 14px body, so dense lists still breathe. Indigo `#5e6ad2` is the only saturated color in the chrome: it marks the primary action, the focused row and the active tab. Status colors appear only as 6px dots and small glyphs.105 106**At a glance**107 108- Aesthetic: Minimal · Industry: SaaS · Default mode: dark109- Type: Inter Tight (display) · Inter (body) · Fira Code (mono)110- Brand color (`primary`): `#5e6ad2` light · `#5e6ad2` dark, on primary, text is `#ffffff` / `#ffffff`111- Corners: 4px / 6px / 10px / 14px · Container 1200px · Base motion 180ms112 113**Signature moves**114 115- Hairline-only structure: 1px `border` dividers, no card shadows in dark mode116- Small, tight UI type: 13px body-small and 12px medium labels keep dense lists legible117- Indigo `primary` used for exactly three things: main action, focus ring, active state118- Status as 6px colored dots beside mono IDs (`ENG-142`), never as filled pills119- Command-bar first: every page has a ⌘K affordance in the nav120 121## 2. Color122 123Roles follow shadcn/ui naming, so `primary` is always the brand / main-action color and `foreground` is always body text. Every text pair below is WCAG AA (≥ 4.5:1) in both modes.124 125### Light mode (`:root`)126 127| Role | CSS variable | Value | Contrast | Usage |128|---|---|---|---|---|129| `background` | `--background` | `#fbfbfc` | | Page canvas |130| `foreground` | `--foreground` | `#16171a` | 17.33:1 on background | Body text and headings on background |131| `card` | `--card` | `#ffffff` | | Cards, panels, popovers |132| `cardForeground` | `--card-foreground` | `#16171a` | 17.92:1 on card | Text on card |133| `muted` | `--muted` | `#f1f2f4` | | Subtle fills: table headers, code, skeletons |134| `mutedForeground` | `--muted-foreground` | `#5d6168` | 5.55:1 on muted | Secondary text, captions, placeholders |135| `primary` | `--primary` | `#5e6ad2` | | Brand color: primary buttons, links, focus, active states |136| `primaryForeground` | `--primary-foreground` | `#ffffff` | 4.70:1 on primary | Text and icons on primary |137| `secondary` | `--secondary` | `#eff0f3` | | Secondary buttons and quiet fills |138| `secondaryForeground` | `--secondary-foreground` | `#16171a` | 15.73:1 on secondary | Text on secondary |139| `accent` | `--accent` | `#ececf9` | | Hover and selected backgrounds (rows, menu items, ghost buttons) |140| `accentForeground` | `--accent-foreground` | `#2e3480` | 9.34:1 on accent | Text on accent |141| `border` | `--border` | `rgba(22,23,26,0.09)` | | Dividers and card outlines |142| `input` | `--input` | `rgba(22,23,26,0.14)` | | Input borders |143| `ring` | `--ring` | `#5e6ad2` | | Focus ring |144| `destructive` | `--destructive` | `#c42b2b` | | Errors and destructive actions |145| `destructiveForeground` | `--destructive-foreground` | `#ffffff` | 5.63:1 on destructive | Text on destructive |146| `success` | `--success` | `#1f7a4d` | | Positive status |147| `successForeground` | `--success-foreground` | `#ffffff` | 5.32:1 on success | Text on success |148| `warning` | `--warning` | `#f2c94c` | | Caution status |149| `warningForeground` | `--warning-foreground` | `#2b2300` | 9.85:1 on warning | Text on warning |150| `chart-1…5` | `--chart-1…5` | `#5e6ad2` `#26b5ce` `#4cb782` `#f2994a` `#bb87fc` | | Data series, in this order |151 152### Dark mode (`.dark`)153 154| Role | CSS variable | Value | Contrast | Usage |155|---|---|---|---|---|156| `background` | `--background` | `#08090a` | | Page canvas |157| `foreground` | `--foreground` | `#f7f8f8` | 18.73:1 on background | Body text and headings on background |158| `card` | `--card` | `#101113` | | Cards, panels, popovers |159| `cardForeground` | `--card-foreground` | `#f7f8f8` | 17.76:1 on card | Text on card |160| `muted` | `--muted` | `#18191c` | | Subtle fills: table headers, code, skeletons |161| `mutedForeground` | `--muted-foreground` | `#8f949c` | 5.76:1 on muted | Secondary text, captions, placeholders |162| `primary` | `--primary` | `#5e6ad2` | | Brand color: primary buttons, links, focus, active states |163| `primaryForeground` | `--primary-foreground` | `#ffffff` | 4.70:1 on primary | Text and icons on primary |164| `secondary` | `--secondary` | `#1c1d21` | | Secondary buttons and quiet fills |165| `secondaryForeground` | `--secondary-foreground` | `#e6e7ea` | 13.62:1 on secondary | Text on secondary |166| `accent` | `--accent` | `#1d1f2b` | | Hover and selected backgrounds (rows, menu items, ghost buttons) |167| `accentForeground` | `--accent-foreground` | `#d2d6ff` | 11.54:1 on accent | Text on accent |168| `border` | `--border` | `rgba(255,255,255,0.08)` | | Dividers and card outlines |169| `input` | `--input` | `rgba(255,255,255,0.12)` | | Input borders |170| `ring` | `--ring` | `#7c86e6` | | Focus ring |171| `destructive` | `--destructive` | `#e5484d` | | Errors and destructive actions |172| `destructiveForeground` | `--destructive-foreground` | `#08090a` | 5.09:1 on destructive | Text on destructive |173| `success` | `--success` | `#4cb782` | | Positive status |174| `successForeground` | `--success-foreground` | `#08090a` | 7.97:1 on success | Text on success |175| `warning` | `--warning` | `#f2c94c` | | Caution status |176| `warningForeground` | `--warning-foreground` | `#08090a` | 12.56:1 on warning | Text on warning |177| `chart-1…5` | `--chart-1…5` | `#7c86e6` `#26b5ce` `#4cb782` `#f2994a` `#bb87fc` | | Data series, in this order |178 179## 3. Typography180 181Load fonts with:182 183```html184<link rel="preconnect" href="https://fonts.googleapis.com" />185<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />186<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter+Tight:wght@500;600&family=Inter:wght@400;500;600&family=Fira+Code:wght@400;500&display=swap" />187```188 189| Role | Font | Size (390px → 1440px) | Line height | Weight | Tracking | Style | Class |190|---|---|---|---|---|---|---|---|191| `display` | Inter Tight | 36px → 64px | 1.04 | 600 | -0.04em | – | `.type-display` |192| `h1` | Inter Tight | 27px → 40px | 1.1 | 600 | -0.03em | – | `.type-h1` |193| `h2` | Inter Tight | 19px → 24px | 1.25 | 600 | -0.02em | – | `.type-h2` |194| `h3` | Inter Tight | 17px | 1.35 | 500 | -0.01em | – | `.type-h3` |195| `body` | Inter | 14px | 1.55 | 400 | -0.006em | – | `.type-body` |196| `small` | Inter | 13px | 1.45 | 400 | 0em | – | `.type-small` |197| `label` | Inter | 12px | 1.3 | 500 | 0em | – | `.type-label` |198| `mono` | Fira Code | 12px | 1.5 | 400 | 0em | – | `.type-mono` |199 200- `h1`–`h3` elements map to the roles of the same name; `display` is for one hero headline per page.201- Fluid sizes use `clamp()` between the two values (see `--type-*-size` in tokens.css).202- Only the weights in this table are loaded; never use other weights.203 204## 4. Spacing & layout205 206Spacing is a 4px scale. Use these steps only (`--space-N` = N × 4px):207 208| Token | `--space-1` | `--space-2` | `--space-3` | `--space-4` | `--space-5` | `--space-6` | `--space-8` | `--space-12` | `--space-16` | `--space-24` |209|---|---|---|---|---|---|---|---|---|---|---|210| px | 4 | 8 | 12 | 16 | 20 | 24 | 32 | 48 | 64 | 96 |211 212- Container: max 1200px, 24px side gutters (`.container`).213- Grid: 12 columns, 24px gap.214- Sections: 96px vertical padding on desktop, 56px on mobile (`.section`).215- Long text: max 64ch per line (`.prose`).216- App shell: 240px sidebar, 48px top bar, content list with 40px rows.217- Marketing pages center a 1200px container; product screenshots bleed to 1320px.218- Lists use 1px `border` row dividers; never zebra-stripe.219 220## 5. Shape & elevation221 222| Radius | Value | Use |223|---|---|---|224| `--radius-sm` | 4px | badges, checkboxes, small chips |225| `--radius-md` | 6px | buttons, inputs, tabs (= shadcn `--radius`) |226| `--radius-lg` | 10px | cards, panels, menus |227| `--radius-xl` | 14px | dialogs, hero media, large surfaces |228| `--radius-full` | 9999px | avatars, pills, toggles |229 230| Shadow | Mode | Value |231|---|---|---|232| `--shadow-sm` | light | `0 1px 2px rgba(16,17,20,0.06)` |233| `--shadow-md` | light | `0 4px 16px -4px rgba(16,17,20,0.12), 0 1px 2px rgba(16,17,20,0.06)` |234| `--shadow-lg` | light | `0 24px 64px -16px rgba(16,17,20,0.28), 0 0 0 1px rgba(16,17,20,0.06)` |235| `--shadow-sm` | dark | `0 0 0 1px rgba(255,255,255,0.06)` |236| `--shadow-md` | dark | `0 0 0 1px rgba(255,255,255,0.08), 0 8px 24px -8px rgba(0,0,0,0.6)` |237| `--shadow-lg` | dark | `0 0 0 1px rgba(255,255,255,0.1), 0 32px 80px -16px rgba(0,0,0,0.8)` |238 239`sm` = resting card · `md` = hover / raised · `lg` = dialogs and popovers. Nothing else casts a shadow.240 241## 6. Motion242 243**Snap and settle.** Interactions respond almost instantly (hover in 120ms, press in 80ms) and nothing bounces. Panels slide 8px and fade with a long-tail ease-out so the UI feels fast, not animated.244 245| Token | Value | Use |246|---|---|---|247| `--duration-instant` | 80ms | press feedback, toggles |248| `--duration-fast` | 120ms | hover, focus, color changes |249| `--duration-base` | 180ms | menus, tabs, popovers, cards lifting |250| `--duration-slow` | 320ms | dialogs and scroll reveals |251| `--ease-standard` | `cubic-bezier(0.25, 0.1, 0.25, 1)` | state changes |252| `--ease-out` | `cubic-bezier(0.16, 1, 0.3, 1)` | entrances and reveals |253| `--ease-in` | `cubic-bezier(0.4, 0, 1, 1)` | exits |254 255- Scroll reveal (`.reveal` → `.reveal.is-in` via IntersectionObserver): rise 8px and fade over `--duration-slow` with `--ease-out`; siblings stagger by 40ms (`--reveal-index`).256- Use no durations other than the four above.257- `prefers-reduced-motion: reduce` → no transforms, reveals show immediately (included in tokens.css).258 259## 7. Components260 261Every component reads only variables from section 10, so light and dark mode work with no extra code. These are the exact rules (also in `https://freedesignmd.com/system/linear-orbit.css`). In React/shadcn projects, put the same declarations on the matching shadcn component variants.262 263### Button264 265```html266<button class="btn btn-primary">Save</button> <!-- btn-secondary · btn-outline · btn-ghost -->267```268 269```css270.btn {271 display: inline-flex;272 align-items: center;273 justify-content: center;274 gap: 8px;275 height: 32px;276 padding: 0 12px;277 font-family: var(--font-sans);278 font-size: 13px;279 font-weight: 500;280 letter-spacing: -0.006em;281 border-radius: var(--radius-md);282 border: 1px solid transparent;283 white-space: nowrap;284 cursor: pointer;285 text-decoration: none;286 transition: background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);287}288.btn-primary {289 background: var(--primary);290 color: var(--primary-foreground);291 box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);292}293.btn-primary:hover:not(:disabled) {294 background: color-mix(in oklab, var(--primary) 88%, white);295}296.btn-primary:active:not(:disabled) {297 background: color-mix(in oklab, var(--primary) 90%, black);298 transform: translateY(0.5px);299}300.btn-secondary {301 background: var(--secondary);302 color: var(--secondary-foreground);303 border-color: var(--border);304}305.btn-secondary:hover:not(:disabled) {306 background: var(--accent);307 color: var(--accent-foreground);308}309.btn-secondary:active:not(:disabled) {310 background: var(--muted);311}312.btn-outline {313 background: transparent;314 color: var(--foreground);315 border-color: var(--input);316}317.btn-outline:hover:not(:disabled) {318 border-color: var(--muted-foreground);319 background: var(--muted);320}321.btn-outline:active:not(:disabled) {322 background: var(--secondary);323}324.btn-ghost {325 background: transparent;326 color: var(--muted-foreground);327}328.btn-ghost:hover:not(:disabled) {329 background: var(--muted);330 color: var(--foreground);331}332.btn-ghost:active:not(:disabled) {333 background: var(--secondary);334}335.btn:focus-visible {336 outline: 2px solid var(--ring);337 outline-offset: 2px;338}339.btn:disabled, .btn[aria-disabled="true"] {340 opacity: 0.45;341 cursor: not-allowed;342 box-shadow: none;343}344```345 346### Input347 348```html349<input class="input" placeholder="you@company.com" /> <!-- aria-invalid="true" for errors -->350```351 352```css353.input {354 display: block;355 width: 100%;356 height: 32px;357 padding: 0 10px;358 font-family: var(--font-sans);359 font-size: 13px;360 color: var(--foreground);361 background: var(--card);362 border: 1px solid var(--input);363 border-radius: var(--radius-md);364 outline: none;365 transition: border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard);366}367.input::placeholder {368 color: var(--muted-foreground);369 opacity: 1;370}371.input:hover:not(:disabled):not(:focus) {372 border-color: var(--muted-foreground);373}374.input:focus, .input:focus-visible {375 border-color: var(--ring);376 box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 24%, transparent);377}378.input[aria-invalid="true"] {379 border-color: var(--destructive);380 box-shadow: 0 0 0 3px color-mix(in oklab, var(--destructive) 22%, transparent);381}382.input:disabled {383 opacity: 0.5;384 cursor: not-allowed;385 background: var(--muted);386}387```388 389### Card390 391```html392<article class="card">…</article> <!-- add card-interactive when the whole card is a link -->393```394 395```css396.card {397 background: var(--card);398 color: var(--card-foreground);399 border: 1px solid var(--border);400 border-radius: var(--radius-lg);401 box-shadow: var(--shadow-sm);402 transition: border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);403}404.card-interactive:hover {405 border-color: var(--input);406 box-shadow: var(--shadow-md);407}408```409 410### Badge411 412```html413<span class="badge badge-soft" data-tone="success">Paid</span> <!-- badge-solid · badge-outline; tones: primary (default) · success · warning · destructive -->414```415 416```css417.badge {418 --tone: var(--primary);419 --tone-foreground: var(--primary-foreground);420 display: inline-flex;421 align-items: center;422 gap: 6px;423 height: 20px;424 padding: 0 8px;425 border-radius: var(--radius-full);426 font-family: var(--font-sans);427 font-size: 11px;428 font-weight: 500;429 line-height: 1;430}431.badge[data-tone="success"] {432 --tone: var(--success);433 --tone-foreground: var(--success-foreground);434}435.badge[data-tone="warning"] {436 --tone: var(--warning);437 --tone-foreground: var(--warning-foreground);438}439.badge[data-tone="destructive"] {440 --tone: var(--destructive);441 --tone-foreground: var(--destructive-foreground);442}443.badge-solid {444 background: var(--tone);445 color: var(--tone-foreground);446}447.badge-soft {448 background: color-mix(in oklab, var(--tone) 16%, transparent);449 color: var(--foreground);450}451.badge-outline {452 border: 1px solid var(--border);453 color: var(--muted-foreground);454 background: transparent;455}456```457 458### Navigation bar459 460```html461<nav class="nav"><a class="nav-link" aria-current="page">Home</a><a class="nav-link">Docs</a></nav>462```463 464```css465.nav {466 display: flex;467 align-items: center;468 gap: 4px;469 height: 48px;470 padding: 0 16px;471 background: color-mix(in oklab, var(--background) 82%, transparent);472 backdrop-filter: blur(12px);473 border-bottom: 1px solid var(--border);474}475.nav-link {476 padding: 6px 10px;477 border-radius: var(--radius-md);478 font-size: 13px;479 font-weight: 500;480 color: var(--muted-foreground);481 text-decoration: none;482 transition: color var(--duration-fast) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard);483}484.nav-link:hover {485 color: var(--foreground);486 background: var(--muted);487}488.nav-link[aria-current="page"] {489 color: var(--foreground);490 background: var(--secondary);491}492```493 494### Tabs495 496```html497<div class="tabs" role="tablist"><button class="tab" role="tab" aria-selected="true">Overview</button>…</div>498```499 500```css501.tabs {502 display: flex;503 gap: 20px;504 border-bottom: 1px solid var(--border);505}506.tab {507 position: relative;508 height: 36px;509 padding: 0;510 background: none;511 border: 0;512 border-bottom: 2px solid transparent;513 margin-bottom: -1px;514 font-size: 13px;515 font-weight: 500;516 color: var(--muted-foreground);517 cursor: pointer;518 transition: color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);519}520.tab:hover:not([aria-selected="true"]) {521 color: var(--foreground);522}523.tab[aria-selected="true"] {524 color: var(--foreground);525 border-bottom-color: var(--primary);526}527```528 529### Table530 531```html532<table class="table"><thead><tr><th>…</th></tr></thead><tbody><tr><td>…</td></tr></tbody></table>533```534 535```css536.table {537 width: 100%;538 border-collapse: collapse;539 font-size: 13px;540}541.table th {542 text-align: left;543 height: 32px;544 padding: 0 12px;545 font-weight: 500;546 font-size: 12px;547 color: var(--muted-foreground);548 border-bottom: 1px solid var(--border);549}550.table td {551 height: 40px;552 padding: 0 12px;553 border-bottom: 1px solid var(--border);554 color: var(--foreground);555 transition: background-color var(--duration-instant) var(--ease-standard);556}557.table tbody tr:hover td {558 background: var(--muted);559}560```561 562### Dialog / modal563 564```html565<div class="dialog-overlay"><div class="dialog" role="dialog" aria-modal="true">…</div></div>566```567 568```css569.dialog-overlay {570 position: fixed;571 inset: 0;572 background: rgba(4,5,6,0.6);573 backdrop-filter: blur(4px);574 -webkit-backdrop-filter: blur(4px);575 display: grid;576 place-items: center;577 padding: 24px;578}579.dialog {580 width: min(560px, 100%);581 background: var(--card);582 color: var(--card-foreground);583 border: 1px solid var(--border);584 border-radius: var(--radius-xl);585 box-shadow: var(--shadow-lg);586 padding: 20px;587}588```589 590### Text link591 592```html593<a class="link" href="…">Read more</a>594```595 596```css597.link {598 color: var(--foreground);599 text-decoration: underline;600 text-decoration-color: var(--input);601 text-underline-offset: 3px;602 transition: text-decoration-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);603}604.link:hover {605 text-decoration-color: var(--primary);606}607```608 609## 8. Imagery & iconography610 611**Imagery.** Product UI is the imagery: real screenshots of lists, boards and timelines in dark mode, cropped at a slight angle or bleeding off the container edge, with a faint indigo glow behind them. No stock photography, no illustrations of people.612 613**Icons.** 16px line icons with 1.5px stroke (Lucide), `muted-foreground` at rest, `foreground` on hover. Status uses 14px circle glyphs (backlog dashed, in progress half-filled, done check).614 615## 9. Do / Don't616 617**Do**618 619- Keep rows at 40px and labels at 13px; density is a feature620- Use `primary` (#5e6ad2) for the single main action per view and for the focused row only621- Show keyboard shortcuts as `mono` 11px keycaps next to menu items622- Separate regions with 1px `border` lines, not background blocks623- Use `muted-foreground` for metadata (assignee, date, ID)624 625**Don't**626 627- Don't add drop shadows to cards in dark mode, the hairline is the elevation628- Don't introduce a second saturated brand color; chart colors are for data only629- Don't use filled status pills, use a 6px dot plus text630- Don't round anything beyond `--radius-xl` (14px), except avatars631- Don't set body copy above 15px inside the app shell632 633## 10. tokens.css634 635Drop-in, shadcn/ui-compatible. Works with Tailwind v4 as-is (the `@theme inline` block creates `bg-primary`, `text-muted-foreground`, `font-heading`, `text-display`, `rounded-ui-lg`, `shadow-ui-md`…). Plain CSS projects can ignore the `@theme` block.636 637```css638/* Linear Orbit, tokens.css639 * https://freedesignmd.com/system/linear-orbit640 * shadcn/ui-compatible variables. Light on :root, dark on .dark.641 * Default mode: dark, add class="dark" to <html>.642 */643@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@500;600&family=Inter:wght@400;500;600&family=Fira+Code:wght@400;500&display=swap");644 645:root {646 --font-display: "Inter Tight", ui-sans-serif, system-ui, -apple-system, sans-serif;647 --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;648 --font-mono: "Fira Code", ui-monospace, SFMono-Regular, Menlo, monospace;649 --type-display-size: clamp(36px, 25.60px + 2.667vw, 64px);650 --type-display-leading: 1.04;651 --type-display-weight: 600;652 --type-display-tracking: -0.04em;653 --type-h1-size: clamp(27px, 22.17px + 1.238vw, 40px);654 --type-h1-leading: 1.1;655 --type-h1-weight: 600;656 --type-h1-tracking: -0.03em;657 --type-h2-size: clamp(19px, 17.14px + 0.476vw, 24px);658 --type-h2-leading: 1.25;659 --type-h2-weight: 600;660 --type-h2-tracking: -0.02em;661 --type-h3-size: 17px;662 --type-h3-leading: 1.35;663 --type-h3-weight: 500;664 --type-h3-tracking: -0.01em;665 --type-body-size: 14px;666 --type-body-leading: 1.55;667 --type-body-weight: 400;668 --type-body-tracking: -0.006em;669 --type-small-size: 13px;670 --type-small-leading: 1.45;671 --type-small-weight: 400;672 --type-small-tracking: 0em;673 --type-label-size: 12px;674 --type-label-leading: 1.3;675 --type-label-weight: 500;676 --type-label-tracking: 0em;677 --type-mono-size: 12px;678 --type-mono-leading: 1.5;679 --type-mono-weight: 400;680 --type-mono-tracking: 0em;681 --space-1: 4px;682 --space-2: 8px;683 --space-3: 12px;684 --space-4: 16px;685 --space-5: 20px;686 --space-6: 24px;687 --space-8: 32px;688 --space-12: 48px;689 --space-16: 64px;690 --space-24: 96px;691 --radius: 6px;692 --radius-sm: 4px;693 --radius-md: 6px;694 --radius-lg: 10px;695 --radius-xl: 14px;696 --radius-full: 9999px;697 --duration-instant: 80ms;698 --duration-fast: 120ms;699 --duration-base: 180ms;700 --duration-slow: 320ms;701 --ease-standard: cubic-bezier(0.25, 0.1, 0.25, 1);702 --ease-out: cubic-bezier(0.16, 1, 0.3, 1);703 --ease-in: cubic-bezier(0.4, 0, 1, 1);704 --reveal-distance: 8px;705 --reveal-stagger: 40ms;706 --container-max: 1200px;707 --gutter: 24px;708 --section-y: 96px;709 --section-y-mobile: 56px;710 --measure: 64ch;711 --background: #fbfbfc;712 --foreground: #16171a;713 --card: #ffffff;714 --card-foreground: #16171a;715 --muted: #f1f2f4;716 --muted-foreground: #5d6168;717 --primary: #5e6ad2;718 --primary-foreground: #ffffff;719 --secondary: #eff0f3;720 --secondary-foreground: #16171a;721 --accent: #ececf9;722 --accent-foreground: #2e3480;723 --border: rgba(22,23,26,0.09);724 --input: rgba(22,23,26,0.14);725 --ring: #5e6ad2;726 --destructive: #c42b2b;727 --destructive-foreground: #ffffff;728 --success: #1f7a4d;729 --success-foreground: #ffffff;730 --warning: #f2c94c;731 --warning-foreground: #2b2300;732 --chart-1: #5e6ad2;733 --chart-2: #26b5ce;734 --chart-3: #4cb782;735 --chart-4: #f2994a;736 --chart-5: #bb87fc;737 --shadow-sm: 0 1px 2px rgba(16,17,20,0.06);738 --shadow-md: 0 4px 16px -4px rgba(16,17,20,0.12), 0 1px 2px rgba(16,17,20,0.06);739 --shadow-lg: 0 24px 64px -16px rgba(16,17,20,0.28), 0 0 0 1px rgba(16,17,20,0.06);740}741 742.dark {743 --background: #08090a;744 --foreground: #f7f8f8;745 --card: #101113;746 --card-foreground: #f7f8f8;747 --muted: #18191c;748 --muted-foreground: #8f949c;749 --primary: #5e6ad2;750 --primary-foreground: #ffffff;751 --secondary: #1c1d21;752 --secondary-foreground: #e6e7ea;753 --accent: #1d1f2b;754 --accent-foreground: #d2d6ff;755 --border: rgba(255,255,255,0.08);756 --input: rgba(255,255,255,0.12);757 --ring: #7c86e6;758 --destructive: #e5484d;759 --destructive-foreground: #08090a;760 --success: #4cb782;761 --success-foreground: #08090a;762 --warning: #f2c94c;763 --warning-foreground: #08090a;764 --chart-1: #7c86e6;765 --chart-2: #26b5ce;766 --chart-3: #4cb782;767 --chart-4: #f2994a;768 --chart-5: #bb87fc;769 --shadow-sm: 0 0 0 1px rgba(255,255,255,0.06);770 --shadow-md: 0 0 0 1px rgba(255,255,255,0.08), 0 8px 24px -8px rgba(0,0,0,0.6);771 --shadow-lg: 0 0 0 1px rgba(255,255,255,0.1), 0 32px 80px -16px rgba(0,0,0,0.8);772}773 774/* Tailwind v4: utilities like bg-primary, text-muted-foreground, font-heading, text-display, rounded-ui-lg, shadow-ui-md */775@theme inline {776 --color-background: var(--background);777 --color-foreground: var(--foreground);778 --color-card: var(--card);779 --color-card-foreground: var(--card-foreground);780 --color-muted: var(--muted);781 --color-muted-foreground: var(--muted-foreground);782 --color-primary: var(--primary);783 --color-primary-foreground: var(--primary-foreground);784 --color-secondary: var(--secondary);785 --color-secondary-foreground: var(--secondary-foreground);786 --color-accent: var(--accent);787 --color-accent-foreground: var(--accent-foreground);788 --color-border: var(--border);789 --color-input: var(--input);790 --color-ring: var(--ring);791 --color-destructive: var(--destructive);792 --color-destructive-foreground: var(--destructive-foreground);793 --color-success: var(--success);794 --color-success-foreground: var(--success-foreground);795 --color-warning: var(--warning);796 --color-warning-foreground: var(--warning-foreground);797 --color-chart-1: var(--chart-1);798 --color-chart-2: var(--chart-2);799 --color-chart-3: var(--chart-3);800 --color-chart-4: var(--chart-4);801 --color-chart-5: var(--chart-5);802 --font-heading: var(--font-display);803 --font-body: var(--font-sans);804 --font-code: var(--font-mono);805 --radius-ui-sm: var(--radius-sm);806 --radius-ui-md: var(--radius-md);807 --radius-ui-lg: var(--radius-lg);808 --radius-ui-xl: var(--radius-xl);809 --text-display: var(--type-display-size);810 --text-display--line-height: var(--type-display-leading);811 --text-display--letter-spacing: var(--type-display-tracking);812 --text-display--font-weight: var(--type-display-weight);813 --text-h1: var(--type-h1-size);814 --text-h1--line-height: var(--type-h1-leading);815 --text-h1--letter-spacing: var(--type-h1-tracking);816 --text-h1--font-weight: var(--type-h1-weight);817 --text-h2: var(--type-h2-size);818 --text-h2--line-height: var(--type-h2-leading);819 --text-h2--letter-spacing: var(--type-h2-tracking);820 --text-h2--font-weight: var(--type-h2-weight);821 --text-h3: var(--type-h3-size);822 --text-h3--line-height: var(--type-h3-leading);823 --text-h3--letter-spacing: var(--type-h3-tracking);824 --text-h3--font-weight: var(--type-h3-weight);825 --text-body: var(--type-body-size);826 --text-body--line-height: var(--type-body-leading);827 --text-body--letter-spacing: var(--type-body-tracking);828 --text-body--font-weight: var(--type-body-weight);829 --text-small: var(--type-small-size);830 --text-small--line-height: var(--type-small-leading);831 --text-small--letter-spacing: var(--type-small-tracking);832 --text-small--font-weight: var(--type-small-weight);833 --text-label: var(--type-label-size);834 --text-label--line-height: var(--type-label-leading);835 --text-label--letter-spacing: var(--type-label-tracking);836 --text-label--font-weight: var(--type-label-weight);837 --text-mono: var(--type-mono-size);838 --text-mono--line-height: var(--type-mono-leading);839 --text-mono--letter-spacing: var(--type-mono-tracking);840 --text-mono--font-weight: var(--type-mono-weight);841 --shadow-ui-sm: var(--shadow-sm);842 --shadow-ui-md: var(--shadow-md);843 --shadow-ui-lg: var(--shadow-lg);844}845 846@layer base {847 body {848 background: var(--background);849 color: var(--foreground);850 font-family: var(--font-sans);851 font-size: var(--type-body-size);852 line-height: var(--type-body-leading);853 font-weight: var(--type-body-weight);854 letter-spacing: var(--type-body-tracking);855 -webkit-font-smoothing: antialiased;856 }857 .type-display {858 font-family: var(--font-display);859 font-size: var(--type-display-size);860 line-height: var(--type-display-leading);861 font-weight: var(--type-display-weight);862 letter-spacing: var(--type-display-tracking);863 }864 .type-h1 {865 font-family: var(--font-display);866 font-size: var(--type-h1-size);867 line-height: var(--type-h1-leading);868 font-weight: var(--type-h1-weight);869 letter-spacing: var(--type-h1-tracking);870 }871 .type-h2 {872 font-family: var(--font-display);873 font-size: var(--type-h2-size);874 line-height: var(--type-h2-leading);875 font-weight: var(--type-h2-weight);876 letter-spacing: var(--type-h2-tracking);877 }878 .type-h3 {879 font-family: var(--font-display);880 font-size: var(--type-h3-size);881 line-height: var(--type-h3-leading);882 font-weight: var(--type-h3-weight);883 letter-spacing: var(--type-h3-tracking);884 }885 .type-body {886 font-family: var(--font-sans);887 font-size: var(--type-body-size);888 line-height: var(--type-body-leading);889 font-weight: var(--type-body-weight);890 letter-spacing: var(--type-body-tracking);891 }892 .type-small {893 font-family: var(--font-sans);894 font-size: var(--type-small-size);895 line-height: var(--type-small-leading);896 font-weight: var(--type-small-weight);897 letter-spacing: var(--type-small-tracking);898 }899 .type-label {900 font-family: var(--font-sans);901 font-size: var(--type-label-size);902 line-height: var(--type-label-leading);903 font-weight: var(--type-label-weight);904 letter-spacing: var(--type-label-tracking);905 }906 .type-mono {907 font-family: var(--font-mono);908 font-size: var(--type-mono-size);909 line-height: var(--type-mono-leading);910 font-weight: var(--type-mono-weight);911 letter-spacing: var(--type-mono-tracking);912 }913 h1 {914 font-family: var(--font-display);915 font-size: var(--type-h1-size);916 line-height: var(--type-h1-leading);917 font-weight: var(--type-h1-weight);918 letter-spacing: var(--type-h1-tracking);919 }920 h2 {921 font-family: var(--font-display);922 font-size: var(--type-h2-size);923 line-height: var(--type-h2-leading);924 font-weight: var(--type-h2-weight);925 letter-spacing: var(--type-h2-tracking);926 }927 h3 {928 font-family: var(--font-display);929 font-size: var(--type-h3-size);930 line-height: var(--type-h3-leading);931 font-weight: var(--type-h3-weight);932 letter-spacing: var(--type-h3-tracking);933 }934 code, kbd, samp, pre {935 font-family: var(--font-mono);936 }937 ::selection {938 background: var(--primary);939 color: var(--primary-foreground);940 }941 .container {942 width: 100%;943 max-width: var(--container-max);944 margin-inline: auto;945 padding-inline: var(--gutter);946 }947 .section {948 padding-block: var(--section-y);949 }950 .prose {951 max-width: var(--measure);952 }953 .reveal {954 opacity: 0;955 transform: translateY(var(--reveal-distance));956 transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);957 transition-delay: calc(var(--reveal-index, 0) * var(--reveal-stagger));958 }959 .reveal.is-in {960 opacity: 1;961 transform: none;962 }963 @media (prefers-reduced-motion: reduce) {964 .reveal { opacity: 1; transform: none; transition: none; }965 *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; }966 }967}968```969 970Tailwind v3:971 972```js973// tailwind.config.js, Tailwind v3 (v4 users: the @theme block in tokens.css does this)974module.exports = {975 darkMode: "class",976 theme: {977 extend: {978 colors: {979 "background": "var(--background)",980 "foreground": "var(--foreground)",981 "card": { DEFAULT: "var(--card)", foreground: "var(--card-foreground)" },982 "muted": { DEFAULT: "var(--muted)", foreground: "var(--muted-foreground)" },983 "primary": { DEFAULT: "var(--primary)", foreground: "var(--primary-foreground)" },984 "secondary": { DEFAULT: "var(--secondary)", foreground: "var(--secondary-foreground)" },985 "accent": { DEFAULT: "var(--accent)", foreground: "var(--accent-foreground)" },986 "border": "var(--border)",987 "input": "var(--input)",988 "ring": "var(--ring)",989 "destructive": { DEFAULT: "var(--destructive)", foreground: "var(--destructive-foreground)" },990 "success": { DEFAULT: "var(--success)", foreground: "var(--success-foreground)" },991 "warning": { DEFAULT: "var(--warning)", foreground: "var(--warning-foreground)" },992 chart: { 1: "var(--chart-1)", 2: "var(--chart-2)", 3: "var(--chart-3)", 4: "var(--chart-4)", 5: "var(--chart-5)" },993 },994 fontFamily: { heading: ["var(--font-display)"], body: ["var(--font-sans)"], code: ["var(--font-mono)"] },995 borderRadius: { "ui-sm": "var(--radius-sm)", "ui-md": "var(--radius-md)", "ui-lg": "var(--radius-lg)", "ui-xl": "var(--radius-xl)" },996 boxShadow: { "ui-sm": "var(--shadow-sm)", "ui-md": "var(--shadow-md)", "ui-lg": "var(--shadow-lg)" },997 transitionDuration: { instant: "var(--duration-instant)", fast: "var(--duration-fast)", base: "var(--duration-base)", slow: "var(--duration-slow)" },998 transitionTimingFunction: { standard: "var(--ease-standard)", out: "var(--ease-out)", in: "var(--ease-in)" },999 maxWidth: { container: "var(--container-max)", measure: "var(--measure)" },1000 },1001 },1002};1003```1004 1005Dependencies: `lucide-react`Save as DESIGN.md in the repo root and add “Follow DESIGN.md for all UI” to CLAUDE.md, AGENTS.md or your Cursor rules.


