Cursor DESIGN.md
Cursor's design system as a file your coding agent can follow, read from cursor.com's own CSS on November 18, 2026.
Colors
- Page background
#26251e - Text
#f7f7f4 - Surface
#000000 - Primary
#f54e00
Typefaces
- CursorGothic
- berkeleyMono
- cursorMono
DESIGN.md · cursor.com
# DESIGN.md: Cursor
> Design reference saved with PocketUI from cursor.com.
> 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 | `#26251e` |
| Text | `#f7f7f4` |
| Surface (cards, panels, inputs) | `#000000` |
| Primary (buttons, links, key actions) | `#f54e00` |
| Focus ring | `#f54e00` |
Also used: `#ebeae5`, `#c08532`, `#1c1c1e`, `#2c2c2e`, `#3b82f6`, `#1f8a65`, `#cf2d56`, `#121311`, `#d9d5cf`, `#4a443b`, `#b6b9be`, `#3c3935`
## Typography
- **Main typeface:** CursorGothic
- **Code:** berkeleyMono
- **Code:** cursorMono
- **Also used:** EB Garamond
- **Sizes in use:** 8px, 10px, 10.5px, 11px, 12px, 13px, 13.5px, 14px, 14.5px, 16px
- **Weights in use:** 300, 400, 500, 600, 700
## Shape & spacing
- **Corner radius:** 2px, 3px, 4px, 6px, 8px, 10px, 12px, 40px, 44px, 999px
- **Shadows:** `0 28px 70px rgba(0, 0, 0, 0.14), 0 14px 32px rgba(0, 0, 0, 0.1), 0 0 0 1px #26251e1a` · `0 22px 70px 4px rgba(0, 0, 0, 0.3), 0 0 0 0.5px rgba(0, 0, 0, 0.15)` · `0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 12px 24px -8px rgba(0, 0, 0, 0.15), 0 0 0 0.5px #26251e1a` · `0 8px 30px rgba(0,0,0,0.35), 0 0 0 0.5px rgba(0,0,0,0.15)`
- **Spacing scale:** 1px, 2px, 3px, 4px, 5px, 6px, 7px, 8px, 9px, 64px
## Motion
- **Durations:** 140ms, 150ms, 220ms
- **Easing:** `ease-out`, `cubic-bezier(.25,1,.5,1)`, `linear`
## 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 14.3:1. Keep new text at 4.5:1 or more (WCAG AA).
- Keyboard focus shows as `#f54e00`: 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
Download it, or copy it into a file named
DESIGN.mdin your project root. - 2
Add one line to CLAUDE.md, AGENTS.md or your Cursor rules: "Follow DESIGN.md for all UI work."
- 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 cursor.com'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. Cursor is a trademark of its owner, and this file isn't made or endorsed by Cursor. 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
Vercel DESIGN.md
GeistSans, Geist Mono, GeistPixelSquare
Linear DESIGN.md
Colors, sizes and spacing
Stripe DESIGN.md
sohne-var
Apple DESIGN.md
SF Pro Text, SF Pro Display
Claude DESIGN.md
anthropicSans, anthropicSerif, anthropicMono
GitHub DESIGN.md
Mona Sans VF

Stop recreating designs you've already seen
30% off your first year as an early supporter. One email on launch day.