DESIGN.md for Cursor
Starter workflow for giving Cursor compact design taste before it edits React or Tailwind UI.
Design System Overview
This community was written by DesignMD to make an AI-agent workflow concrete. It is independent guidance, not an official product design file or an endorsement from the linked tool vendor.
Use it as a starting contract for repository instructions, visual tokens, component behavior, and review checks. Adapt the values to your product instead of copying them as a vendor-owned brand system.
Browse more developer tools and IDEs design systems or explore the full DESIGN.md directory.
Color System
Starter semantic tokens for this editorial workflow — not an official vendor palette. Click any swatch to copy the hex value.
Text / Primary
#111827
Accent
#3b82f6
Surface / Background
#f8fafc
Border / Subtle
#cbd5e1
Typography Specimen
Display
2.8rem / 700 / 1.04
The quick brown fox
Heading H1
2rem / 700 / 1.1
The quick brown fox jumps
Heading H2
1.5rem / 600 / 1.15
The quick brown fox jumps over
Heading H3
1.125rem / 600 / 1.2
The quick brown fox jumps over the lazy
Body
1rem / 400 / 1.5
The quick brown fox jumps over the lazy dog
Small / Caption
0.75rem / 400 / 1.5
The quick brown fox jumps over the lazy dog and sat down.
Monospace
const primary = "System";
Layout & Spacing Tokens
Spacing Scale
Border Radius
Elevation & Shadow
Use with AI Coding Agents
Copy one of these prompts into your AI coding agent to apply the DESIGN.md for Cursor design system to your project. The DESIGN.md file in your repo root is the source of truth.
# .cursor/rules (or DESIGN.md) You are working in a project that uses the DESIGN.md for Cursor design system. Read the DESIGN.md file in this project root and follow it strictly when generating UI. Match the brand's exact colors, typography, spacing scale, and border radius. Do not create generic Tailwind UI — apply the visual language from DESIGN.md. Key rules: - Use the defined color palette, not arbitrary hex values - Apply the correct font family and weight scale - Follow spacing tokens (4/8/12/16/24/32px scale) - Match component patterns: buttons, cards, inputs, badges as specified