Sourcegraph — Design System
Sourcegraph stages code intelligence as noir: Poly Sans at 80px/500 — single words like 'Understand.' as full sections — in off-white on near-black, body at a lecture 22px, and coral #F34E3F buttons as the alarm color. Terminal panels and agent logs glow in the dark; enterprise code search styled like the situation room it wants to be for your codebase.
This is a static, crawlable rendering for search & AI engines. The interactive version — filters, live decode console, copy & export — is at https://mozaika.design/ds/sourcegraph.
Tokens
Sourcegraph's decoded design system: background #0E0D0D, text #ECECEE, accent #F34E3F, link #080E2C, primary #9E9EFF; type scale h1 80px / h2 34px / body 22px; 4px spacing base; 8px base radius. The single interactive/action color is #F34E3F — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #0E0D0D |
| surface | #1B1A1A |
| border | #2F2E2E |
| text | #ECECEE |
| text_muted | #979798 |
| primary | #9E9EFF |
| accent | #F34E3F |
| link | #080E2C |
| secondary | #410604 |
| button_bg | #F34E3F |
| button_text | #FFFFFF |
Using these colors
- Action color
#F34E3F— the single interactive color; only on things you click or must notice, never large fills. accent,button_bgare all#F34E3F— one role, not several (the action color).- accent
#F34E3F— THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. - primary
#9E9EFF— a brand color — but the call-to-action uses #F34E3F, not this. - link
#080E2C— fails contrast on the background (~1.0:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). - secondary
#410604— optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two.
Typography
- Heading: Poly Sans
- Body: Poly Sans
- Mono: Poly Sans Mono
- h1: 80px
- h2: 34px
- body: 22px
Spacing
- base unit: 4px
- scale: 2px, 4px, 6px, 8px, 12px, 16px, 24px, 32px
Radii
- base: 8px
- button: 8px
Per-section tokens (11)
- Hero
- Logo Wall
- Feature
- Feature
- Testimonial / Social Proof
- Feature
- Feature
- Feature
- Feature
- CTA / Sign-up
- Footer
Export: DESIGN.md
# Sourcegraph — Design System > dark, professional, medium, custom Sourcegraph stages code intelligence as noir: Poly Sans at 80px/500 — single words like 'Understand.' as full sections — in off-white on near-black, body at a lecture 22px, and coral #F34E3F buttons as the alarm color. Terminal panels and agent logs glow in the dark; enterprise code search styled like the situation room it wants to be for your codebase. ## Colors | Role | Value | |------|-------| | bg | `#0E0D0D` | | surface | `#1B1A1A` | | border | `#2F2E2E` | | text | `#ECECEE` | | text_muted | `#979798` | | primary | `#9E9EFF` | | accent | `#F34E3F` | | link | `#080E2C` | | secondary | `#410604` | | button_bg | `#F34E3F` | | button_text | `#FFFFFF` | **Using these colors** - **Action color** `#F34E3F` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds. - `accent`, `button_bg` are all `#F34E3F` — one role, not several (your action color). - **accent** `#F34E3F` — THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. - **primary** `#9E9EFF` — a brand color — but the call-to-action uses #F34E3F, not this. - **link** `#080E2C` — fails contrast on the background (~1.0:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). - **secondary** `#410604` — optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two. ## Typography - Heading: **Poly Sans** _(free fallback: Newsreader)_ - Body: **Poly Sans** _(free fallback: Newsreader)_ - Mono: **Poly Sans Mono** - h1: 80px - h2: 34px - body: 22px > **Fonts —** Poly Sans may be proprietary — safe free fallback: Newsreader (Google Fonts). ## Spacing - base unit: 4px - scale: 2px, 4px, 6px, 8px, 12px, 16px, 24px, 32px ## Radius - base: 8px - button: 8px ## Primary button - bg `#F34E3F` · text `#FFFFFF` · radius 8px ## How to apply Paste the Tailwind `@theme` (or CSS variables) as your base, then build each section to its spec — verify every color, radius, and font against these tokens.
Export: Tailwind v4 (@theme)
@theme {
/* action color #F34E3F — the one interactive color; buttons/links/emphasis only, never large fills. */
--color-bg: #0E0D0D;
--color-surface: #1B1A1A;
--color-border: #2F2E2E;
--color-text: #ECECEE;
--color-text-muted: #979798;
--color-primary: #9E9EFF; /* a brand color — but the call-to-action uses #F34E3F, not this. */
--color-accent: #F34E3F; /* THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. */
--color-link: #080E2C; /* fails contrast on the background (~1.0:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). */
--color-secondary: #410604; /* optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two. */
--color-button-bg: #F34E3F; /* primary-button fill — the main call-to-action color. */
--color-button-text: #FFFFFF;
/* fonts: Poly Sans may be proprietary — safe free fallback: Newsreader (Google Fonts). */
--font-heading: "Poly Sans", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-body: "Poly Sans", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-mono: "Poly Sans Mono", ui-monospace, monospace;
--text-h1: 80px;
--text-h2: 34px;
--text-body: 22px;
--radius-base: 8px;
--radius-button: 8px;
--spacing-1: 2px;
--spacing-2: 4px;
--spacing-3: 6px;
--spacing-4: 8px;
--spacing-5: 12px;
--spacing-6: 16px;
--spacing-7: 24px;
--spacing-8: 32px;
}Export: CSS variables
:root {
/* action color #F34E3F — the one interactive color; buttons/links/emphasis only, never large fills. */
--bg: #0E0D0D;
--surface: #1B1A1A;
--border: #2F2E2E;
--text: #ECECEE;
--text-muted: #979798;
--primary: #9E9EFF; /* a brand color — but the call-to-action uses #F34E3F, not this. */
--accent: #F34E3F; /* THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. */
--link: #080E2C; /* fails contrast on the background (~1.0:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). */
--secondary: #410604; /* optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two. */
--button-bg: #F34E3F; /* primary-button fill — the main call-to-action color. */
--button-text: #FFFFFF;
--font-heading: "Poly Sans", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-body: "Poly Sans", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-mono: "Poly Sans Mono", ui-monospace, monospace;
--radius: 8px;
--radius-button: 8px;
}
/* fonts: Poly Sans may be proprietary — safe free fallback: Newsreader (Google Fonts). */