Clerk — Design Reference
soft grey light, ink-black conviction
Source: https://clerk.com
Theme: undefined
Category: Developer Tools
Mood: minimal, technical, precise, monochrome, light
Captured: 2026-11-10
Overview
A near-monochrome developer marketing system built on a dove-grey ground (#f7f7f8) with white cards floating on whisper-thin hairline shadows, punctuated by full-bleed ink-black (#131316) sections that invert the page and make the product feel like a shipped piece of software rather than a landing page. Headlines are enormous, tightly tracked Geist in 700 weight (56–64px, −0.035em) sitting directly above a calm 16–18px body in grey-slate; everything else is deliberately quiet so the embedded UI mockups — real sign-in cards, code lines, CLI strips — carry the visual interest.
Technically it is achieved with a single family (Geist, plus Söhne Mono for code), a tiny radius vocabulary (6px controls, 8px cards, pill nav chips), a 4px spacing grid that clusters hard around 8/12/16/24, and shadows that are layered at absurdly low alpha (0.024–0.05 across six stacked offsets) so surfaces read as lifted paper rather than drop-shadowed boxes. Colour is hoarded: the violet #6c47ff appears only on the one true CTA, graphite #42434d carries secondary actions, and the black sections use inset white hairlines (rgba(255,255,255,0.08)) instead of borders.
Tokens — Colors
| Name |
Value |
Token |
Role |
| Paper Grey |
#f7f7f8 |
--color-background |
Default page ground on home, changelog and marketing sections |
| Card White |
#ffffff |
--color-card |
Raised cards, nav bar, inputs, docs page ground |
| Ink |
#131316 |
--color-foreground |
Headline colour and the fill of full-bleed inverted sections (pricing/company heroes, feature bands) |
| Pitch |
#0a0a0b |
--color-background-dark |
Top announcement bar and the deepest dark-section ground |
| Graphite Surface |
#212126 |
--color-surface-dark |
Cards and buttons inside dark sections; 'Ask AI' / 'Sign Up' pill fill |
| Slate Body |
#42434d |
--color-text-body |
Primary body copy on light grounds and the secondary button fill |
| Muted Slate |
#5e5f6e |
--color-text-muted |
Sidebar links, captions, sub-labels, ghost button text |
| Fog Grey |
#9394a1 |
--color-text-subtle |
Placeholders, metadata, de-emphasised UI in mockups |
| Hairline |
#d9d9de |
--color-border |
0.5–1px card and input outlines rendered as shadow spread |
| Chip Grey |
#eeeef0 |
--color-muted |
Tab chips, toggle tracks, subtle fills on white |
| Clerk Violet |
#6c47ff |
--color-primary |
The single hero CTA fill ('Start building for free') and active tab dot |
| Signal Cyan |
#5de3ff |
--color-accent |
Inline disclosure links inside dark pricing tables |
Semantic roles
| Role |
Value |
| background |
#f7f7f8 |
| surface |
#ffffff |
| surface raised |
#ffffff |
| border |
#d9d9de |
| text |
#131316 |
| text muted |
#5e5f6e |
| primary |
#6c47ff |
| primary text |
#ffffff |
| accent |
#eeeef0 |
Tokens — Typography
- Display: Geist (600, 700) — fallbacks: Inter, SF Pro Display, system-ui, sans-serif. Headlines use 700 with aggressive negative tracking (−0.035em at 56–64px); section titles drop to 600 at 32px/−0.015em.
- Body: Geist (400, 450, 500, 600) — fallbacks: Inter, system-ui, -apple-system, sans-serif. One family does everything. 450 is a real used weight for nav and sidebar links; 500 for labels and buttons.
- Mono: Söhne Mono (400, 500) — fallbacks: Berkeley Mono, JetBrains Mono, ui-monospace, SFMono-Regular, monospace. Code lines, CLI strips, webhook event names and inline tokens only.
| Role |
Size |
Line height |
Weight |
Letter spacing |
Family |
| Display |
64px |
1.12 |
700 |
-0.035em |
display |
| H1 |
56px |
64px |
700 |
-0.035em |
display |
| H2 |
32px |
1.13 |
600 |
-0.015em |
display |
| H3 |
24px |
1.33 |
600 |
-0.025em |
display |
| Lead |
18px |
1.55 |
400 |
normal |
body |
| Body |
16px |
24px |
400 |
normal |
body |
| Small / UI |
14px |
1.4 |
450 |
normal |
body |
| Caption / Button |
13px |
20px |
500 |
normal |
body |
| Mono |
13px |
1.45 |
500 |
-0.02em |
mono |
Tokens — Spacing & Layout
- Base unit: 4px
- Density: comfortable
- Container max width: 1280px
- Section gap: 128px
- Card padding: 20px
- Scale: 4px, 6px, 8px, 12px, 16px, 20px, 24px, 32px, 40px, 64px, 80px, 128px
Tokens — Radius
| Element |
Value |
| Buttons, chips, small controls |
6px |
| Cards, panels, inputs |
8px |
| Tiny tags, inner tokens |
4px |
| Large panels / mockup frames |
12px–16px |
| Nav bar, prompt bar, avatar stacks |
9999px (pill) |
Tokens — Shadows
| Name |
Value |
Usage |
| Hairline |
rgb(217,217,222) 0 0 0 0.5px, rgba(0,0,0,0.06) 0 1px 2px 0, rgba(0,0,0,0.08) 0 0 2px 0 |
Default white card, docs tile and input outline — a crisp 0.5px ring plus a 2px breath. |
| Feather Stack |
rgba(19,19,22,0.024) 0 0 0 1px, 0 1px 1px -0.5px, 0 3px 3px -1.5px, 0 6px 6px -3px, 0 12px 12px -6px, 0 24px 24px -12px |
The signature six-layer ultra-low-alpha lift on floating panels, nav and hero mockups. |
| Feather Stack Strong |
rgba(19,19,22,0.05) 0 0 0 1px, 0 1px 1px -0.5px, 0 3px 3px -1.5px, 0 6px 6px -3px, 0 12px 12px -6px, 0 24px 24px -12px |
Modal-like surfaces and the sign-in card that sits above the fold. |
| Control Bevel |
inset 0 1px 0 rgba(255,255,255,0.07), 0 0 0 0.5px currentfill, 0 1px 3px rgba(0,0,0,0.2) |
Filled buttons (violet, graphite, black) — a top inset highlight plus a tight ring in the button's own colour. |
| Dark Inset Hairline |
inset 0 0 0 1px rgba(255,255,255,0.08) |
Card edges inside the black sections, replacing borders entirely. |
Components
Primary CTA (button)
| Property |
Value |
| background |
#6c47ff |
| color |
#ffffff |
| border |
none |
| radius |
6px |
| padding |
0 12px |
| font size |
13px |
| font weight |
500 |
| shadow |
0 0 0 0.5px #6c47ff, inset 0 1px 0 rgba(255,255,255,0.07), 0 1px 3px rgba(0,0,0,0.2) |
| hover |
Darken fill ~6% (#5d3ae6); keep the inset highlight. |
30px tall, used at most once per view ('Start building for free'). Never paired with a second violet button.
Secondary / Neutral Button (button)
| Property |
Value |
| background |
#42434d |
| color |
#ffffff |
| border |
none |
| radius |
6px |
| padding |
0 12px |
| font size |
13px |
| font weight |
500 |
| shadow |
0 0 0 0.5px #42434d, inset 0 1px 0 rgba(255,255,255,0.07), 0 1px 3px rgba(0,0,0,0.2) |
| hover |
Lighten to #4e4f5a. |
Graphite fill for all non-hero plan actions ('Upgrade to Pro plan', 'Talk to sales'); #212126 is the near-black variant used in docs ('Ask AI', 'Sign Up').
Ghost Nav / Sidebar Link (button)
| Property |
Value |
| background |
transparent |
| color |
#5e5f6e |
| border |
none |
| radius |
6px |
| padding |
7px 8px |
| font size |
14px |
| font weight |
450 |
| shadow |
none |
| hover |
background #eeeef0; color #131316. |
34px tall. Active docs sidebar item gets the #eeeef0 fill persistently plus an icon at 16px.
Field (input)
| Property |
Value |
| background |
#ffffff |
| color |
#131316 |
| border |
0.5px solid #d9d9de (as shadow ring) |
| radius |
6px |
| padding |
8px 12px |
| font size |
14px |
| font weight |
400 |
| shadow |
0 0 0 0.5px #d9d9de, 0 1px 2px rgba(0,0,0,0.06) |
| hover |
Ring darkens to #b7b8c2; focus adds 0 0 0 3px rgba(108,71,255,0.18). |
Label is 13px/500 #131316 sitting 6px above; placeholder #9394a1.
Floating Card (card)
| Property |
Value |
| background |
#ffffff |
| color |
#42434d |
| border |
none |
| radius |
8px |
| padding |
20px |
| font size |
14px |
| font weight |
400 |
| shadow |
rgb(217,217,222) 0 0 0 0.5px, rgba(0,0,0,0.06) 0 1px 2px, rgba(0,0,0,0.08) 0 0 2px |
| hover |
Lift to the Feather Stack shadow; no transform on content cards. |
Title 18px/600 #131316, body 14px/400 #5e5f6e. Dark-section equivalent: transparent fill with inset 0 0 0 1px rgba(255,255,255,0.08) and 24px padding.
Floating Pill Nav (nav)
| Property |
Value |
| background |
#ffffff |
| color |
#131316 |
| border |
0.5px solid rgba(19,19,22,0.06) |
| radius |
9999px |
| padding |
8px 16px |
| font size |
15px |
| font weight |
450 |
| shadow |
rgba(19,19,22,0.024) 0 0 0 1px, 0 1px 1px -0.5px, 0 3px 3px -1.5px, 0 6px 6px -3px, 0 12px 12px -6px, 0 24px 24px -12px |
| hover |
Link colour to #131316; dropdown chevron rotates 180°. |
Sticky, inset from the viewport edges with a 1280px max width, sitting below a pitch-black (#0a0a0b) announcement strip with 13px white text. Dropdown triggers carry a 12px chevron.
Section Tab Chip (badge)
| Property |
Value |
| background |
#eeeef0 |
| color |
#131316 |
| border |
none |
| radius |
6px |
| padding |
8px 16px |
| font size |
14px |
| font weight |
500 |
| shadow |
none |
| hover |
Inactive chips: colour #131316, no fill. |
Active tab shows a 6px #6c47ff dot; inactive tabs use a hollow #d9d9de ring dot and #42434d text. In dark sections the eyebrow label becomes 13px violet/cyan text above the H2.
Changelog Tag (badge)
| Property |
Value |
| background |
#131316 |
| color |
#ffffff |
| border |
none |
| radius |
9999px |
| padding |
4px 10px |
| font size |
12px |
| font weight |
500 |
| shadow |
none |
| hover |
none |
Black pill ('Product', 'API') sits above each changelog entry title; dates use 13px #5e5f6e on the timeline rail with a hollow ring node.
Layout
A 1280px max-width container centred on a #f7f7f8 ground, with content inset ~116px at 1440px. The page is a stack of alternating bands: light grey marketing sections and full-bleed #131316 inverted sections whose top and bottom edges are cut with angular notches rather than straight lines. Heroes are left-aligned and single-column (headline, lead, then a wide product mockup); feature areas use asymmetric 3-column bento grids with cards of varying heights and 8px gaps. Docs uses a fixed ~240px left sidebar on white with a 16px-gap tile grid in the body. Pricing uses four equal columns of white cards on black with a technical blueprint illustration behind the hero.
Imagery
No photography except small round testimonial avatars. The visual payload is product UI: real Clerk sign-in/sign-up cards rendered in-page with ghosted duplicates fading left and right, monospace CLI strips, and line-art framework/integration logo tiles on black. Dark sections carry faint blueprint wireframe illustrations and soft radial glows. Brand logos in the trust row are rendered flat in #42434d at ~20px.
Motion
Restrained and functional: tab switches cross-fade the mockup, hover states transition background/colour over ~150ms ease, dropdown chevrons rotate, and the hero mockup ghosts drift subtly. No parallax, no entrance bounce; the angular section notches stay static.
Responsive
Below ~900px the pill nav collapses to a white rounded bar holding only the logo, 'Sign in', 'Sign up' and a hamburger; tapping it swaps to an X and opens a full-screen white sheet where nav items become 28px/600 ink headings in a single stacked column separated by #eeeef0 hairline rules, each with a right-aligned chevron for its sub-menu. The hero stacks: H1 drops to ~40px with the same −0.035em tracking, the lead wraps to two lines, and the AI 'Copy prompt' pill moves below the lead and spans more width. The 4-up tab strip reflows to a 2×2 grid with visible dividers; the sign-in mockup is centred and allowed to crop vertically. Horizontal padding tightens to 24px, section gaps halve to ~64px, and card grids collapse to one column at full width while buttons stay inline-sized rather than stretching.
Do
- Keep exactly one violet #6c47ff action per screen; everything else is graphite #42434d or ghost.
- Set display type at 56–64px/700 with −0.035em tracking and let it break to two lines — the headline is the layout.
- Build card edges from layered low-alpha shadows (0.5px ring + 2px blur), never a solid 1px CSS border on light grounds.
- Invert whole sections to #131316 edge-to-edge for rhythm, and use inset rgba(255,255,255,0.08) hairlines for cards inside them.
- Use 6px radii for controls and 8px for cards; reserve pills for the nav bar, tags and avatar stacks.
- Show real product UI — auth cards, CLI output, code lines in Söhne Mono — instead of abstract illustration.
Don't
- Don't tint the greys; the neutral ramp (#f7f7f8 → #d9d9de → #5e5f6e → #131316) is cool-neutral and must stay so.
- Don't use heavy drop shadows or >12px blur at high alpha — the lift is 0.024–0.05 alpha across many layers.
- Don't introduce gradients or colour washes on light sections; glows belong only inside dark bands.
- Don't set body copy in pure #000 — body is #42434d, secondary is #5e5f6e.
- Don't make buttons taller than ~30–34px or larger than 13–14px text; the control scale is deliberately small against huge headlines.
- Don't mix a second typeface for headings — Geist carries display and UI; mono is only for code.
Agent prompt
Build a light, near-monochrome developer-tools site in the Clerk style: page ground #f7f7f8, white #ffffff cards, ink #131316 for headings and for full-bleed inverted sections that alternate with the light bands (cut their top/bottom edges with angular notches). Typography is Geist everywhere (fallback Inter/system-ui) with Söhne Mono (fallback JetBrains Mono) for code: hero H1 56–64px/700 at −0.035em tracking and 1.12 line-height, section H2 32px/600 at −0.015em, H3 24px/600, lead 18px/400/1.55 in #5e5f6e, body 16px/24px/400 in #42434d, UI labels 13–14px at 450–500. Container max-width 1280px, 4px spacing grid clustering on 8/12/16/24 with 64–128px section gaps and 20–24px card padding. Radii: 6px buttons and chips, 8px cards and inputs, 9999px for the sticky floating nav pill, tags and avatar stacks. Shadows are feather-light: cards get 0 0 0 0.5px #d9d9de, 0 1px 2px rgba(0,0,0,.06), 0 0 2px rgba(0,0,0,.08), floating panels get a six-layer stack at rgba(19,19,22,0.024), dark-section cards use inset 0 0 0 1px rgba(255,255,255,.08) instead of borders. Colour is rationed: one violet #6c47ff primary CTA (30px tall, 6px radius, 13px/500 white label, inset 0 1px 0 rgba(255,255,255,.07) highlight), graphite #42434d or #212126 for all other filled buttons, cyan #5de3ff only for inline disclosure links on dark, #eeeef0 for chip and hover fills, #9394a1 for placeholders. Top of page carries a #0a0a0b announcement strip with 13px white text above a white pill nav with 15px/450 links and chevron dropdowns. Imagery is real product UI — auth cards with ghosted duplicates, monospace CLI strips, line-art logo tiles — not illustration. On mobile collapse the nav to a hamburger that opens a full-screen white sheet with 28px/600 stacked links divided by #eeeef0 rules, drop the H1 to ~40px, stack grids to one column, and tighten page padding to 24px.
CSS custom properties
/* Clerk — CSS custom properties. Generated from style.json */
:root {
/* Palette */
--color-background: #f7f7f8; /* Default page ground on home, changelog and marketing sections */
--color-card: #ffffff; /* Raised cards, nav bar, inputs, docs page ground */
--color-foreground: #131316; /* Headline colour and the fill of full-bleed inverted sections (pricing/company heroes, feature bands) */
--color-background-dark: #0a0a0b; /* Top announcement bar and the deepest dark-section ground */
--color-surface-dark: #212126; /* Cards and buttons inside dark sections; 'Ask AI' / 'Sign Up' pill fill */
--color-text-body: #42434d; /* Primary body copy on light grounds and the secondary button fill */
--color-text-muted: #5e5f6e; /* Sidebar links, captions, sub-labels, ghost button text */
--color-text-subtle: #9394a1; /* Placeholders, metadata, de-emphasised UI in mockups */
--color-border: #d9d9de; /* 0.5–1px card and input outlines rendered as shadow spread */
--color-muted: #eeeef0; /* Tab chips, toggle tracks, subtle fills on white */
--color-primary: #6c47ff; /* The single hero CTA fill ('Start building for free') and active tab dot */
--color-accent: #5de3ff; /* Inline disclosure links inside dark pricing tables */
/* Semantic roles */
--background: #f7f7f8;
--surface: #ffffff;
--surface-raised: #ffffff;
--border: #d9d9de;
--text: #131316;
--text-muted: #5e5f6e;
--primary: #6c47ff;
--primary-text: #ffffff;
--accent: #eeeef0;
/* Typography */
--font-display: Geist, Inter, 'SF Pro Display', system-ui, sans-serif;
--font-body: Geist, Inter, system-ui, -apple-system, sans-serif;
--font-mono: 'Söhne Mono', 'Berkeley Mono', 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
--text-display: 64px;
--text-display--line-height: 1.12;
--text-display--letter-spacing: -0.035em;
--text-display--font-weight: 700;
--text-h1: 56px;
--text-h1--line-height: 64px;
--text-h1--letter-spacing: -0.035em;
--text-h1--font-weight: 700;
--text-h2: 32px;
--text-h2--line-height: 1.13;
--text-h2--letter-spacing: -0.015em;
--text-h2--font-weight: 600;
--text-h3: 24px;
--text-h3--line-height: 1.33;
--text-h3--letter-spacing: -0.025em;
--text-h3--font-weight: 600;
--text-lead: 18px;
--text-lead--line-height: 1.55;
--text-lead--letter-spacing: normal;
--text-lead--font-weight: 400;
--text-body: 16px;
--text-body--line-height: 24px;
--text-body--letter-spacing: normal;
--text-body--font-weight: 400;
--text-small-ui: 14px;
--text-small-ui--line-height: 1.4;
--text-small-ui--letter-spacing: normal;
--text-small-ui--font-weight: 450;
--text-caption-button: 13px;
--text-caption-button--line-height: 20px;
--text-caption-button--letter-spacing: normal;
--text-caption-button--font-weight: 500;
--text-mono: 13px;
--text-mono--line-height: 1.45;
--text-mono--letter-spacing: -0.02em;
--text-mono--font-weight: 500;
/* Spacing */
--space-1: 4px;
--space-2: 6px;
--space-3: 8px;
--space-4: 12px;
--space-5: 16px;
--space-6: 20px;
--space-7: 24px;
--space-8: 32px;
--space-9: 40px;
--space-10: 64px;
--space-11: 80px;
--space-12: 128px;
--container: 1280px;
--section-gap: 128px;
/* Radius */
--radius-buttons-chips-small-controls: 6px;
--radius-cards-panels-inputs: 8px;
--radius-tiny-tags-inner-tokens: 4px;
--radius-large-panels-mockup-frames: 12px–16px;
--radius-nav-bar-prompt-bar-avatar-stacks: 9999px (pill);
/* Shadows */
--shadow-hairline: rgb(217,217,222) 0 0 0 0.5px, rgba(0,0,0,0.06) 0 1px 2px 0, rgba(0,0,0,0.08) 0 0 2px 0;
--shadow-feather-stack: rgba(19,19,22,0.024) 0 0 0 1px, 0 1px 1px -0.5px, 0 3px 3px -1.5px, 0 6px 6px -3px, 0 12px 12px -6px, 0 24px 24px -12px;
--shadow-feather-stack-strong: rgba(19,19,22,0.05) 0 0 0 1px, 0 1px 1px -0.5px, 0 3px 3px -1.5px, 0 6px 6px -3px, 0 12px 12px -6px, 0 24px 24px -12px;
--shadow-control-bevel: inset 0 1px 0 rgba(255,255,255,0.07), 0 0 0 0.5px currentfill, 0 1px 3px rgba(0,0,0,0.2);
--shadow-dark-inset-hairline: inset 0 0 0 1px rgba(255,255,255,0.08);
}
Tailwind v4 theme
/* Clerk — Tailwind CSS v4 theme. Import after tailwindcss: @import "tailwindcss"; then paste this block. */
@theme {
--color-background: #f7f7f8;
--color-card: #ffffff;
--color-foreground: #131316;
--color-background-dark: #0a0a0b;
--color-surface-dark: #212126;
--color-text-body: #42434d;
--color-text-muted: #5e5f6e;
--color-text-subtle: #9394a1;
--color-border: #d9d9de;
--color-muted: #eeeef0;
--color-primary: #6c47ff;
--color-accent: #5de3ff;
--color-background: #f7f7f8;
--color-surface: #ffffff;
--color-surface-raised: #ffffff;
--color-border: #d9d9de;
--color-text: #131316;
--color-text-muted: #5e5f6e;
--color-primary: #6c47ff;
--color-primary-text: #ffffff;
--color-accent: #eeeef0;
--font-display: Geist, Inter, 'SF Pro Display', system-ui, sans-serif;
--font-body: Geist, Inter, system-ui, -apple-system, sans-serif;
--font-mono: 'Söhne Mono', 'Berkeley Mono', 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
--text-display: 64px;
--text-display--line-height: 1.12;
--text-display--letter-spacing: -0.035em;
--text-display--font-weight: 700;
--text-h1: 56px;
--text-h1--line-height: 64px;
--text-h1--letter-spacing: -0.035em;
--text-h1--font-weight: 700;
--text-h2: 32px;
--text-h2--line-height: 1.13;
--text-h2--letter-spacing: -0.015em;
--text-h2--font-weight: 600;
--text-h3: 24px;
--text-h3--line-height: 1.33;
--text-h3--letter-spacing: -0.025em;
--text-h3--font-weight: 600;
--text-lead: 18px;
--text-lead--line-height: 1.55;
--text-lead--letter-spacing: normal;
--text-lead--font-weight: 400;
--text-body: 16px;
--text-body--line-height: 24px;
--text-body--letter-spacing: normal;
--text-body--font-weight: 400;
--text-small-ui: 14px;
--text-small-ui--line-height: 1.4;
--text-small-ui--letter-spacing: normal;
--text-small-ui--font-weight: 450;
--text-caption-button: 13px;
--text-caption-button--line-height: 20px;
--text-caption-button--letter-spacing: normal;
--text-caption-button--font-weight: 500;
--text-mono: 13px;
--text-mono--line-height: 1.45;
--text-mono--letter-spacing: -0.02em;
--text-mono--font-weight: 500;
--radius-buttons-chips-small-controls: 6px;
--radius-cards-panels-inputs: 8px;
--radius-tiny-tags-inner-tokens: 4px;
--radius-large-panels-mockup-frames: 12px–16px;
--radius-nav-bar-prompt-bar-avatar-stacks: 9999px (pill);
--shadow-hairline: rgb(217,217,222) 0 0 0 0.5px, rgba(0,0,0,0.06) 0 1px 2px 0, rgba(0,0,0,0.08) 0 0 2px 0;
--shadow-feather-stack: rgba(19,19,22,0.024) 0 0 0 1px, 0 1px 1px -0.5px, 0 3px 3px -1.5px, 0 6px 6px -3px, 0 12px 12px -6px, 0 24px 24px -12px;
--shadow-feather-stack-strong: rgba(19,19,22,0.05) 0 0 0 1px, 0 1px 1px -0.5px, 0 3px 3px -1.5px, 0 6px 6px -3px, 0 12px 12px -6px, 0 24px 24px -12px;
--shadow-control-bevel: inset 0 1px 0 rgba(255,255,255,0.07), 0 0 0 0.5px currentfill, 0 1px 3px rgba(0,0,0,0.2);
--shadow-dark-inset-hairline: inset 0 0 0 1px rgba(255,255,255,0.08);
--container-site: 1280px;
}
Theme tokens — light + dark
The shadcn-named layer DevDojo Sites speaks (bg-background, text-foreground, bg-primary, rounded-medium…). Paste into site.css after @import "tailwindcss" to restyle any site in this look.
/* Clerk — DevDojo theme tokens (light + dark). Generated from style.json. */
/* Drop into site.css after @import "tailwindcss": bg-background, text-foreground, bg-primary, border-border, rounded-medium… all read these. Dark mode: estimated — the site has no dark scheme, so the .dark half is a plausible twin of its palette. */
@custom-variant dark (&:where(.dark, .dark *));
:root {
color-scheme: light;
--background: #f7f7f8;
--foreground: #131316;
--card: #ffffff;
--card-foreground: #131316;
--popover: #ffffff; /* estimated */
--popover-foreground: #131316; /* estimated */
--primary: #6c47ff;
--primary-foreground: #ffffff;
--secondary: #eeeef0;
--secondary-foreground: #42434d;
--muted: #f6f6f7;
--muted-foreground: #5e5f6e;
--accent: #eeeef0;
--accent-foreground: #131316;
--destructive: #e5484d; /* estimated */
--destructive-foreground: #ffffff; /* estimated */
--border: #d9d9de;
--input: #d9d9de;
--ring: #6c47ff; /* estimated */
--radius-small: 4px;
--radius-medium: 6px;
--radius-large: 8px;
--radius: var(--radius-medium);
--font-display: Geist, Inter, 'SF Pro Display', system-ui, sans-serif;
--font-body: Geist, Inter, system-ui, -apple-system, sans-serif;
--font-mono: 'Söhne Mono', 'Berkeley Mono', 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}
.dark {
color-scheme: dark;
/* estimated from the light palette */
--background: #131316;
--foreground: #ffffff;
--card: #212126;
--card-foreground: #ffffff;
--popover: #212126;
--popover-foreground: #ffffff;
--primary: #6c47ff;
--primary-foreground: #ffffff;
--secondary: #2f3037;
--secondary-foreground: #ffffff;
--muted: #25252a;
--muted-foreground: #9394a1;
--accent: #5de3ff;
--accent-foreground: #0a0a0b;
--destructive: #e5484d;
--destructive-foreground: #ffffff;
--border: rgba(255,255,255,0.08);
--input: rgba(255,255,255,0.12);
--ring: #6c47ff;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-card: var(--card);
--color-card-foreground: var(--card-foreground);
--color-popover: var(--popover);
--color-popover-foreground: var(--popover-foreground);
--color-primary: var(--primary);
--color-primary-foreground: var(--primary-foreground);
--color-secondary: var(--secondary);
--color-secondary-foreground: var(--secondary-foreground);
--color-muted: var(--muted);
--color-muted-foreground: var(--muted-foreground);
--color-accent: var(--accent);
--color-accent-foreground: var(--accent-foreground);
--color-destructive: var(--destructive);
--color-destructive-foreground: var(--destructive-foreground);
--color-border: var(--border);
--color-input: var(--input);
--color-ring: var(--ring);
--radius-small: var(--radius-small);
--radius-medium: var(--radius-medium);
--radius-large: var(--radius-large);
--font-display: var(--font-display);
--font-body: var(--font-body);
--font-mono: var(--font-mono);
}
Clerk — Style Reference
soft grey light, ink-black conviction
Mood: minimal, technical, precise, monochrome, light
A near-monochrome developer marketing system built on a dove-grey ground (#f7f7f8) with white cards floating on whisper-thin hairline shadows, punctuated by full-bleed ink-black (#131316) sections that invert the page and make the product feel like a shipped piece of software rather than a landing page. Headlines are enormous, tightly tracked Geist in 700 weight (56–64px, −0.035em) sitting directly above a calm 16–18px body in grey-slate; everything else is deliberately quiet so the embedded UI mockups — real sign-in cards, code lines, CLI strips — carry the visual interest.
Tokens — Colors
| Name |
Value |
Token |
Role |
| Paper Grey |
#f7f7f8 |
--background |
Default page ground on home, changelog and marketing sections |
| Card White |
#ffffff |
--card |
Raised cards, nav bar, inputs, docs page ground |
| Ink |
#131316 |
--foreground |
Headline colour and the fill of full-bleed inverted sections (pricing/company heroes, feature bands) |
| Pitch |
#0a0a0b |
--background-dark |
Top announcement bar and the deepest dark-section ground |
| Graphite Surface |
#212126 |
--surface-dark |
Cards and buttons inside dark sections; 'Ask AI' / 'Sign Up' pill fill |
| Slate Body |
#42434d |
--text-body |
Primary body copy on light grounds and the secondary button fill |
| Muted Slate |
#5e5f6e |
--text-muted |
Sidebar links, captions, sub-labels, ghost button text |
| Fog Grey |
#9394a1 |
--text-subtle |
Placeholders, metadata, de-emphasised UI in mockups |
| Hairline |
#d9d9de |
--border |
0.5–1px card and input outlines rendered as shadow spread |
| Chip Grey |
#eeeef0 |
--muted |
Tab chips, toggle tracks, subtle fills on white |
| Clerk Violet |
#6c47ff |
--primary |
The single hero CTA fill ('Start building for free') and active tab dot |
| Signal Cyan |
#5de3ff |
--accent |
Inline disclosure links inside dark pricing tables |
Tokens — Typography
- Display: Geist (Inter, SF Pro Display, system-ui, sans-serif) — weights 600/700
- Body: Geist (Inter, system-ui, -apple-system, sans-serif) — weights 400/450/500/600
- Mono: Söhne Mono (Berkeley Mono, JetBrains Mono, ui-monospace, SFMono-Regular, monospace) — weights 400/500
Tokens — Radius
| Element |
Value |
| Buttons, chips, small controls |
6px |
| Cards, panels, inputs |
8px |
| Tiny tags, inner tokens |
4px |
| Large panels / mockup frames |
12px–16px |
| Nav bar, prompt bar, avatar stacks |
9999px (pill) |
Do
- Keep exactly one violet #6c47ff action per screen; everything else is graphite #42434d or ghost.
- Set display type at 56–64px/700 with −0.035em tracking and let it break to two lines — the headline is the layout.
- Build card edges from layered low-alpha shadows (0.5px ring + 2px blur), never a solid 1px CSS border on light grounds.
- Invert whole sections to #131316 edge-to-edge for rhythm, and use inset rgba(255,255,255,0.08) hairlines for cards inside them.
- Use 6px radii for controls and 8px for cards; reserve pills for the nav bar, tags and avatar stacks.
- Show real product UI — auth cards, CLI output, code lines in Söhne Mono — instead of abstract illustration.
Don't
- Don't tint the greys; the neutral ramp (#f7f7f8 → #d9d9de → #5e5f6e → #131316) is cool-neutral and must stay so.
- Don't use heavy drop shadows or >12px blur at high alpha — the lift is 0.024–0.05 alpha across many layers.
- Don't introduce gradients or colour washes on light sections; glows belong only inside dark bands.
- Don't set body copy in pure #000 — body is #42434d, secondary is #5e5f6e.
- Don't make buttons taller than ~30–34px or larger than 13–14px text; the control scale is deliberately small against huge headlines.
- Don't mix a second typeface for headings — Geist carries display and UI; mono is only for code.
{
"$name": "Clerk",
"$source": "https://clerk.com",
"$generated": "inspiration library",
"color": {
"background": {
"$type": "color",
"$value": "#f7f7f8",
"$description": "Default page ground on home, changelog and marketing sections"
},
"card": {
"$type": "color",
"$value": "#ffffff",
"$description": "Raised cards, nav bar, inputs, docs page ground"
},
"foreground": {
"$type": "color",
"$value": "#131316",
"$description": "Headline colour and the fill of full-bleed inverted sections (pricing/company heroes, feature bands)"
},
"background-dark": {
"$type": "color",
"$value": "#0a0a0b",
"$description": "Top announcement bar and the deepest dark-section ground"
},
"surface-dark": {
"$type": "color",
"$value": "#212126",
"$description": "Cards and buttons inside dark sections; 'Ask AI' / 'Sign Up' pill fill"
},
"text-body": {
"$type": "color",
"$value": "#42434d",
"$description": "Primary body copy on light grounds and the secondary button fill"
},
"text-muted": {
"$type": "color",
"$value": "#5e5f6e",
"$description": "Sidebar links, captions, sub-labels, ghost button text"
},
"text-subtle": {
"$type": "color",
"$value": "#9394a1",
"$description": "Placeholders, metadata, de-emphasised UI in mockups"
},
"border": {
"$type": "color",
"$value": "#d9d9de",
"$description": "0.5–1px card and input outlines rendered as shadow spread"
},
"muted": {
"$type": "color",
"$value": "#eeeef0",
"$description": "Tab chips, toggle tracks, subtle fills on white"
},
"primary": {
"$type": "color",
"$value": "#6c47ff",
"$description": "The single hero CTA fill ('Start building for free') and active tab dot"
},
"accent": {
"$type": "color",
"$value": "#5de3ff",
"$description": "Inline disclosure links inside dark pricing tables"
}
},
"role": {
"background": {
"$type": "color",
"$value": "#f7f7f8"
},
"surface": {
"$type": "color",
"$value": "#ffffff"
},
"surface_raised": {
"$type": "color",
"$value": "#ffffff"
},
"border": {
"$type": "color",
"$value": "#d9d9de"
},
"text": {
"$type": "color",
"$value": "#131316"
},
"text_muted": {
"$type": "color",
"$value": "#5e5f6e"
},
"primary": {
"$type": "color",
"$value": "#6c47ff"
},
"primary_text": {
"$type": "color",
"$value": "#ffffff"
},
"accent": {
"$type": "color",
"$value": "#eeeef0"
}
},
"fontFamily": {
"display": {
"$type": "fontFamily",
"$value": [
"Geist",
"Inter",
"SF Pro Display",
"system-ui",
"sans-serif"
],
"$description": "Headlines use 700 with aggressive negative tracking (−0.035em at 56–64px); section titles drop to 600 at 32px/−0.015em."
},
"body": {
"$type": "fontFamily",
"$value": [
"Geist",
"Inter",
"system-ui",
"-apple-system",
"sans-serif"
],
"$description": "One family does everything. 450 is a real used weight for nav and sidebar links; 500 for labels and buttons."
},
"mono": {
"$type": "fontFamily",
"$value": [
"Söhne Mono",
"Berkeley Mono",
"JetBrains Mono",
"ui-monospace",
"SFMono-Regular",
"monospace"
],
"$description": "Code lines, CLI strips, webhook event names and inline tokens only."
}
},
"typography": {
"display": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "64px",
"lineHeight": "1.12",
"fontWeight": 700,
"letterSpacing": "-0.035em"
}
},
"h1": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "56px",
"lineHeight": "64px",
"fontWeight": 700,
"letterSpacing": "-0.035em"
}
},
"h2": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "32px",
"lineHeight": "1.13",
"fontWeight": 600,
"letterSpacing": "-0.015em"
}
},
"h3": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "24px",
"lineHeight": "1.33",
"fontWeight": 600,
"letterSpacing": "-0.025em"
}
},
"lead": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.body}",
"fontSize": "18px",
"lineHeight": "1.55",
"fontWeight": 400,
"letterSpacing": "normal"
}
},
"body": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.body}",
"fontSize": "16px",
"lineHeight": "24px",
"fontWeight": 400,
"letterSpacing": "normal"
}
},
"small-ui": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.body}",
"fontSize": "14px",
"lineHeight": "1.4",
"fontWeight": 450,
"letterSpacing": "normal"
}
},
"caption-button": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.body}",
"fontSize": "13px",
"lineHeight": "20px",
"fontWeight": 500,
"letterSpacing": "normal"
}
},
"mono": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.mono}",
"fontSize": "13px",
"lineHeight": "1.45",
"fontWeight": 500,
"letterSpacing": "-0.02em"
}
}
},
"spacing": {
"1": {
"$type": "dimension",
"$value": "4px"
},
"2": {
"$type": "dimension",
"$value": "6px"
},
"3": {
"$type": "dimension",
"$value": "8px"
},
"4": {
"$type": "dimension",
"$value": "12px"
},
"5": {
"$type": "dimension",
"$value": "16px"
},
"6": {
"$type": "dimension",
"$value": "20px"
},
"7": {
"$type": "dimension",
"$value": "24px"
},
"8": {
"$type": "dimension",
"$value": "32px"
},
"9": {
"$type": "dimension",
"$value": "40px"
},
"10": {
"$type": "dimension",
"$value": "64px"
},
"11": {
"$type": "dimension",
"$value": "80px"
},
"12": {
"$type": "dimension",
"$value": "128px"
}
},
"radius": {
"buttons-chips-small-controls": {
"$type": "dimension",
"$value": "6px"
},
"cards-panels-inputs": {
"$type": "dimension",
"$value": "8px"
},
"tiny-tags-inner-tokens": {
"$type": "dimension",
"$value": "4px"
},
"large-panels-mockup-frames": {
"$type": "dimension",
"$value": "12px–16px"
},
"nav-bar-prompt-bar-avatar-stacks": {
"$type": "dimension",
"$value": "9999px (pill)"
}
},
"shadow": {
"hairline": {
"$type": "shadow",
"$value": "rgb(217,217,222) 0 0 0 0.5px, rgba(0,0,0,0.06) 0 1px 2px 0, rgba(0,0,0,0.08) 0 0 2px 0",
"$description": "Default white card, docs tile and input outline — a crisp 0.5px ring plus a 2px breath."
},
"feather-stack": {
"$type": "shadow",
"$value": "rgba(19,19,22,0.024) 0 0 0 1px, 0 1px 1px -0.5px, 0 3px 3px -1.5px, 0 6px 6px -3px, 0 12px 12px -6px, 0 24px 24px -12px",
"$description": "The signature six-layer ultra-low-alpha lift on floating panels, nav and hero mockups."
},
"feather-stack-strong": {
"$type": "shadow",
"$value": "rgba(19,19,22,0.05) 0 0 0 1px, 0 1px 1px -0.5px, 0 3px 3px -1.5px, 0 6px 6px -3px, 0 12px 12px -6px, 0 24px 24px -12px",
"$description": "Modal-like surfaces and the sign-in card that sits above the fold."
},
"control-bevel": {
"$type": "shadow",
"$value": "inset 0 1px 0 rgba(255,255,255,0.07), 0 0 0 0.5px currentfill, 0 1px 3px rgba(0,0,0,0.2)",
"$description": "Filled buttons (violet, graphite, black) — a top inset highlight plus a tight ring in the button's own colour."
},
"dark-inset-hairline": {
"$type": "shadow",
"$value": "inset 0 0 0 1px rgba(255,255,255,0.08)",
"$description": "Card edges inside the black sections, replacing borders entirely."
}
},
"component": {
"primary-cta": {
"kind": "button",
"background": "#6c47ff",
"color": "#ffffff",
"border": "none",
"radius": "6px",
"padding": "0 12px",
"font_size": "13px",
"font_weight": 500,
"shadow": "0 0 0 0.5px #6c47ff, inset 0 1px 0 rgba(255,255,255,0.07), 0 1px 3px rgba(0,0,0,0.2)",
"hover": "Darken fill ~6% (#5d3ae6); keep the inset highlight.",
"notes": "30px tall, used at most once per view ('Start building for free'). Never paired with a second violet button."
},
"secondary-neutral-button": {
"kind": "button",
"background": "#42434d",
"color": "#ffffff",
"border": "none",
"radius": "6px",
"padding": "0 12px",
"font_size": "13px",
"font_weight": 500,
"shadow": "0 0 0 0.5px #42434d, inset 0 1px 0 rgba(255,255,255,0.07), 0 1px 3px rgba(0,0,0,0.2)",
"hover": "Lighten to #4e4f5a.",
"notes": "Graphite fill for all non-hero plan actions ('Upgrade to Pro plan', 'Talk to sales'); #212126 is the near-black variant used in docs ('Ask AI', 'Sign Up')."
},
"ghost-nav-sidebar-link": {
"kind": "button",
"background": "transparent",
"color": "#5e5f6e",
"border": "none",
"radius": "6px",
"padding": "7px 8px",
"font_size": "14px",
"font_weight": 450,
"shadow": "none",
"hover": "background #eeeef0; color #131316.",
"notes": "34px tall. Active docs sidebar item gets the #eeeef0 fill persistently plus an icon at 16px."
},
"field": {
"kind": "input",
"background": "#ffffff",
"color": "#131316",
"border": "0.5px solid #d9d9de (as shadow ring)",
"radius": "6px",
"padding": "8px 12px",
"font_size": "14px",
"font_weight": 400,
"shadow": "0 0 0 0.5px #d9d9de, 0 1px 2px rgba(0,0,0,0.06)",
"hover": "Ring darkens to #b7b8c2; focus adds 0 0 0 3px rgba(108,71,255,0.18).",
"notes": "Label is 13px/500 #131316 sitting 6px above; placeholder #9394a1."
},
"floating-card": {
"kind": "card",
"background": "#ffffff",
"color": "#42434d",
"border": "none",
"radius": "8px",
"padding": "20px",
"font_size": "14px",
"font_weight": 400,
"shadow": "rgb(217,217,222) 0 0 0 0.5px, rgba(0,0,0,0.06) 0 1px 2px, rgba(0,0,0,0.08) 0 0 2px",
"hover": "Lift to the Feather Stack shadow; no transform on content cards.",
"notes": "Title 18px/600 #131316, body 14px/400 #5e5f6e. Dark-section equivalent: transparent fill with inset 0 0 0 1px rgba(255,255,255,0.08) and 24px padding."
},
"floating-pill-nav": {
"kind": "nav",
"background": "#ffffff",
"color": "#131316",
"border": "0.5px solid rgba(19,19,22,0.06)",
"radius": "9999px",
"padding": "8px 16px",
"font_size": "15px",
"font_weight": 450,
"shadow": "rgba(19,19,22,0.024) 0 0 0 1px, 0 1px 1px -0.5px, 0 3px 3px -1.5px, 0 6px 6px -3px, 0 12px 12px -6px, 0 24px 24px -12px",
"hover": "Link colour to #131316; dropdown chevron rotates 180°.",
"notes": "Sticky, inset from the viewport edges with a 1280px max width, sitting below a pitch-black (#0a0a0b) announcement strip with 13px white text. Dropdown triggers carry a 12px chevron."
},
"section-tab-chip": {
"kind": "badge",
"background": "#eeeef0",
"color": "#131316",
"border": "none",
"radius": "6px",
"padding": "8px 16px",
"font_size": "14px",
"font_weight": 500,
"shadow": "none",
"hover": "Inactive chips: colour #131316, no fill.",
"notes": "Active tab shows a 6px #6c47ff dot; inactive tabs use a hollow #d9d9de ring dot and #42434d text. In dark sections the eyebrow label becomes 13px violet/cyan text above the H2."
},
"changelog-tag": {
"kind": "badge",
"background": "#131316",
"color": "#ffffff",
"border": "none",
"radius": "9999px",
"padding": "4px 10px",
"font_size": "12px",
"font_weight": 500,
"shadow": "none",
"hover": "none",
"notes": "Black pill ('Product', 'API') sits above each changelog entry title; dates use 13px #5e5f6e on the timeline rail with a hollow ring node."
}
}
}