# DESIGN.md: JetBrains-style design system

Measured from https://www.jetbrains.com/ on 2026-10-15 by PikSpec (https://www.pikspec.com). An independent measurement of the rendered page, not JetBrains's official design system, and not affiliated with JetBrains.

Use it to build your own product in this design language: put this file in your project root and tell your AI tool (Claude Code, Cursor, Codex, Lovable, v0) to follow DESIGN.md. Never use the original's name, logo, copy or images; licensed fonts are replaced with the closest free Google Fonts.

To capture any other page, or get a ready project for your tool: https://www.pikspec.com/build-with-ai

HOW IT SHOULD LOOK
Build it in the design language of jetbrains.com, measured from the live site: it should feel designed by the same team as jetbrains.com — the same temperament, colour, type and density — for a different product. Never use jetbrains.com's name, logo, words or images.

Stack: use the one your project already has. Starting fresh: React + Vite + TypeScript + Tailwind CSS v4, with no UI kit (no shadcn/ui, MUI or Chakra) — their defaults would override this system. In a chat that shows one file (an artifact or canvas), build one HTML file instead, with the tokens below in its <style> block.
Use every value exactly as written. Do not round, rename, approximate or substitute a colour, size, radius, shadow or easing (fonts: see section 1). Anything not listed here does not exist in this system.

THE WEBSITE THIS SYSTEM COMES FROM
- Reference page: https://www.jetbrains.com/ — "www.jetbrains.com" (home page).
- Page frame: a top navigation bar and a footer.
- Content is grouped in cards (9 on the page, up to 2 side by side). Keep cards for grouped content only, not for every section.
- It uses 17 images, 10 of them large. Large, real product imagery is part of the look — leave clearly labelled image slots at those sizes rather than stock photos or abstract 3D shapes.
- Interaction: 20 buttons on one page.
- The page runs about 14 screens long at 1440px wide.
- Density is low: few elements per screen, generous space around each one.

HOW IT LOOKS (WHAT MAKES IT LOOK LIKE ITSELF, BEYOND THE VALUES)
- Almost entirely neutral: 98% of the page is painted in #19191C and #000000.
- #39013E is an accent: 1.4% of the page, as small fills such as buttons and badges. Keep it to small areas.
- #F31199 is an accent: 0.2% of the page, used for text only. Don't fill large areas with it.
- The largest type (79px JetBrains Sans) is medium weight, not bold (500), tracked to -0.001em.
- Open: text covers 10% of the page. Sections sit about 98px apart.
- Structure comes from thin grid lines, not from shadows or filled cards.
- Share of the painted page: #19191C 50.2% (dominant, backgrounds); #000000 43.4% (dominant, backgrounds); #FFFFFF 4.6% (supporting, text); #39013E 1.4% (accent, backgrounds); #F31199 0.2% (accent, text); #303033 0.1% (detail, backgrounds). Keep accents at these proportions; do not promote them to fills.
- Hairline grid: 1px lines in #FFFFFF run both across and down the page (30 across, 24 down), dividing it into cells instead of cards.
- Large images: Photographs, video or raster artwork cover about 38% of the page.
- Type as set (size, weight and tracking measured together; use these pairs): 79px weight 500 tracking -0.001em; 72px weight 600 tracking -0.005em; 44px weight 400; 43px weight 600 tracking -0.001em; 35px weight 600; 20px weight 400.

