Linear DESIGN.md

Linear's design system as a file your coding agent can follow, read from linear.app's own CSS on November 18, 2026.

Colors

  • Page background#08090a
  • Text#f7f8f8
  • Muted text#8a8f98
  • Surface#0f1011
  • Surface 2#ffffff 3%
  • Border#ffffff 8%
  • Primary#5e6ad2

Typefaces

Not readable from linear.app's CSS, so the file leaves them out. Add the typeface yourself.

DESIGN.md · linear.app

# DESIGN.md: Linear

> Design reference saved with PocketUI from linear.app.
> Build new UI in this style. Values and colour roles are read from the source's own CSS; adjust any that look wrong.

## Colors

| Role | Value |
| --- | --- |
| Page background | `#08090a` |
| Text | `#f7f8f8` |
| Muted text (secondary copy, captions) | `#8a8f98` |
| Surface (cards, panels, inputs) | `#0f1011` |
| Surface 2 | `rgba(255, 255, 255, 0.03)` |
| Border | `rgba(255, 255, 255, 0.08)` |
| Primary (buttons, links, key actions) | `#5e6ad2` |
| Focus ring | `#5e6ad2` |

Also used: `#9c9da1`, `#f34e52`, `#626366`, `#6d78d5`, `#191d20`, `#27a644`, `#62666d`, `#585a5c`, `#ff7236`, `#949496`, `#141516`, `#6b6b6b`

## Typography

- **Sizes in use:** 10px, 11px, 12px, 13px, 14px, 15px, 16px, 20px, 24px, 40px
- **Weights in use:** 300, 400, 500, 600, 700

## Shape & spacing

- **Corner radius:** 2px, 3px, 4px, 5px, 6px, 8px, 9px, 10px, 12px, 9999px
- **Shadows:** `0 1px #0006` · `0 4px 32px #08090a99` · `0px 7px 32px #00000059` · `0px 2px 4px #0000001a`
- **Spacing scale:** 1px, 4px, 6px, 8px, 10px, 12px, 14px, 16px, 24px, 32px

## Motion

- **Durations:** 100ms, 120ms, 160ms
- **Easing:** `cubic-bezier(.25,.46,.45,.94)`, `ease-out`, `cubic-bezier(.32,.72,0,1)`

## Rules

- Use these values as the design tokens for new UI; don't introduce new colours or fonts without a reason.
- Keep the primary colour for actions and highlights; let neutrals carry the layout.
- Animate colour, opacity and shadow on hover and focus, at these durations; don't animate layout.
- Text on the background is 18.7:1. Keep new text at 4.5:1 or more (WCAG AA).
- Keyboard focus shows as `#5e6ad2`: give every link, button and field that visible focus, plus hover, pressed and disabled states.
- Take the feel, not the content: no text, logos or images from the source.

How to use it

  1. 1

    Download it, or copy it into a file named DESIGN.md in your project root.

  2. 2

    Add one line to CLAUDE.md, AGENTS.md or your Cursor rules: "Follow DESIGN.md for all UI work."

  3. 3

    Ask for UI as usual. Your agent uses these colors, sizes and spacing instead of its defaults.

About this file

PocketUI read it from linear.app's public stylesheets on November 18, 2026. No AI wrote it: the values are measured, and the roles (primary, background, text) come from where the CSS uses each color, so check them before you build. Linear is a trademark of its owner, and this file isn't made or endorsed by Linear. Use it for the feel, not to copy their brand.

Get one for another site

DESIGN.md generator

Paste any URL and get its DESIGN.md in a few seconds. Free, no sign-up.

More DESIGN.md files

Stop recreating designs you've already seen

30% off your first year as an early supporter. One email on launch day.