# Sourcegraph

> Generated by BrandSweets from the sourcegraph-com BrandDoc (v1, schema 1). Do not edit by hand.

## Identity

**Tagline:** Give humans and agents complete context to understand, oversee, and evolve the world's largest, most complex codebases.

**Sector:** dev-tool

**Domain:** sourcegraph.com


Give humans and agents complete context to understand, oversee, and evolve the world's largest, most complex codebases.

## Colors

| Role | Name | Hex | Dark | Usage |
| --- | --- | --- | --- | --- |
| `primary` | — | `#3fb950` | — | Primary brand color: CTAs, links, active states. |
| `accent` | — | `#d14d41` | — | Accent: highlights and secondary emphasis. |
| `surface` | — | `#ffffff` | — | Page and card background. |
| `text` | — | `#111111` | — | Body text on surface. |

### Scales

- **primary:** 50 `#f2f8f3`, 100 `#dfece0`, 200 `#bbe8c1`, 300 `#91d99a`, 400 `#6bcc78`, 500 `#3fb950`, 600 `#39a748`, 700 `#2f893b`, 800 `#246a2e`, 900 `#1e4823`, 950 `#132f17`
- **accent:** 50 `#f8f2f1`, 100 `#eededd`, 200 `#edbab5`, 300 `#e28f88`, 400 `#d8695f`, 500 `#d14d41`, 600 `#b5372c`, 700 `#942d24`, 800 `#73231c`, 900 `#4d1d19`, 950 `#321310`
- **surface:** 50 `#ffffff`, 100 `#e6e6e6`, 200 `#d1d1d1`, 300 `#b5b5b5`, 400 `#9c9c9c`, 500 `#858585`, 600 `#707070`, 700 `#5c5c5c`, 800 `#474747`, 900 `#333333`, 950 `#212121`
- **text:** 50 `#f5f5f5`, 100 `#e6e6e6`, 200 `#d1d1d1`, 300 `#b5b5b5`, 400 `#9c9c9c`, 500 `#858585`, 600 `#707070`, 700 `#5c5c5c`, 800 `#474747`, 900 `#333333`, 950 `#111111`

## Typography

### Families

#### Poly Sans `poly-sans`
- **Source:** custom
- **Weights:** 400 Regular, 600 Semibold, 700 Bold
- **Fallback stack:** `"Poly Sans", Arial, sans-serif`
- **Licensing:** Auto-detected web font; provenance unconfirmed. Reference only — never rehost without a license.

### Role assignments

- **heading:** Poly Sans (`poly-sans`)
- **body:** Poly Sans (`poly-sans`)

### Scale

| Step | Size (rem) | Line height | Tracking (em) |
| --- | --- | --- | --- |
| sm | 0.875 | 1.5 | — |
| base | 1 | 1.6 | — |
| lg | 1.25 | 1.4 | — |
| xl | 1.75 | 1.25 | — |
| 2xl | 2.25 | 1.15 | — |
| display | 3.5 | 1.05 | -0.02 |

## Gradients

Derived from the colour roles (perceptual interpolation; same tokens in brand.css / tokens.json):

- **--brand-gradient:** `linear-gradient(135deg in oklab, #3fb950 0%, #d14d41 100%)` — worst-case contrast white 2.54:1, black 4.85:1 AA
- **--brand-gradient-hero:** `linear-gradient(135deg in oklab, #5a7e5b 0%, #764841 100%)` — ink #ffffff; worst-case contrast white 4.59:1 AA, black 2.77:1
- **--brand-gradient-button:** `linear-gradient(180deg in oklch shorter hue, #4ec65d 0%, #2fac43 100%)` — ink #000000; hover `linear-gradient(180deg in oklch shorter hue, #59d066 0%, #3bb64d 100%)`; active `linear-gradient(180deg in oklch shorter hue, #43bc53 0%, #20a339 100%)`

## Logos

### primary
- **Formats:**
  - `svg`: https://storage.googleapis.com/marketing-site-static-assets-prod/687f97b1024104ecfc19d158_arrow-up-right-1.svg
- **Clearspace:** 1× logo-height — Default clearspace of one logo-height on all sides (auto-seeded; refine after review).
- **Min size:** 24px w (screen)
- **Allowed backgrounds:** any

## Boards

- **Cover** — `cover` (`board-cover`)
- **Color System** — `color-system` (`board-colors`)
- **Type Specimen** — `type-specimen` (`board-type`)
- **Logo Suite** — `logo-suite` (`board-logos`)

## Resources

- Tokens (JSON): /b/sourcegraph-com/tokens.json
- Tokens (CSS): /b/sourcegraph-com/brand.css
- This document: /b/sourcegraph-com/brand.md
- MCP endpoint (public read): mcp.brandsweets.com/sourcegraph-com/mcp
- Agent integration guide: /agents.md