1. DESIGN TOKENS — PASTE INTO YOUR GLOBAL CSS
Allowed colours, with how the original uses each. Use no other colour, including in hover states:
- #19191C — 50.2% · backgrounds (var(--color-surface))
- #000000 — 43.4% · backgrounds (var(--color-background))
- #FFFFFF — 4.6% · text (var(--color-text))
- #39013E — 1.4% · backgrounds (var(--color-39013e))
- #F31199 — 0.2% · text
- #303033 — 0.1% · backgrounds
- #7B61FF — hairlines and grid lines
- #FEFC4F — Action (var(--color-action))
- #088484 — Positive (var(--color-positive))
Fonts — put these first in your global CSS (one import per font, so one that fails cannot stop the others):
```css
@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600&display=swap");
```
Font: jetbrains.com uses JetBrains Sans (body) and JetBrains Modul (interface) — its own licensed faces, not available to download. This kit uses Figtree for body and interface, the closest free match, already in the tokens. If you own the original, add it with @font-face and it is used first; to use another font, change the --font-* variables.
Keep every size, weight, line height and tracking exactly as listed whichever font renders.
```css
:root {
  --color-background: #000000; /* Background */
  --color-surface: #19191C; /* Surface */
  --color-text: #FFFFFF; /* Text */
  --color-action: #FEFC4F; /* Action */
  --color-on-action: #000000; /* On action */
  --color-positive: #088484; /* Positive */
  --color-39013e: #39013E; /* 1.4% of the page, as fills */
  --font-body: "JetBrains Sans", "Figtree", sans-serif; /* JetBrains Sans on the site; Figtree renders */
  --font-interface: "JetBrains Modul", "Figtree", sans-serif; /* JetBrains Modul on the site; Figtree renders */
  --type-display-1: 79px; /* Display 1, weight 500 */
  --type-display-1-leading: 71px;
  --type-display-1-tracking: -0.001em;
  --type-display-2: 72px; /* Display 2, weight 600 */
  --type-display-2-leading: 72px;
  --type-display-2-tracking: -0.005em;
  --type-display-3: 44px; /* Display 3, weight 400 */
  --type-display-3-leading: 44px;
  --type-display-4: 43px; /* Display 4, weight 600 */
  --type-display-4-leading: 49px;
  --type-display-4-tracking: -0.001em;
  --type-headline: 35px; /* Headline, weight 600 */
  --type-headline-leading: 42px;
  --type-title: 20px; /* Title, weight 400 */
  --type-title-leading: 28px;
  --type-body: 16px; /* Body, weight 400 */
  --type-body-leading: 24px;
  --type-body-tracking: 0.002em;
  --type-label: 13px; /* Label, weight 400 */
  --type-label-leading: 20px;
  --type-label-tracking: 0.005em;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-26: 104px;
  --space-36: 144px;
  --space-50: 200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-3xl: 24px;
  --radius-26: 26px; /* component radius */
  --elevation-1: rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
  --elevation-2: rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
  --elevation-3: rgb(0, 0, 0) 6px 6px 0px 0px;
  --elevation-4: rgba(0, 0, 0, 0.682) 20px 20px 0px 0px;
  --duration-1: 0.1s;
  --duration-2: 0.15s;
  --duration-3: 0.3s;
  --duration-4: 0.8s;
  --ease-1: ease-out;
}
```
Tailwind CSS v4 (the default for new projects): put this after `@import "tailwindcss";`. It removes Tailwind's own palette, so only these colours exist as utilities:
```css
@theme {
  --color-*: initial;
  --color-background: #000000;
  --color-surface: #19191C;
  --color-text: #FFFFFF;
  --color-action: #FEFC4F;
  --color-on-action: #000000;
  --color-positive: #088484;
  --color-39013e: #39013E;
  --font-body: "JetBrains Sans", "Figtree", sans-serif;
  --font-interface: "JetBrains Modul", "Figtree", sans-serif;
  --text-display-1: 79px;
  --text-display-1--line-height: 71px;
  --text-display-1--letter-spacing: -0.001em;
  --text-display-2: 72px;
  --text-display-2--line-height: 72px;
  --text-display-2--letter-spacing: -0.005em;
  --text-display-3: 44px;
  --text-display-3--line-height: 44px;
  --text-display-4: 43px;
  --text-display-4--line-height: 49px;
  --text-display-4--letter-spacing: -0.001em;
  --text-headline: 35px;
  --text-headline--line-height: 42px;
  --text-title: 20px;
  --text-title--line-height: 28px;
  --text-body: 16px;
  --text-body--line-height: 24px;
  --text-body--letter-spacing: 0.002em;
  --text-label: 13px;
  --text-label--line-height: 20px;
  --text-label--letter-spacing: 0.005em;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-3xl: 24px;
  --shadow-e1: rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
  --shadow-e2: rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
  --shadow-e3: rgb(0, 0, 0) 6px 6px 0px 0px;
  --shadow-e4: rgba(0, 0, 0, 0.682) 20px 20px 0px 0px;
  --ease-1: ease-out;
}
```
Tailwind CSS v3 only: extend the theme with these instead, and use no other palette:
```js
// tailwind.config — theme.extend
{
  colors: { "background": "var(--color-background)", "surface": "var(--color-surface)", "text": "var(--color-text)", "action": "var(--color-action)", "on-action": "var(--color-on-action)", "positive": "var(--color-positive)" },
  fontFamily: { "body": ["var(--font-body)"], "interface": ["var(--font-interface)"] },
  borderRadius: { "sm": "var(--radius-sm)", "md": "var(--radius-md)", "xl": "var(--radius-xl)", "2xl": "var(--radius-2xl)", "3xl": "var(--radius-3xl)" },
  boxShadow: { "e1": "var(--elevation-1)", "e2": "var(--elevation-2)", "e3": "var(--elevation-3)", "e4": "var(--elevation-4)" },
}
```

