Liveblocks — Design Reference
void-black studio for collaborative machines
Source: https://liveblocks.io
Theme: dark
Category: Developer Tools
Mood: dark, minimal, technical, precise, monochrome, airy
Captured: 2026-11-09
Overview
A pure-black marketing surface where white Suisse headlines float in enormous negative space and a single cinematic 3D render anchors the hero. The atmosphere is quiet, engineered and slightly cinematic: no gradients competing for attention, no decorative colour — just hairline dividers at 2–3% white, soft grey body copy, and tiny bursts of product colour (mint, amber, lilac, presence-yellow cursors) that behave like live collaborators appearing on screen. The docs half of the product flips to a near-white Inter interface, so the system is deliberately two-faced: black for story, white for work.
Technically it runs on #000000 ground with surface steps at #080707 and #100f0f, neutral text ramp #272626 → #635f5f → #918d8d → #b7b4b4 → #ffffff, and borders expressed as inset box-shadows (0 0 0 1px #fdfcfc1f) rather than CSS borders — which keeps card grids hairline-thin and perfectly flush. Type is Suisse at 500 for all display sizes (60/52/48/32/20px, line-height 1.1–1.38, tight negative tracking on the big sizes), Inter for app/docs chrome, JetBrains Mono for code. Radii are small and consistent (4px chips, 6px buttons, 8–12px cards); spacing is a 4px base with heavy marketing rhythm tokens (96–280px section gaps). The primary CTA inverts the page: white fill, black label.
Tokens — Colors
| Name |
Value |
Token |
Role |
| Void |
#000000 |
--color-surface-200 |
Page ground for every marketing page, nav, footer and auth screen; also the label colour on white CTA buttons. |
| Pitch Riser |
#080707 |
--color-surface-400 |
First surface step above the void — subtle section bands and panel fills that barely separate from the ground. |
| Graphite Slab |
#100f0f |
--color-surface-500 |
Raised card / sign-in panel fill; the most visible dark surface on the site. |
| Hairline Coal |
#272626 |
--color-neutral-100 |
Opaque border and divider colour, applied as 0 0 0 1px inset shadow around cards and grid cells. |
| Slate Ash |
#635f5f |
--color-neutral-200 |
Tertiary text: disabled list items, footnotes, timestamps. |
| Fog Grey |
#918d8d |
--color-neutral-300 |
Dominant secondary text colour — feature descriptions, nav sub-labels, feature-list bullets. |
| Lifted Grey |
#b7b4b4 |
--color-neutral-400 |
Hover state for muted text and secondary button labels on dark chips. |
| Signal White |
#ffffff |
--color-neutral-500 |
Headlines, nav links, primary button fill, logo; the only high-contrast element. |
| Paper |
#fdfcfd |
--color-docs-background |
Docs and app ground — the light twin of the system, with #1a1523 text. |
| Copilot Violet |
#7a51ec |
--color-purple-500 |
Brand accent: links in docs, active nav item, focus rings, AI-feature highlights. |
| Presence Mint |
#51ecc5 |
--color-green-500 |
Positive/semantic accent — 'Save 17%' badges, uptime and status indicators. |
| Comment Amber |
#ec9e51 |
--color-comments-500 |
Comments/annotation feature colour; the glow under the hero 3D render and cursor flags. |
| Cursor Yellow |
#ecca51 |
--color-yellow-500 |
Live-cursor name flags and multiplayer demo highlights. |
| Alert Coral |
#ec5151 |
--color-red-500 |
Destructive and error states, danger divider shadow. |
Semantic roles
| Role |
Value |
| background |
#000000 |
| surface |
#080707 |
| surface raised |
#100f0f |
| border |
rgba(253,252,252,0.16) |
| text |
#ffffff |
| text muted |
#918d8d |
| primary |
#ffffff |
| primary text |
#000000 |
| accent |
#7a51ec |
| success |
#51ecc5 |
| warning |
#ecca51 |
| danger |
#ec5151 |
Tokens — Typography
- Display: Suisse Int'l (400, 500) — fallbacks: Inter, Helvetica Neue, -apple-system, sans-serif. Brand face for all marketing headings and body. Only two weights ship — 400 for prose, 500 for every heading and emphasis. Never bold beyond 500.
- Body: Inter (400, 500, 540, 590, 600) — fallbacks: -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif. Used for app, docs and auth chrome (variable weights 540/590 for docs headings). Keeps product UI distinct from marketing voice.
- Mono: JetBrains Mono (400, 500) — fallbacks: Roboto Mono, Menlo, monospace. Code blocks, keyboard shortcuts (Ctrl K) and inline tokens; paired with the lb code-token palette (#8099ff variables, #70e1c8 strings, #ffc266 values).
| Role |
Size |
Line height |
Weight |
Letter spacing |
Family |
| Display |
60px |
1.1 |
500 |
-0.02em |
display |
| H1 / Section |
52px |
1.1 |
500 |
-0.02em |
display |
| H2 |
32px |
1.2 |
500 |
-0.01em |
display |
| H3 / Lead |
20px |
1.38 |
500 |
0.004em |
display |
| Quote |
24px |
1.38 |
400 |
normal |
display |
| Body |
16px |
1.5 |
400 |
normal |
display |
| Small / UI |
14px |
1.43 |
500 |
normal |
display |
| Caption |
12px |
1.33 |
500 |
normal |
display |
| Mono |
13px |
1.6 |
400 |
normal |
mono |
Tokens — Spacing & Layout
- Base unit: 4px
- Density: spacious
- Container max width: 1280px
- Section gap: 280px (marketing-2xl); 196px xl, 128px lg, 96px md
- Card padding: 28px (feature cards), 20px (bordered cards), 12–16px (compact tiles)
- Scale: 4px, 6px, 8px, 10px, 12px, 16px, 20px, 28px, 40px, 56px, 96px, 196px
Tokens — Radius
| Element |
Value |
| Chip / badge / inline tag |
4px |
| Button, nav item, segmented control |
6px |
| Input, feature panel |
8px |
| Card / dialog |
12px |
| Announcement pill, avatar |
9999px |
Tokens — Shadows
| Name |
Value |
Usage |
| divider-subtle |
0 0 0 1px rgba(253,252,252,0.12) |
Hairline around dark cards and grid cells — replaces CSS borders so cells sit flush. |
| divider |
0 0 0 1px rgba(253,252,252,0.16) |
Default card edge and input ring on dark surfaces. |
| divider-opaque |
0 0 0 1px #272626 |
Solid hairline used on pricing table cells and footer dividers. |
| elevation-dialog |
inset 0 0 0 1px rgba(253,252,252,0.16), 0 16px 24px rgba(0,0,0,0.6), 0 24px 40px rgba(0,0,0,0.2) |
Sign-in panel, modals, floating product demos. |
| elevation-light |
0 1px 2px rgba(0,0,0,0.04) |
Docs/light-mode cards and buttons only — barely-there lift on #fdfcfd. |
Components
Primary CTA (inverted) (button)
| Property |
Value |
| background |
#ffffff |
| color |
#000000 |
| border |
none |
| radius |
6px |
| padding |
12px 20px |
| font size |
16px |
| font weight |
500 |
| shadow |
none |
| hover |
background: #e5e5e5; no translate, 120ms ease |
The only white block on the page besides headlines. Height ~44px in hero, 36px in nav ('Get started'). Label never uppercase.
Ghost / text button (button)
| Property |
Value |
| background |
transparent |
| color |
#ffffff |
| border |
none |
| radius |
6px |
| padding |
8px 12px |
| font size |
14px |
| font weight |
500 |
| shadow |
none |
| hover |
background: rgba(253,252,252,0.09) |
Nav items and 'Install with AI ⌄'. Chevron icon at 14px, colour #918d8d. Used for every secondary action on black.
Tinted chip button (button)
| Property |
Value |
| background |
rgba(253,252,252,0.12) |
| color |
#b7b4b4 |
| border |
none |
| radius |
2px |
| padding |
6px 8px |
| font size |
12px |
| font weight |
500 |
| shadow |
none |
| hover |
background: rgba(253,252,252,0.2); color: #ffffff |
In-demo micro actions (Accept / Decline). Sharp 2px radius signals 'inside a product surface'.
Announcement pill (badge)
| Property |
Value |
| background |
#100f0f |
| color |
#ffffff |
| border |
1px solid rgba(253,252,252,0.16) |
| radius |
9999px |
| padding |
6px 6px 6px 8px |
| font size |
14px |
| font weight |
400 |
| shadow |
none |
| hover |
border-color: rgba(253,252,252,0.29) |
Hero banner: grey 'New' capsule (#272626 bg, 12px) + label + 28px circular white arrow button on the right.
Dark feature card (card)
| Property |
Value |
| background |
#080707 |
| color |
#918d8d |
| border |
none |
| radius |
8px |
| padding |
28px |
| font size |
16px |
| font weight |
400 |
| shadow |
0 0 0 1px rgba(253,252,252,0.16) |
| hover |
shadow: 0 0 0 1px rgba(253,252,252,0.29) |
Grid cells share hairlines (1px gap grid) so the block reads as a table. Icon 20px stroke-only at #ffffff, title 14–20px/500 white, body 14px #918d8d.
Auth / dialog panel (card)
| Property |
Value |
| background |
#100f0f |
| color |
#ffffff |
| border |
none |
| radius |
12px |
| padding |
28px |
| font size |
16px |
| font weight |
400 |
| shadow |
inset 0 0 0 1px rgba(253,252,252,0.16), 0 16px 24px rgba(0,0,0,0.6) |
| hover |
none |
Centred 366px column on pure black; label 14px/500 white above each field, OR divider as hairline rule with centred 12px #635f5f label.
Text input (input)
| Property |
Value |
| background |
transparent |
| color |
#eeeeee |
| border |
1px solid rgba(253,252,252,0.29) |
| radius |
8px |
| padding |
12px 16px |
| font size |
16px |
| font weight |
400 |
| shadow |
none |
| hover |
border-color: rgba(253,252,252,0.4); focus: box-shadow 0 0 0 1px #ffffff |
44px tall; placeholder #635f5f. Focus ring is a white 1px shadow on marketing/auth, violet #7a51ec in docs.
Top navigation (nav)
| Property |
Value |
| background |
transparent |
| color |
#ffffff |
| border |
none |
| radius |
0px |
| padding |
0 40px |
| font size |
16px |
| font weight |
400 |
| shadow |
none |
| hover |
link colour #ffffff → opacity .7 |
Fixed, 80px tall, fully transparent over the hero (no blur, no bottom rule). Wordmark left, 6 links, then 'Sign in' ghost + white 'Get started' at the right edge. Docs nav flips to #fdfcfd with a violet active chip (#f3f0ff bg / #5746af text, 4px radius).
Layout
Single 1280px centred column with 40px outer gutters and 28px inner gutters. Marketing sections are centre-aligned text blocks (headline ≤ 2 lines, lead ≤ 640px) followed by full-bleed or 1280px-wide product imagery, separated by 96–280px of empty black. Feature grids are 2–3 column hairline tables built from 1px gaps over a #272626 background rather than bordered cards. The pricing page is a 4-column hairline table edge-to-edge at 1100px+. Docs use a three-pane layout: 200px left tree, fluid content, 180px right TOC rule.
Imagery
One hero asset dominates: a photoreal, dark-metal 3D render of the Liveblocks mark lit from below by amber (#ec9e51), set on a heavily blurred bokeh plate of a collaborative document — so the background is literally out-of-focus product. Elsewhere imagery is UI-in-UI: light-mode app screenshots (Copilot, Google Docs annotations, Linear-style inbox) floating in rounded 8–12px white cards against black, each tagged with a coloured cursor flag (yellow #ecca51, amber, blue) carrying a collaborator's name. Logos in the trust bar are flat grey-on-black at ~50% opacity. Icons are 1px-stroke monoline, never filled.
Motion
Restrained and continuous: live cursors drift and name flags fade in/out on the hero headline to simulate presence, counters tick ('5' collaborators), and the hero text swaps words. Hover transitions are 120–160ms ease on colour, opacity and hairline brightness only — no scale, no bounce. Sections fade-and-rise ~12px on scroll into view. Carousel of use-case cards scrolls horizontally with momentum.
Responsive
At ≤768px the nav collapses to wordmark left and a 48px rounded-square (#272626, 6px radius) hamburger right that opens a full-screen black drawer with 20px/500 links. The hero stays centred and stacks: display drops from 60px to ~40px with the same -0.02em tracking, the lead paragraph wraps to three lines at 18–20px, and the two CTAs sit side by side (white 'Get started for free' pill plus ghost 'Install with AI') rather than going full width — on narrower phones they stack to 100% width with 12px gaps. The 3D hero render crops tighter and keeps the amber glow centred. Outer gutters drop to 20px, section gaps roughly halve (280px → 128px), multi-column hairline grids become single-column stacks with the hairline becoming a horizontal rule, and the trust-logo band becomes a 2-up wrapped grid with larger logos.
Do
- Keep the ground at true #000000 and build separation with 1px rgba(253,252,252,0.12–0.16) shadows instead of lighter grey panels.
- Use Suisse 500 for every heading size — tighten tracking to -0.02em at 48px+ and leave it at 0 below 32px.
- Make the single primary action a pure white block with black text; everything else is ghost or hairline.
- Let sections breathe at 96–280px; a near-empty viewport between blocks is the point.
- Reserve the feature colours (violet, mint, amber, yellow) for product-signal moments: cursors, badges, status dots, code tokens.
- Set secondary prose at #918d8d/16px/1.5 — never white — so headlines keep all the contrast.
- Flip whole surfaces, not components, when entering docs/app: #fdfcfd ground, #1a1523 text, Inter 540–590 headings.
Don't
- Don't add gradients, glows or coloured washes to the black background — the only light source is the hero render.
- Don't exceed 12px radius on cards or round buttons past 6px; only pills and avatars are fully rounded.
- Don't use font-weight 600+ for Suisse headings; the brand stops at 500.
- Don't give the fixed nav a background, blur or bottom border — it must stay fully transparent over the hero.
- Don't stack multiple white CTAs in one view; one inverted button per decision point.
- Don't use drop shadows on dark surfaces for elevation — use inset hairlines, reserving soft shadows for the light docs theme.
- Don't colour body text with brand violet on black; violet is for docs links, focus rings and AI accents.
Agent prompt
Build a pure-black developer-infrastructure site: body background #000000, body text #ffffff with secondary prose in #918d8d, surfaces stepping to #080707 and #100f0f, and every border rendered as box-shadow 0 0 0 1px rgba(253,252,252,0.16) (opaque variant #272626) rather than a CSS border. Typography is Suisse Int'l (fallback Inter) in only 400/500 — Display 60px/1.1/500/-0.02em, section H1 52px, H2 32px/1.2, lead 20px/1.38, body 16px/1.5, UI 14px/500, caption 12px; Inter 540–590 for docs/app chrome and JetBrains Mono for code. Layout: 1280px max width, 40px outer gutters, centred hero (announcement pill → 2-line headline → ≤640px lead → two buttons), and 96–280px of empty space between sections; feature grids are hairline tables made of 1px gaps on a #272626 base, not shadowed cards. Radii: 4px chips, 6px buttons/nav items, 8px inputs and panels, 12px cards, 9999px pills. Primary CTA = #ffffff fill, #000000 label, 6px radius, 12px 20px padding, no shadow; secondary = transparent ghost with white 14–16px/500 label and rgba(253,252,252,0.09) hover; inputs are transparent, 44px tall, 1px rgba(253,252,252,0.29) ring, #635f5f placeholder, white focus ring. Fixed 80px transparent nav with wordmark, six 16px/400 links, ghost 'Sign in' and white 'Get started'; collapses on mobile to a #272626 6px-radius hamburger opening a full-screen black drawer. Accents are sparse and product-coded: violet #7a51ec (links, focus, AI), mint #51ecc5 (savings/status), amber #ec9e51 and yellow #ecca51 (comments and live-cursor flags), coral #ec5151 (errors). Imagery = one dark metallic 3D render lit by amber over a blurred document plate, plus light-mode app screenshots in 8–12px white cards tagged with coloured cursor labels. Motion limited to 120–160ms colour/opacity transitions and subtle fade-up on scroll. Docs/app screens invert the whole surface to #fdfcfd with #1a1523 text, violet active chips (#f3f0ff / #5746af) and 0 1px 2px rgba(0,0,0,0.04) shadows. Tone: quiet, engineered, spacious, monochrome with live-collaboration colour accents.
CSS custom properties
/* Liveblocks — CSS custom properties. Generated from style.json */
:root {
/* Palette */
--color-surface-200: #000000; /* Page ground for every marketing page, nav, footer and auth screen; also the label colour on white CTA buttons. */
--color-surface-400: #080707; /* First surface step above the void — subtle section bands and panel fills that barely separate from the ground. */
--color-surface-500: #100f0f; /* Raised card / sign-in panel fill; the most visible dark surface on the site. */
--color-neutral-100: #272626; /* Opaque border and divider colour, applied as 0 0 0 1px inset shadow around cards and grid cells. */
--color-neutral-200: #635f5f; /* Tertiary text: disabled list items, footnotes, timestamps. */
--color-neutral-300: #918d8d; /* Dominant secondary text colour — feature descriptions, nav sub-labels, feature-list bullets. */
--color-neutral-400: #b7b4b4; /* Hover state for muted text and secondary button labels on dark chips. */
--color-neutral-500: #ffffff; /* Headlines, nav links, primary button fill, logo; the only high-contrast element. */
--color-docs-background: #fdfcfd; /* Docs and app ground — the light twin of the system, with #1a1523 text. */
--color-purple-500: #7a51ec; /* Brand accent: links in docs, active nav item, focus rings, AI-feature highlights. */
--color-green-500: #51ecc5; /* Positive/semantic accent — 'Save 17%' badges, uptime and status indicators. */
--color-comments-500: #ec9e51; /* Comments/annotation feature colour; the glow under the hero 3D render and cursor flags. */
--color-yellow-500: #ecca51; /* Live-cursor name flags and multiplayer demo highlights. */
--color-red-500: #ec5151; /* Destructive and error states, danger divider shadow. */
/* Semantic roles */
--background: #000000;
--surface: #080707;
--surface-raised: #100f0f;
--border: rgba(253,252,252,0.16);
--text: #ffffff;
--text-muted: #918d8d;
--primary: #ffffff;
--primary-text: #000000;
--accent: #7a51ec;
--success: #51ecc5;
--warning: #ecca51;
--danger: #ec5151;
/* Typography */
--font-display: 'Suisse Int'l', Inter, 'Helvetica Neue', -apple-system, sans-serif;
--font-body: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
--font-mono: 'JetBrains Mono', 'Roboto Mono', Menlo, monospace;
--text-display: 60px;
--text-display--line-height: 1.1;
--text-display--letter-spacing: -0.02em;
--text-display--font-weight: 500;
--text-h1-section: 52px;
--text-h1-section--line-height: 1.1;
--text-h1-section--letter-spacing: -0.02em;
--text-h1-section--font-weight: 500;
--text-h2: 32px;
--text-h2--line-height: 1.2;
--text-h2--letter-spacing: -0.01em;
--text-h2--font-weight: 500;
--text-h3-lead: 20px;
--text-h3-lead--line-height: 1.38;
--text-h3-lead--letter-spacing: 0.004em;
--text-h3-lead--font-weight: 500;
--text-quote: 24px;
--text-quote--line-height: 1.38;
--text-quote--letter-spacing: normal;
--text-quote--font-weight: 400;
--text-body: 16px;
--text-body--line-height: 1.5;
--text-body--letter-spacing: normal;
--text-body--font-weight: 400;
--text-small-ui: 14px;
--text-small-ui--line-height: 1.43;
--text-small-ui--letter-spacing: normal;
--text-small-ui--font-weight: 500;
--text-caption: 12px;
--text-caption--line-height: 1.33;
--text-caption--letter-spacing: normal;
--text-caption--font-weight: 500;
--text-mono: 13px;
--text-mono--line-height: 1.6;
--text-mono--letter-spacing: normal;
--text-mono--font-weight: 400;
/* Spacing */
--space-1: 4px;
--space-2: 6px;
--space-3: 8px;
--space-4: 10px;
--space-5: 12px;
--space-6: 16px;
--space-7: 20px;
--space-8: 28px;
--space-9: 40px;
--space-10: 56px;
--space-11: 96px;
--space-12: 196px;
--container: 1280px;
--section-gap: 280px (marketing-2xl); 196px xl, 128px lg, 96px md;
/* Radius */
--radius-chip-badge-inline-tag: 4px;
--radius-button-nav-item-segmented-control: 6px;
--radius-input-feature-panel: 8px;
--radius-card-dialog: 12px;
--radius-announcement-pill-avatar: 9999px;
/* Shadows */
--shadow-divider-subtle: 0 0 0 1px rgba(253,252,252,0.12);
--shadow-divider: 0 0 0 1px rgba(253,252,252,0.16);
--shadow-divider-opaque: 0 0 0 1px #272626;
--shadow-elevation-dialog: inset 0 0 0 1px rgba(253,252,252,0.16), 0 16px 24px rgba(0,0,0,0.6), 0 24px 40px rgba(0,0,0,0.2);
--shadow-elevation-light: 0 1px 2px rgba(0,0,0,0.04);
}
Tailwind v4 theme
/* Liveblocks — Tailwind CSS v4 theme. Import after tailwindcss: @import "tailwindcss"; then paste this block. */
@theme {
--color-surface-200: #000000;
--color-surface-400: #080707;
--color-surface-500: #100f0f;
--color-neutral-100: #272626;
--color-neutral-200: #635f5f;
--color-neutral-300: #918d8d;
--color-neutral-400: #b7b4b4;
--color-neutral-500: #ffffff;
--color-docs-background: #fdfcfd;
--color-purple-500: #7a51ec;
--color-green-500: #51ecc5;
--color-comments-500: #ec9e51;
--color-yellow-500: #ecca51;
--color-red-500: #ec5151;
--color-background: #000000;
--color-surface: #080707;
--color-surface-raised: #100f0f;
--color-border: rgba(253,252,252,0.16);
--color-text: #ffffff;
--color-text-muted: #918d8d;
--color-primary: #ffffff;
--color-primary-text: #000000;
--color-accent: #7a51ec;
--color-success: #51ecc5;
--color-warning: #ecca51;
--color-danger: #ec5151;
--font-display: 'Suisse Int'l', Inter, 'Helvetica Neue', -apple-system, sans-serif;
--font-body: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
--font-mono: 'JetBrains Mono', 'Roboto Mono', Menlo, monospace;
--text-display: 60px;
--text-display--line-height: 1.1;
--text-display--letter-spacing: -0.02em;
--text-display--font-weight: 500;
--text-h1-section: 52px;
--text-h1-section--line-height: 1.1;
--text-h1-section--letter-spacing: -0.02em;
--text-h1-section--font-weight: 500;
--text-h2: 32px;
--text-h2--line-height: 1.2;
--text-h2--letter-spacing: -0.01em;
--text-h2--font-weight: 500;
--text-h3-lead: 20px;
--text-h3-lead--line-height: 1.38;
--text-h3-lead--letter-spacing: 0.004em;
--text-h3-lead--font-weight: 500;
--text-quote: 24px;
--text-quote--line-height: 1.38;
--text-quote--letter-spacing: normal;
--text-quote--font-weight: 400;
--text-body: 16px;
--text-body--line-height: 1.5;
--text-body--letter-spacing: normal;
--text-body--font-weight: 400;
--text-small-ui: 14px;
--text-small-ui--line-height: 1.43;
--text-small-ui--letter-spacing: normal;
--text-small-ui--font-weight: 500;
--text-caption: 12px;
--text-caption--line-height: 1.33;
--text-caption--letter-spacing: normal;
--text-caption--font-weight: 500;
--text-mono: 13px;
--text-mono--line-height: 1.6;
--text-mono--letter-spacing: normal;
--text-mono--font-weight: 400;
--radius-chip-badge-inline-tag: 4px;
--radius-button-nav-item-segmented-control: 6px;
--radius-input-feature-panel: 8px;
--radius-card-dialog: 12px;
--radius-announcement-pill-avatar: 9999px;
--shadow-divider-subtle: 0 0 0 1px rgba(253,252,252,0.12);
--shadow-divider: 0 0 0 1px rgba(253,252,252,0.16);
--shadow-divider-opaque: 0 0 0 1px #272626;
--shadow-elevation-dialog: inset 0 0 0 1px rgba(253,252,252,0.16), 0 16px 24px rgba(0,0,0,0.6), 0 24px 40px rgba(0,0,0,0.2);
--shadow-elevation-light: 0 1px 2px rgba(0,0,0,0.04);
--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.
/* Liveblocks — 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. Both schemes come from the site. Add class="dark" to <html> for the site's native look. */
@custom-variant dark (&:where(.dark, .dark *));
:root {
color-scheme: light;
--background: #fdfcfd;
--foreground: #1a1523;
--card: #ffffff;
--card-foreground: #1a1523;
--popover: #ffffff;
--popover-foreground: #1a1523;
--primary: #1a1523; /* estimated */
--primary-foreground: #fdfcfd; /* estimated */
--secondary: #f9fbfd;
--secondary-foreground: #1a1523;
--muted: #f3f3f3;
--muted-foreground: #57565d;
--accent: #f3f0ff;
--accent-foreground: #5746af;
--destructive: #ec5151;
--destructive-foreground: #ffffff;
--border: rgba(22,22,24,0.07);
--input: rgba(22,22,24,0.12);
--ring: #7a51ec; /* estimated */
--radius-small: 4px;
--radius-medium: 6px;
--radius-large: 12px;
--radius: var(--radius-medium);
--font-display: 'Suisse Int'l', Inter, 'Helvetica Neue', -apple-system, sans-serif;
--font-body: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
--font-mono: 'JetBrains Mono', 'Roboto Mono', Menlo, monospace;
}
.dark {
color-scheme: dark;
--background: #000000;
--foreground: #ffffff;
--card: #100f0f;
--card-foreground: #ffffff;
--popover: #100f0f; /* estimated */
--popover-foreground: #ffffff; /* estimated */
--primary: #ffffff;
--primary-foreground: #000000;
--secondary: #080707;
--secondary-foreground: #b7b4b4;
--muted: #272626;
--muted-foreground: #918d8d;
--accent: #2f2640;
--accent-foreground: #ab97e2;
--destructive: #ec5151;
--destructive-foreground: #ffffff; /* estimated */
--border: rgba(253,252,252,0.16);
--input: rgba(253,252,252,0.29);
--ring: #ffffff;
}
@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);
}
Liveblocks — Style Reference
void-black studio for collaborative machines
Theme: dark · Mood: dark, minimal, technical, precise, monochrome, airy
A pure-black marketing surface where white Suisse headlines float in enormous negative space and a single cinematic 3D render anchors the hero. The atmosphere is quiet, engineered and slightly cinematic: no gradients competing for attention, no decorative colour — just hairline dividers at 2–3% white, soft grey body copy, and tiny bursts of product colour (mint, amber, lilac, presence-yellow cursors) that behave like live collaborators appearing on screen. The docs half of the product flips to a near-white Inter interface, so the system is deliberately two-faced: black for story, white for work.
Tokens — Colors
| Name |
Value |
Token |
Role |
| Void |
#000000 |
--surface-200 |
Page ground for every marketing page, nav, footer and auth screen; also the label colour on white CTA buttons. |
| Pitch Riser |
#080707 |
--surface-400 |
First surface step above the void — subtle section bands and panel fills that barely separate from the ground. |
| Graphite Slab |
#100f0f |
--surface-500 |
Raised card / sign-in panel fill; the most visible dark surface on the site. |
| Hairline Coal |
#272626 |
--neutral-100 |
Opaque border and divider colour, applied as 0 0 0 1px inset shadow around cards and grid cells. |
| Slate Ash |
#635f5f |
--neutral-200 |
Tertiary text: disabled list items, footnotes, timestamps. |
| Fog Grey |
#918d8d |
--neutral-300 |
Dominant secondary text colour — feature descriptions, nav sub-labels, feature-list bullets. |
| Lifted Grey |
#b7b4b4 |
--neutral-400 |
Hover state for muted text and secondary button labels on dark chips. |
| Signal White |
#ffffff |
--neutral-500 |
Headlines, nav links, primary button fill, logo; the only high-contrast element. |
| Paper |
#fdfcfd |
--docs-background |
Docs and app ground — the light twin of the system, with #1a1523 text. |
| Copilot Violet |
#7a51ec |
--purple-500 |
Brand accent: links in docs, active nav item, focus rings, AI-feature highlights. |
| Presence Mint |
#51ecc5 |
--green-500 |
Positive/semantic accent — 'Save 17%' badges, uptime and status indicators. |
| Comment Amber |
#ec9e51 |
--comments-500 |
Comments/annotation feature colour; the glow under the hero 3D render and cursor flags. |
| Cursor Yellow |
#ecca51 |
--yellow-500 |
Live-cursor name flags and multiplayer demo highlights. |
| Alert Coral |
#ec5151 |
--red-500 |
Destructive and error states, danger divider shadow. |
Tokens — Typography
- Display: Suisse Int'l (Inter, Helvetica Neue, -apple-system, sans-serif) — weights 400/500
- Body: Inter (-apple-system, BlinkMacSystemFont, Segoe UI, sans-serif) — weights 400/500/540/590/600
- Mono: JetBrains Mono (Roboto Mono, Menlo, monospace) — weights 400/500
Tokens — Radius
| Element |
Value |
| Chip / badge / inline tag |
4px |
| Button, nav item, segmented control |
6px |
| Input, feature panel |
8px |
| Card / dialog |
12px |
| Announcement pill, avatar |
9999px |
Do
- Keep the ground at true #000000 and build separation with 1px rgba(253,252,252,0.12–0.16) shadows instead of lighter grey panels.
- Use Suisse 500 for every heading size — tighten tracking to -0.02em at 48px+ and leave it at 0 below 32px.
- Make the single primary action a pure white block with black text; everything else is ghost or hairline.
- Let sections breathe at 96–280px; a near-empty viewport between blocks is the point.
- Reserve the feature colours (violet, mint, amber, yellow) for product-signal moments: cursors, badges, status dots, code tokens.
- Set secondary prose at #918d8d/16px/1.5 — never white — so headlines keep all the contrast.
- Flip whole surfaces, not components, when entering docs/app: #fdfcfd ground, #1a1523 text, Inter 540–590 headings.
Don't
- Don't add gradients, glows or coloured washes to the black background — the only light source is the hero render.
- Don't exceed 12px radius on cards or round buttons past 6px; only pills and avatars are fully rounded.
- Don't use font-weight 600+ for Suisse headings; the brand stops at 500.
- Don't give the fixed nav a background, blur or bottom border — it must stay fully transparent over the hero.
- Don't stack multiple white CTAs in one view; one inverted button per decision point.
- Don't use drop shadows on dark surfaces for elevation — use inset hairlines, reserving soft shadows for the light docs theme.
- Don't colour body text with brand violet on black; violet is for docs links, focus rings and AI accents.
{
"$name": "Liveblocks",
"$source": "https://liveblocks.io",
"$theme": "dark",
"$generated": "inspiration library",
"color": {
"surface-200": {
"$type": "color",
"$value": "#000000",
"$description": "Page ground for every marketing page, nav, footer and auth screen; also the label colour on white CTA buttons."
},
"surface-400": {
"$type": "color",
"$value": "#080707",
"$description": "First surface step above the void — subtle section bands and panel fills that barely separate from the ground."
},
"surface-500": {
"$type": "color",
"$value": "#100f0f",
"$description": "Raised card / sign-in panel fill; the most visible dark surface on the site."
},
"neutral-100": {
"$type": "color",
"$value": "#272626",
"$description": "Opaque border and divider colour, applied as 0 0 0 1px inset shadow around cards and grid cells."
},
"neutral-200": {
"$type": "color",
"$value": "#635f5f",
"$description": "Tertiary text: disabled list items, footnotes, timestamps."
},
"neutral-300": {
"$type": "color",
"$value": "#918d8d",
"$description": "Dominant secondary text colour — feature descriptions, nav sub-labels, feature-list bullets."
},
"neutral-400": {
"$type": "color",
"$value": "#b7b4b4",
"$description": "Hover state for muted text and secondary button labels on dark chips."
},
"neutral-500": {
"$type": "color",
"$value": "#ffffff",
"$description": "Headlines, nav links, primary button fill, logo; the only high-contrast element."
},
"docs-background": {
"$type": "color",
"$value": "#fdfcfd",
"$description": "Docs and app ground — the light twin of the system, with #1a1523 text."
},
"purple-500": {
"$type": "color",
"$value": "#7a51ec",
"$description": "Brand accent: links in docs, active nav item, focus rings, AI-feature highlights."
},
"green-500": {
"$type": "color",
"$value": "#51ecc5",
"$description": "Positive/semantic accent — 'Save 17%' badges, uptime and status indicators."
},
"comments-500": {
"$type": "color",
"$value": "#ec9e51",
"$description": "Comments/annotation feature colour; the glow under the hero 3D render and cursor flags."
},
"yellow-500": {
"$type": "color",
"$value": "#ecca51",
"$description": "Live-cursor name flags and multiplayer demo highlights."
},
"red-500": {
"$type": "color",
"$value": "#ec5151",
"$description": "Destructive and error states, danger divider shadow."
}
},
"role": {
"background": {
"$type": "color",
"$value": "#000000"
},
"surface": {
"$type": "color",
"$value": "#080707"
},
"surface_raised": {
"$type": "color",
"$value": "#100f0f"
},
"border": {
"$type": "color",
"$value": "rgba(253,252,252,0.16)"
},
"text": {
"$type": "color",
"$value": "#ffffff"
},
"text_muted": {
"$type": "color",
"$value": "#918d8d"
},
"primary": {
"$type": "color",
"$value": "#ffffff"
},
"primary_text": {
"$type": "color",
"$value": "#000000"
},
"accent": {
"$type": "color",
"$value": "#7a51ec"
},
"success": {
"$type": "color",
"$value": "#51ecc5"
},
"warning": {
"$type": "color",
"$value": "#ecca51"
},
"danger": {
"$type": "color",
"$value": "#ec5151"
}
},
"fontFamily": {
"display": {
"$type": "fontFamily",
"$value": [
"Suisse Int'l",
"Inter",
"Helvetica Neue",
"-apple-system",
"sans-serif"
],
"$description": "Brand face for all marketing headings and body. Only two weights ship — 400 for prose, 500 for every heading and emphasis. Never bold beyond 500."
},
"body": {
"$type": "fontFamily",
"$value": [
"Inter",
"-apple-system",
"BlinkMacSystemFont",
"Segoe UI",
"sans-serif"
],
"$description": "Used for app, docs and auth chrome (variable weights 540/590 for docs headings). Keeps product UI distinct from marketing voice."
},
"mono": {
"$type": "fontFamily",
"$value": [
"JetBrains Mono",
"Roboto Mono",
"Menlo",
"monospace"
],
"$description": "Code blocks, keyboard shortcuts (Ctrl K) and inline tokens; paired with the lb code-token palette (#8099ff variables, #70e1c8 strings, #ffc266 values)."
}
},
"typography": {
"display": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "60px",
"lineHeight": "1.1",
"fontWeight": 500,
"letterSpacing": "-0.02em"
}
},
"h1-section": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "52px",
"lineHeight": "1.1",
"fontWeight": 500,
"letterSpacing": "-0.02em"
}
},
"h2": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "32px",
"lineHeight": "1.2",
"fontWeight": 500,
"letterSpacing": "-0.01em"
}
},
"h3-lead": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "20px",
"lineHeight": "1.38",
"fontWeight": 500,
"letterSpacing": "0.004em"
}
},
"quote": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "24px",
"lineHeight": "1.38",
"fontWeight": 400,
"letterSpacing": "normal"
}
},
"body": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "16px",
"lineHeight": "1.5",
"fontWeight": 400,
"letterSpacing": "normal"
}
},
"small-ui": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "14px",
"lineHeight": "1.43",
"fontWeight": 500,
"letterSpacing": "normal"
}
},
"caption": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "12px",
"lineHeight": "1.33",
"fontWeight": 500,
"letterSpacing": "normal"
}
},
"mono": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.mono}",
"fontSize": "13px",
"lineHeight": "1.6",
"fontWeight": 400,
"letterSpacing": "normal"
}
}
},
"spacing": {
"1": {
"$type": "dimension",
"$value": "4px"
},
"2": {
"$type": "dimension",
"$value": "6px"
},
"3": {
"$type": "dimension",
"$value": "8px"
},
"4": {
"$type": "dimension",
"$value": "10px"
},
"5": {
"$type": "dimension",
"$value": "12px"
},
"6": {
"$type": "dimension",
"$value": "16px"
},
"7": {
"$type": "dimension",
"$value": "20px"
},
"8": {
"$type": "dimension",
"$value": "28px"
},
"9": {
"$type": "dimension",
"$value": "40px"
},
"10": {
"$type": "dimension",
"$value": "56px"
},
"11": {
"$type": "dimension",
"$value": "96px"
},
"12": {
"$type": "dimension",
"$value": "196px"
}
},
"radius": {
"chip-badge-inline-tag": {
"$type": "dimension",
"$value": "4px"
},
"button-nav-item-segmented-control": {
"$type": "dimension",
"$value": "6px"
},
"input-feature-panel": {
"$type": "dimension",
"$value": "8px"
},
"card-dialog": {
"$type": "dimension",
"$value": "12px"
},
"announcement-pill-avatar": {
"$type": "dimension",
"$value": "9999px"
}
},
"shadow": {
"divider-subtle": {
"$type": "shadow",
"$value": "0 0 0 1px rgba(253,252,252,0.12)",
"$description": "Hairline around dark cards and grid cells — replaces CSS borders so cells sit flush."
},
"divider": {
"$type": "shadow",
"$value": "0 0 0 1px rgba(253,252,252,0.16)",
"$description": "Default card edge and input ring on dark surfaces."
},
"divider-opaque": {
"$type": "shadow",
"$value": "0 0 0 1px #272626",
"$description": "Solid hairline used on pricing table cells and footer dividers."
},
"elevation-dialog": {
"$type": "shadow",
"$value": "inset 0 0 0 1px rgba(253,252,252,0.16), 0 16px 24px rgba(0,0,0,0.6), 0 24px 40px rgba(0,0,0,0.2)",
"$description": "Sign-in panel, modals, floating product demos."
},
"elevation-light": {
"$type": "shadow",
"$value": "0 1px 2px rgba(0,0,0,0.04)",
"$description": "Docs/light-mode cards and buttons only — barely-there lift on #fdfcfd."
}
},
"component": {
"primary-cta-inverted": {
"kind": "button",
"background": "#ffffff",
"color": "#000000",
"border": "none",
"radius": "6px",
"padding": "12px 20px",
"font_size": "16px",
"font_weight": 500,
"shadow": "none",
"hover": "background: #e5e5e5; no translate, 120ms ease",
"notes": "The only white block on the page besides headlines. Height ~44px in hero, 36px in nav ('Get started'). Label never uppercase."
},
"ghost-text-button": {
"kind": "button",
"background": "transparent",
"color": "#ffffff",
"border": "none",
"radius": "6px",
"padding": "8px 12px",
"font_size": "14px",
"font_weight": 500,
"shadow": "none",
"hover": "background: rgba(253,252,252,0.09)",
"notes": "Nav items and 'Install with AI ⌄'. Chevron icon at 14px, colour #918d8d. Used for every secondary action on black."
},
"tinted-chip-button": {
"kind": "button",
"background": "rgba(253,252,252,0.12)",
"color": "#b7b4b4",
"border": "none",
"radius": "2px",
"padding": "6px 8px",
"font_size": "12px",
"font_weight": 500,
"shadow": "none",
"hover": "background: rgba(253,252,252,0.2); color: #ffffff",
"notes": "In-demo micro actions (Accept / Decline). Sharp 2px radius signals 'inside a product surface'."
},
"announcement-pill": {
"kind": "badge",
"background": "#100f0f",
"color": "#ffffff",
"border": "1px solid rgba(253,252,252,0.16)",
"radius": "9999px",
"padding": "6px 6px 6px 8px",
"font_size": "14px",
"font_weight": 400,
"shadow": "none",
"hover": "border-color: rgba(253,252,252,0.29)",
"notes": "Hero banner: grey 'New' capsule (#272626 bg, 12px) + label + 28px circular white arrow button on the right."
},
"dark-feature-card": {
"kind": "card",
"background": "#080707",
"color": "#918d8d",
"border": "none",
"radius": "8px",
"padding": "28px",
"font_size": "16px",
"font_weight": 400,
"shadow": "0 0 0 1px rgba(253,252,252,0.16)",
"hover": "shadow: 0 0 0 1px rgba(253,252,252,0.29)",
"notes": "Grid cells share hairlines (1px gap grid) so the block reads as a table. Icon 20px stroke-only at #ffffff, title 14–20px/500 white, body 14px #918d8d."
},
"auth-dialog-panel": {
"kind": "card",
"background": "#100f0f",
"color": "#ffffff",
"border": "none",
"radius": "12px",
"padding": "28px",
"font_size": "16px",
"font_weight": 400,
"shadow": "inset 0 0 0 1px rgba(253,252,252,0.16), 0 16px 24px rgba(0,0,0,0.6)",
"hover": "none",
"notes": "Centred 366px column on pure black; label 14px/500 white above each field, OR divider as hairline rule with centred 12px #635f5f label."
},
"text-input": {
"kind": "input",
"background": "transparent",
"color": "#eeeeee",
"border": "1px solid rgba(253,252,252,0.29)",
"radius": "8px",
"padding": "12px 16px",
"font_size": "16px",
"font_weight": 400,
"shadow": "none",
"hover": "border-color: rgba(253,252,252,0.4); focus: box-shadow 0 0 0 1px #ffffff",
"notes": "44px tall; placeholder #635f5f. Focus ring is a white 1px shadow on marketing/auth, violet #7a51ec in docs."
},
"top-navigation": {
"kind": "nav",
"background": "transparent",
"color": "#ffffff",
"border": "none",
"radius": "0px",
"padding": "0 40px",
"font_size": "16px",
"font_weight": 400,
"shadow": "none",
"hover": "link colour #ffffff → opacity .7",
"notes": "Fixed, 80px tall, fully transparent over the hero (no blur, no bottom rule). Wordmark left, 6 links, then 'Sign in' ghost + white 'Get started' at the right edge. Docs nav flips to #fdfcfd with a violet active chip (#f3f0ff bg / #5746af text, 4px radius)."
}
}
}