Sourcegraph design system
sourcegraph.com·Poly Sans, Poly Sans Slim Mono


Use Sourcegraph's design
Use Sourcegraph's design system for this UI. Read https://emblematic.dev/sites/sourcegraph.com/design.md (or, with the Emblematic MCP, get_design_md "sourcegraph.com") and copy its exact values: don't invent colors, sizes or radii, and keep its typefaces with the listed fallbacks.
Similar to Sourcegraph
In short
What font does Sourcegraph use?
Sourcegraph uses Poly Sans for headings and body text. Poly Sans Slim Mono (loaded as "Poly Sans Mono") is used for code.
What are Sourcegraph's brand colors?
Sourcegraph's accent color is #F34E3F. Sourcegraph's website uses a dark scheme: background #020202, surface #000000, text #EDEDED, muted text #A9A9A9 and borders #202020.
What are Sourcegraph's body text size, corner radius and container width?
Body text is 16px with a line height of 1.5, the most common corner radius is 8px and the page container is 1152px wide.
Give humans and agents complete context to move faster, ship accurate AI-generated code, and execute change with confidence across the world's largest, most complex codebases.
Typography
scale ratio 1.167- Poly Sansdisplay + body300 400 500
- Poly Sans Slim Monocss “Poly Sans Mono”mono300 400 500 600
Text styles
| Style | Family | Size | Weight | Line | Tracking |
|---|---|---|---|---|---|
| display | Poly Sans | 64px | 500 | 1.1 | -0.031em |
| mono | Poly Sans Slim Mono | 14px | 400 | 1.5 | 0.018em |
Type scale
- Body
- 16px / 1.5
- Display
- 64px
- Display tracking
- -0.031em
- Case
- sentence
Color
dark schemePalette by painted area
Contrast
- Text on background
- 17.72:1
- Muted on background
- 8.83:1
- Accent on background
- 5.90:1
- Dark mode
- None
Space, shape and depth
base 4pxSpacing
- 2.5
- 4
- 5.5
- 8
- 9.5
- 10.5
- 12
- 15
- 16
- 24
- 32
- 40
- 48
- 56
Corner radii
Shadows
- Borders
- hairline, 1px
- Section padding
- 97px
Components
computed values- backgroundColor
- #F34E3F
- textColor
- #FFFFFF
- rounded
- 8px
- padding
- 8px 12px
- height
- 30px
- fontFamily
- Poly Sans
- fontSize
- 14px
- fontWeight
- 500
- backgroundColor
- #222222
- textColor
- #DEDEDE
- rounded
- 6px
- padding
- 6.4px 14.4px
- height
- 34.3px
- fontFamily
- Poly Sans Slim Mono
- fontSize
- 13px
- fontWeight
- 600
- border
- 1px solid #3A3A3A
Layout and motion
- Container
- 1152px
- Grid columns
- 3
- Hero
- centered-over-media
- Navigation
- top-sticky+transparent
- Page height
- 6,694px
- Easing
- ease
- Durations
- 100ms 200ms 250ms 300ms
- Transitions
- 55
- Keyframes
- 4
- Stack
- sveltekit, hubspot, posthog, google-tag-manager, cloudflare
Page sections
9
01Navigation bar
03Logo wall
04otherMore code. More agents. Less understanding.
05otherFind answers faster. Make agents better. Change code at scale.
06Product showcaseFind answers in minutes, not hours. Search across repositories, trace dependencies, and investigate root causes.

09Footer
How Sourcegraph compares
against the whole index- Body text
- 16px, the same as 41% of indexed sites (median 16px).
- Largest heading
- 64px: larger than 54% of indexed sites (median 60px).
- Type scale
- 1.17×: flatter than 93% of indexed sites (median 1.28×).
- Container
- 1152px: narrower than 68% of indexed sites (median 1240px).
- Text contrast
- 17.7:1: lower than 51% of indexed sites (median 17.7:1).
- Page length
- 6,694px: shorter than 65% of indexed sites (median 8,196px).
- Corner radius
- Mostly 8px, shared by 37 of 392 indexed sites (9%).
- Poly Sans
- One of 2 indexed sites that load Poly Sans (1%).
- Poly Sans Slim Mono
- The only site in the index that loads Poly Sans Slim Mono.
- Color scheme
- Dark by default, like 24% of indexed sites. Like 84% of sites, it doesn't switch with the system dark mode setting.
Read from the rendered page on Nov 17, 2026 (extractor 0.2.0). Fonts are matched to the site's own @font-face rules and colors come from computed styles. Values marked with a question mark are heuristics that have not been reviewed yet.