2. BASE STYLES
```css
html { background: var(--color-background); }
body { margin: 0; font-family: var(--font-body); color: var(--color-text); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3 { font-family: var(--font-body); margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--color-action); outline-offset: 2px; }
```

3. COMPONENTS — MATCH THESE EXACTLY
```css
.card { /* Default */
  border-radius: var(--radius-md);
  padding: var(--space-16);
  min-height: 524px;
  color: #000000;
  font-family: var(--font-body);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 16px;
}
.card-2 { /* Alternative 1 */
  border-radius: var(--radius-md);
  padding: 23px 23px 23px 23px;
  min-height: 214px;
  color: #000000;
  font-family: var(--font-body);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 16px;
}
.card-3 { /* Alternative 2 */
  padding: 7px 7px 7px 7px;
  min-height: 268px;
  box-shadow: var(--elevation-4);
  color: #000000;
  font-family: "JetSites Cookie Banner JetBrains Mono";
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}
.button { /* Primary */
  background: var(--color-action);
  border-radius: var(--radius-md);
  padding: 12px 16px 12px 16px;
  min-height: 96px;
  box-shadow: var(--elevation-2);
  color: var(--color-on-action);
  font-family: "Arial";
  font-size: 13.3333px;
  font-weight: 400;
  /* recorded states: selected, hover, focus-visible */
}
.button-2 { /* Secondary */
  background: var(--color-action);
  padding: 0px 16px 0px 16px;
  box-shadow: var(--elevation-3);
  color: var(--color-on-action);
  font-family: "JetSites Cookie Banner JetBrains Mono";
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}
.button-3 { /* Secondary 2 */
  background: #FFFFFF;
  border-radius: var(--radius-26);
  padding: 12px 32px 12px 32px;
  min-height: 52px;
  color: #19191C;
  font-family: "Arial";
  font-size: 13.3333px;
  font-weight: 400;
  /* recorded states: active, focus, hover */
}
.link { /* Inline */
  background: transparent;
  border-radius: var(--radius-26);
  padding: 12px 32px 12px 32px;
  min-height: 52px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 16px;
  /* recorded states: active, focus, hover */
}
.link-2 { /* Inline 2 */
  background: transparent;
  border-radius: var(--radius-xl);
  padding: 6px 6px 6px 6px;
  min-height: 32px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 16px;
  /* recorded states: active, focus, hover */
}
.link-3 { /* Inline 3 */
  background: transparent;
  padding: 0px 10px 0px 10px;
  min-height: 72px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--type-title);
  font-weight: 400;
  line-height: 28px;
  /* recorded states: focus-visible, hover */
}
```
Where a component lists recorded states, write those states using only the colours above; the capture saw that the state exists, not its values. Never invent a state colour.

4. PAGE COMPOSITION
- Dark interface on #000000. Keep that ground; do not add a light mode or alternate section backgrounds the system does not have.
- The opening screen carries a large image or video behind or across the heading. Leave a [content: hero image or video] slot there, at least half the screen wide; the opening is not text alone.
- #FEFC4F is the action colour. Fill the primary action with it and little else — at most one #FEFC4F-filled element per screen; other accents keep to the uses listed above.
- Type: Figtree (standing in for JetBrains Sans) for body; Figtree (standing in for JetBrains Modul) for interface. Hierarchy comes from size and weight, not colour or decoration.
- Everything sits on a 4px grid.
- Corner radii are 4px, 8px, 16px, 20px, 24px — nothing else.
- Body text uses JetBrains Sans at around 16px, weights 400, 500, 600.
- Headings use JetBrains Modul; the largest heading is 79px.
- Primary buttons are #FEFC4F, square-cornered, weight 400.
- Cards use square corners with a soft shadow.
- Corner radii in use: 16px, 8px, 24px, 4px, 20px.

HOW THE ORIGINAL PACES ITS PAGE (BORROW THE RHYTHM — THE OPENING, THE COLOURED BANDS, THE CARD GRIDS — NOT THE LIST; BUILD THE SECTIONS YOUR PRODUCT NEEDS)
1. Hero — 614px tall, centred 44px heading (weight 250), image behind the content.
2. Cards — 822px tall, 3 equal columns, 32px gap, centred 16px heading (weight 600), full-width image.
3. Grid — 784px tall, 6 items in 3 columns with 32px gaps, left-aligned 72px heading (weight 600).
4. Text — 73px tall, left-aligned 79px heading (weight 500).
5. Text — 2168px tall, left-aligned 35px heading (weight 600), image on the right.
6. Text — 545px tall, left-aligned 35px heading (weight 600) set mid-band, image on the right, on #000000.
7. Text — 275px tall, left-aligned 72px heading (weight 600).
8. Cards — 524px tall, 4 equal columns, 32px gap, left-aligned 35px heading (weight 600).
9. Text — 132px tall, left-aligned 35px heading (weight 600).
10. Text — 314px tall, left-aligned 16px heading (weight 400).
11. Text — 436px tall, left-aligned 35px heading (weight 600), on an image background.
12. Split — 432px tall, 2 equal columns, 96px gap, left-aligned 20px heading (weight 600).
13. Text — 275px tall, left-aligned 72px heading (weight 600).
14. Full-bleed image — 420px tall, left-aligned 35px heading (weight 600), image behind the content.
15. Text — 146px tall, left-aligned 43px heading (weight 600).
16. Text — 492px tall, left-aligned 35px heading (weight 600).
17. Split — 164px tall, split 1 / 11, 32px gap, left-aligned 20px heading (weight 600).
18. Text — 581px tall, left-aligned 72px heading (weight 600).
19. Cards — 746px tall, 4 equal columns, 32px gap, left-aligned 43px heading (weight 600).
20. Footer — 831px tall, a strip of 10 small items (logos, links or icons), left-aligned 13px heading (weight 600), on #19191C.
- Content sits in a 1276px container, 97px from the edge at 1440px wide.
- A 72px header scrolls away.
- The hero is 614px (0.7 screens): centred 44px heading (weight 250), image behind the content.
- Column splits on a 12-column grid: thirds (2×), quarters (2×), halves, 1/11; gaps of 32px.
- Headings align left (18 of 20 sections); centre only the occasional statement.
- Sections change background 3 times, between #000000, #19191C: the colour sits in large rounded panels inside the section, not edge to edge.
- A typical section is about 436px tall.

COPY SHAPE (MATCH THE LENGTH AND CASE; WRITE YOUR OWN WORDS)
- The main heading is 10 words long.
- Section headings are short: typically 2 words.
- Headings are in sentence case (only the first word capitalised).
- The page describes itself in about 27 words; keep your intro paragraph to about that length.

5. MOTION
Interactive elements change colour, background, border and opacity with the measured timing. Animate nothing else.
```css
a, button, [role="button"], input { transition: color var(--duration-1) var(--ease-1), background-color var(--duration-1) var(--ease-1), border-color var(--duration-1) var(--ease-1), opacity var(--duration-1) var(--ease-1); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
```
No scroll-triggered fade-ins, parallax, typewriter text or bouncing elements.

6. RESPONSIVE
- The design was measured at 1440px wide. Lay it out for that width first, then let it reflow down to 360px.
- Content sits in a column at most 1276px wide, centred, with var(--space-4) (16px) side padding on small screens.
- The largest heading scales fluidly: font-size: clamp(44px, 5.5vw, 79px). Every other size stays fixed.
- Break on composition, not device names: a row of columns drops a column when any column would be narrower than 240px; side-by-side splits stack when either side would be narrower than 320px.
- Spacing steps never change between sizes; use smaller steps from the same list where space is tight.
- On touch screens, every link and button has a hit area of at least 44 × 44px without changing its drawn size.

7. ACCESSIBILITY
- Text pairs that pass for body copy: Text on Background (21:1), Action on Background (19.3:1), Positive on Background (4.6:1), Text on Surface (17.5:1), Action on Surface (16.1:1) and On action on Action (19.3:1).
- Only for text 24px and up, or 18.66px bold: Positive on Surface (3.9:1).
- Use no other text-on-background pairing.
- One h1 per page, headings in order, landmarks (header, nav, main, footer), real buttons and links, a label on every field, alt text on every image, an aria-label on icon-only buttons.
- Every interactive element shows the :focus-visible outline above.

8. DO NOT (THESE ARE WHAT MAKE AI-BUILT SITES LOOK GENERIC)
- No gradients: not in backgrounds, text, buttons or borders. (No gradient was measured.)
- Only these colours: #19191C, #000000, #FFFFFF, #39013E, #F31199, #303033, #7B61FF, #FEFC4F, #088484. No new tints, no Tailwind defaults (slate, indigo, violet). (They are every colour that covers a measurable part of the page, and the colours its lines and drawings use.)
- #39013E only as small fills (buttons, badges) — never a section background or a large panel. (It covers 1.4% of the page.)
- #F31199 only for text — never as a section background or a large panel. (It covers 0.2% of the page.)
- Only the fonts in the tokens: Figtree for body; Figtree for interface. No other typeface, and no Inter, Roboto or system UI font unless it is one of these. (The page is set in JetBrains Sans and JetBrains Modul; the tokens carry what stands in for them.)
- Headings and large text never heavier than weight 600. Do not make headlines bold to add emphasis. (Every size from 24px up is set at weight 600 or lighter.)
- Large headlines tracked tight (letter-spacing -0.001em), not at the browser default. (The 79px headline is set at -0.001em.)
- No all-caps eyebrow labels above headings. (No uppercase text was measured.)
- No icon above every feature, no emoji, no decorative blobs, sparkles or glows. (None of these is part of the captured design; they are a coding model's defaults.)
- Build the sections your product needs, not the original's list. Give each one this system's look: its kinds of section (hero, cards, grid, text, split, image, footer), its colours, type, shapes and spacing. (The style carries to any kind of site; the original's page was for a different product.)
- No glassmorphism, backdrop blur, glowing orbs, noise blobs or neon outlines.
- No row of three identical feature cards as the default section. Vary the layout from section to section: a split, a list, a single large statement, a table.
- No centred-everything hero with a pill badge, a gradient headline and two buttons. Lead with the most specific thing about the product.
- No filler copy: no "Unlock your potential", "Revolutionize", "Seamless", "Elevate", "Supercharge", "Next-gen" or lorem ipsum. Write plain, specific sentences a real company would publish.
- No made-up statistics, testimonials or customer logos. Leave a clearly marked [content: …] slot instead.
- No radius larger than the largest one listed.
- No shadows other than the levels listed.
- Do not use jetbrains.com's name, logo, copy or images. This is its design system, not its content.

BEFORE YOU FINISH
- Search your code for every colour, font size, spacing value, radius, shadow and easing, and replace anything that is not a variable above.
- Check that no [content: …] slot has been filled with invented facts.
- Search your CSS for gradient(. There should be none.
- Every colour value in your CSS is one of the allowed colours. Nothing else, including in hover states.
- #39013E covers about 1.4% of the page or less, as on the original.
- #F31199 covers about 0.2% of the page or less, as on the original.
- No text 24px or larger has a font-weight above 600.
- The largest headline uses letter-spacing -0.001em.
- Every section, including ones the original does not have, uses only this system's colours, type, shapes and spacing.
- Content sits in a 1276px container with 97px side margins at 1440px.
- There is no placeholder copy (lorem ipsum, "Feature one", "Your headline here"). Every word is real.
- Take a screenshot at 1440px and put it beside the original. List every difference in colour, weight, spacing, alignment and imagery, and fix each before finishing. Then check 390px wide: nothing scrolls sideways and no heading runs off the screen.
