# replit — Style Reference
> warm workshop with coral sparks

**Theme:** light

Source measurements are normalized; roles and recommendations are interpreted. Font summary lists are independent, not paired by position. HTML examples are reconstructions, not source components.

Replit's design language is a warm, creator-friendly canvas: a soft cream background (#faf6f1) acts as a permanent stage for a single vivid orange (#ff3c00) that punctuates everything with energy. The system feels like a modern makerspace — generous whitespace, confident oversized type (60-69px displays), pill-shaped controls, and large rounded cards (40-60px radii) that float on the warm canvas. Color is used sparingly as functional emphasis: the orange owns CTAs, active states, and brand surfaces (the peach gradient cards), while the rest of the interface stays neutral in warm grays. Components are flat, border-driven rather than shadow-driven, with hairline #312e2 and #898c94 strokes carrying structure instead of elevation. The overall rhythm alternates between quiet monochrome informational blocks and vivid coral/orange feature bento cards, creating a visual conversation between calm and creative spark.

## Tokens — Colors

| Name | Value | Token | Role |
|------|-------|-------|------|
| Ember Orange | `#ff3c00` | `--color-ember-orange` | Primary CTAs, active nav indicators, brand accents, interactive icon strokes — vivid saturated orange that makes every action feel switched on |
| Sunset Coral | `#ff764c` | `--color-sunset-coral` | Feature card backgrounds, decorative gradient fills, secondary accent surfaces |
| Peach Blush | `#ffb199` | `--color-peach-blush` | Soft feature card backgrounds, heading accents, warm wash fills for highlighted sections |
| Burnt Rust | `#ec4e02` | `--color-burnt-rust` | Orange outline accent for tags, dividers, and focused UI edges. Do not promote it to the primary CTA color |
| Electric Blue | `#2492ff` | `--color-electric-blue` | Secondary nav highlight, link emphasis — used sparingly for differentiation from orange |
| Warm Canvas | `#faf6f1` | `--color-warm-canvas` | Primary page background, nav surface, card resting surface — the dominant warm cream that defines the system |
| Pure White | `#ffffff` | `--color-pure-white` | Card surface, input fields, button text, elevated content blocks — the brightest surface layer |
| Ink Black | `#0e0e0f` | `--color-ink-black` | Primary text, dominant borders, strong structural strokes — the workhorse near-black |
| Charcoal | `#312e2e` | `--color-charcoal` | Card borders, secondary text, button borders — warm dark gray for structure |
| Slate | `#36373b` | `--color-slate` | Nav borders, heading borders, body text emphasis |
| Deep Charcoal | `#1a1919` | `--color-deep-charcoal` | Dark surface text, card dark-mode text, button borders |
| Gunmetal | `#2f3034` | `--color-gunmetal` | Icon borders, input borders, secondary button strokes |
| Stone | `#898c94` | `--color-stone` | Muted borders, tertiary text, icon fills, decorative structure lines |
| Pewter | `#52545a` | `--color-pewter` | Body text, secondary paragraph copy |
| Warm Gray | `#76716f` | `--color-warm-gray` | Link borders, helper text, tertiary descriptive copy |
| Mist | `#61646b` | `--color-mist` | Subtle body borders, very low-emphasis text |
| Sand | `#dfddd8` | `--color-sand` | Light card backgrounds, soft dividers, warm-tinted borders |
| Driftwood | `#cbc7c3` | `--color-driftwood` | Card borders, subtle background fills — warm light neutral |
| Fog | `#efefef` | `--color-fog` | Alternate surface background, subtle wash fills |

## Tokens — Typography

### ABC Diatype — Secondary usage for body copy, nav items, and interface micro-text where the variable version isn't needed. Normal letter-spacing, comfortable line-heights (1.38-1.60) for readable body paragraphs. · `--font-abc-diatype`
- **Substitute:** Inter, Geist, or DM Sans
- **Weights:** 400, 500
- **Sizes:** 12, 13, 14, 16, 32
- **Line height:** 1.20, 1.25, 1.38, 1.50, 1.60
- **Role:** Secondary usage for body copy, nav items, and interface micro-text where the variable version isn't needed. Normal letter-spacing, comfortable line-heights (1.38-1.60) for readable body paragraphs.

### ABC Diatype Plus Variable — Primary typeface for all headings, display text, and body. The variable version provides the full range from whisper-light to bold. Display sizes (48-69px) use heavy negative tracking (-0.04 to -0.06em) creating tight, confident headlines. Body and UI text settles at 14-18px with weight 400-500. The signature use of weights 400-500 for large display text (rather than 700-800) gives Replit's type a modern, editorial confidence — authority through precision, not volume. · `--font-abc-diatype-plus-variable`
- **Substitute:** Inter, Geist, or DM Sans
- **Weights:** 400, 500, 600, 700
- **Sizes:** 8, 10, 11, 12, 14, 15, 16, 17, 18, 20, 24, 26, 28, 32, 42, 48, 60, 64, 69
- **Line height:** 0.80, 0.83, 0.89, 1.00, 1.05, 1.10, 1.20, 1.40, 1.60
- **Letter spacing:** -0.06em at 69px, -0.05em at 64px, -0.04em at 48px, -0.03em at 32px, -0.02em at 20px, -0.01em at 14px, normal at 12px and below
- **Role:** Primary typeface for all headings, display text, and body. The variable version provides the full range from whisper-light to bold. Display sizes (48-69px) use heavy negative tracking (-0.04 to -0.06em) creating tight, confident headlines. Body and UI text settles at 14-18px with weight 400-500. The signature use of weights 400-500 for large display text (rather than 700-800) gives Replit's type a modern, editorial confidence — authority through precision, not volume.

### IBM Plex Sans — IBM Plex Sans — detected in extracted data but not described by AI · `--font-ibm-plex-sans`
- **Weights:** 400
- **Sizes:** 14px
- **Line height:** 1, 1.2, 1.57
- **Role:** IBM Plex Sans — detected in extracted data but not described by AI

### Type Scale

| Role | Family | Weight | Size | Line Height | Letter Spacing | Token |
|------|--------|--------|------|-------------|----------------|-------|
| caption | — | — | 11px | 1.2 | -0.01px | `--text-caption` |
| body | — | — | 16px | 1.5 | -0.01px | `--text-body` |
| subheading | — | — | 20px | 1.2 | -0.02px | `--text-subheading` |
| heading-sm | — | — | 24px | 1.2 | -0.03px | `--text-heading-sm` |
| heading | — | — | 32px | 1.05 | -0.03px | `--text-heading` |
| heading-lg | — | — | 48px | 1 | -0.04px | `--text-heading-lg` |
| display | — | — | 64px | 0.9 | -0.05px | `--text-display` |

## Tokens — Spacing & Shapes

**Base unit:** 4px

**Density:** comfortable

### Spacing Scale

| Name | Value | Token |
|------|-------|-------|
| 4 | 4px | `--spacing-4` |
| 8 | 8px | `--spacing-8` |
| 12 | 12px | `--spacing-12` |
| 16 | 16px | `--spacing-16` |
| 20 | 20px | `--spacing-20` |
| 24 | 24px | `--spacing-24` |
| 32 | 32px | `--spacing-32` |
| 40 | 40px | `--spacing-40` |
| 48 | 48px | `--spacing-48` |
| 60 | 60px | `--spacing-60` |
| 64 | 64px | `--spacing-64` |
| 80 | 80px | `--spacing-80` |
| 120 | 120px | `--spacing-120` |

### Border Radius

| Element | Value |
|---------|-------|
| nav | 6px |
| cards | 40px |
| badges | 6px |
| inputs | 6px |
| buttons | 100px |

### Layout

- **Page max-width:** 1200px
- **Section gap:** 80px
- **Card padding:** 32px
- **Element gap:** 12px

## Components

### Primary CTA Button (Pill)
**Role:** Main action trigger — sign up, get started, create

Filled pill button, 100px border-radius, #ff3c00 background, white text, ABC Diatype 14-16px weight 500, 10px 20px padding. Full-bleed rounded shape — no straight edges. hovers to #ec4e02.

### Secondary Outline Button (Pill)
**Role:** Secondary action — log in, learn more

Ghost pill button, 100px border-radius, transparent background, 1.5px #312e2 or #0e0e0f border, #0e0e0f text, 10px 20px padding. Same pill geometry as primary.

### Nav Item
**Role:** Top navigation links

Text-only nav items, ABC Diatype 14px weight 500, #36373b color. Active state indicated by #ff3c00 underline/border or #2492ff accent. No background fill on inactive.

### Feature Bento Card (Peach Gradient)
**Role:** Large feature showcase cards in bento grid layout

Oversized rounded card, 40-60px border-radius, #ffb199 or #ff764c background fill, 32px padding. Contains a small eyebrow label (14px weight 500 #312e2e), large heading (32-48px weight 400, tight tracking), and description paragraph (14-16px). Cards can be 2-3 column widths in a bento grid.

### Category Icon Button
**Role:** Project type selector in hero prompt area

Vertical pill: icon (24px outlined) stacked above label text (13px weight 500). No background, #0e0e0f color. 12px gap between icon and label. hovers with #ff3c00 icon stroke.

### Prompt Input Bar
**Role:** Hero AI prompt input — the centerpiece action

Large rounded input, 16-20px border-radius, white (#ffffff) background, 1px #dfddd8 border, 16-20px padding. Placeholder text in #898c94. Embedded coral circular submit button (40px diameter) at right edge with #ff3c00 fill. Full-width within container, 48-56px height.

### Trust Logo Strip
**Role:** Social proof / customer logos

Horizontal row of partner/company logos, evenly spaced with 24-32px gaps. Logos rendered in #76716f or #898c94 grayscale. No borders or background — sits directly on canvas.

### Tagline Eyebrow
**Role:** Small descriptor above headings

13-14px weight 500, #76716f or #52545a color, normal tracking. Used as supporting copy above display headlines.

### Display Headline
**Role:** Hero and section titles

ABC Diatype Plus Variable 48-69px weight 400-500, #0e0e0f or #1a1919 color, heavy negative letter-spacing (-0.04 to -0.06em), line-height 0.85-1.00. The restrained weight paired with tight tracking creates editorial authority.

### Dark Preview Card
**Role:** Code/product preview frames in dark mode

Rounded card, 20-40px radius, #1a1919 or #0e0e0f dark background, containing a code editor or product UI mockup. Creates visual contrast against the warm cream canvas.

### Nav Badge
**Role:** Notification/announcement indicator on nav items

Small pill, #ff3c00 background, white text, 12px weight 500, 4px 8px padding, 6px border-radius. Indicates new or hot items.

### Agent Number Display
**Role:** Branded "Agent 4" text treatment

Large inline text where the number/version is in #ff3c00 while the word is in #0e0e0f. 42-48px weight 400, tight tracking. Creates the signature "Meet Agent 4" hero treatment.

## Do's and Don'ts

### Do
- Use #ff3c00 exclusively for primary actions, active states, and brand emphasis — never for body text or large backgrounds
- Set display headlines at 48-69px weight 400-500 with -0.04 to -0.06em letter-spacing to match the editorial confidence of the system
- Use pill buttons (100px radius) for all interactive actions to maintain the rounded, friendly geometry
- Ground every page on #faf6f1 warm canvas — white (#ffffff) is reserved for cards and inputs that need to lift off the cream
- Use 40-60px border-radius for feature/hero cards and 20px for standard content cards
- Let the warm peach/coral gradient cards (#ffb199 → #ff764c) be the visual exclamation points — surround them with monochrome calm
- Keep line-heights tight on display text (0.85-1.05) and generous on body copy (1.38-1.60)

### Don't
- Don't use blue (#2492ff) for CTAs — orange #ff3c00 owns primary action; blue is only for secondary nav differentiation
- Don't use sharp corners on cards or buttons — the system is defined by generous rounding (minimum 6px, typically 20-100px)
- Don't use heavy drop shadows — the system relies on borders and surface contrast, not elevation shadows
- Don't set display text in weight 700+ — the signature is 400-500 with tight tracking, not bold weight
- Don't use pure #ffffff for page backgrounds — #faf6f1 warm cream is the canvas; white is only for elevated cards
- Don't place more than 2-3 peach/coral cards per viewport — they should punctuate, not dominate
- Don't use #000000 as text color — use #0e0e0f or #1a1919 to keep the warm temperature of the neutrals

## Surfaces

| Level | Name | Value | Purpose |
|-------|------|-------|---------|
| 1 | Warm Canvas | `#faf6f1` | Primary page background — the permanent warm cream stage |
| 2 | Card White | `#ffffff` | Standard card surface, input fields, elevated content blocks |
| 3 | Sand Wash | `#dfddd8` | Alternate light surface for subtle section differentiation |
| 4 | Peach Feature | `#ffb199` | Feature card backgrounds — visual exclamation points |
| 5 | Coral Feature | `#ff764c` | High-energy feature card backgrounds for key bento sections |
| 6 | Dark Preview | `#1a1919` | Dark code/product preview cards that contrast against the warm canvas |

## Elevation

This system intentionally avoids drop shadows. Structure is communicated through border hairlines (1px in #dfddd8, #312e2, or #898c94) and surface color contrast. The warm cream canvas, white cards, and peach feature surfaces create depth through temperature and chroma shifts rather than shadow. This keeps the interface feeling flat, fast, and modern — like a well-lit workspace rather than a skeuomorphic panel system.

## Imagery

Imagery is minimal and product-focused. The system relies on dark code editor preview cards (#1a1919) embedded as showcase elements within the warm cream layout. Logo strips for social proof are rendered in muted gray (#76716b-#898c94), never in brand color. No lifestyle photography, no decorative illustrations — the visual interest comes from typographic scale, the warm/neutral surface palette, and the peach gradient feature cards. Icons throughout are thin-stroke outlined style, monochrome (black or orange depending on context), 1.5px apparent stroke weight.

## Agent Prompt Guide

**Quick Color Reference**
- Text: #0e0e0f (primary), #52545a (body), #76716f (muted)
- Background: #faf6f1 (canvas), #ffffff (cards), #ffb199/#ff764c (feature cards)
- Border: #dfddd8 (light), #312e2e (medium), #0e0e0f (strong)
- Accent: #ff3c00 (primary action)
- primary action: #ff3c00 (filled action)

**3-5 Example Component Prompts**

1. **Hero Display Headline**: 64px ABC Diatype Plus Variable weight 400, #0e0e0f, letter-spacing -0.05em, line-height 0.90. Centered on #faf6f1 canvas.

2. **Primary CTA Pill Button**: #ff3c00 background, white text, 14px weight 500, 10px 20px padding, 100px border-radius. hovers to #ec4e02.

3. **Peach Feature Card**: 40px border-radius, #ffb199 background, 32px padding. Eyebrow label 13px weight 500 #312e2e, heading 32px weight 400 #0e0e0f, letter-spacing -0.03em. Description 16px #52545a.

4. **Prompt Input Bar**: Full-width, 56px height, 20px border-radius, #ffffff background, 1px #dfddd8 border. Placeholder #898c94. Embedded #ff3c00 circular submit button (44px diameter) at right edge.

5. **Trust Logo Strip**: Horizontal flex row, 32px gaps, logos in #898c94 grayscale, vertically centered, no borders or background container.

## Similar Brands

- **Linear** — Same pill-button geometry, border-driven elevation (no shadows), and confident oversized display type with tight tracking
- **Vercel** — Similar clean monochrome base with single vivid accent color, generous whitespace, and developer-focused restraint
- **Notion** — Warm neutral background tones, playful rounded geometry, and a creator-friendly approachable feel
- **Cursor** — AI-tool visual language with prominent prompt input as hero element, clean typography, and minimal decoration
- **Framer** — Bento card grid layouts with warm accent colors, large display headlines, and creator/builder audience targeting

## Quick Start

### CSS Custom Properties

```css
:root {
  /* Colors */
  --color-ember-orange: #ff3c00;
  --color-sunset-coral: #ff764c;
  --color-peach-blush: #ffb199;
  --color-burnt-rust: #ec4e02;
  --color-electric-blue: #2492ff;
  --color-warm-canvas: #faf6f1;
  --color-pure-white: #ffffff;
  --color-ink-black: #0e0e0f;
  --color-charcoal: #312e2e;
  --color-slate: #36373b;
  --color-deep-charcoal: #1a1919;
  --color-gunmetal: #2f3034;
  --color-stone: #898c94;
  --color-pewter: #52545a;
  --color-warm-gray: #76716f;
  --color-mist: #61646b;
  --color-sand: #dfddd8;
  --color-driftwood: #cbc7c3;
  --color-fog: #efefef;

  /* Typography — Font Families */
  --font-abc-diatype: 'ABC Diatype', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-abc-diatype-plus-variable: 'ABC Diatype Plus Variable', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-ibm-plex-sans: 'IBM Plex Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Typography — Scale */
  --text-caption: 11px;
  --leading-caption: 1.2;
  --tracking-caption: -0.01px;
  --text-body: 16px;
  --leading-body: 1.5;
  --tracking-body: -0.01px;
  --text-subheading: 20px;
  --leading-subheading: 1.2;
  --tracking-subheading: -0.02px;
  --text-heading-sm: 24px;
  --leading-heading-sm: 1.2;
  --tracking-heading-sm: -0.03px;
  --text-heading: 32px;
  --leading-heading: 1.05;
  --tracking-heading: -0.03px;
  --text-heading-lg: 48px;
  --leading-heading-lg: 1;
  --tracking-heading-lg: -0.04px;
  --text-display: 64px;
  --leading-display: 0.9;
  --tracking-display: -0.05px;

  /* Typography — Weights */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing */
  --spacing-unit: 4px;
  --spacing-4: 4px;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-20: 20px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-40: 40px;
  --spacing-48: 48px;
  --spacing-60: 60px;
  --spacing-64: 64px;
  --spacing-80: 80px;
  --spacing-120: 120px;

  /* Layout */
  --page-max-width: 1200px;
  --section-gap: 80px;
  --card-padding: 32px;
  --element-gap: 12px;

  /* Border Radius */
  --radius-md: 6px;
  --radius-2xl: 16px;
  --radius-2xl-2: 20px;
  --radius-3xl: 24px;
  --radius-3xl-2: 40px;
  --radius-3xl-3: 46px;
  --radius-full: 56px;
  --radius-full-2: 60px;
  --radius-full-3: 70px;
  --radius-full-4: 90px;
  --radius-full-5: 100px;
  --radius-full-6: 999px;
  --radius-full-7: 1028px;

  /* Named Radii */
  --radius-nav: 6px;
  --radius-cards: 40px;
  --radius-badges: 6px;
  --radius-inputs: 6px;
  --radius-buttons: 100px;

  /* Surfaces */
  --surface-warm-canvas: #faf6f1;
  --surface-card-white: #ffffff;
  --surface-sand-wash: #dfddd8;
  --surface-peach-feature: #ffb199;
  --surface-coral-feature: #ff764c;
  --surface-dark-preview: #1a1919;
}
```

### Tailwind v4

```css
@theme {
  /* Colors */
  --color-ember-orange: #ff3c00;
  --color-sunset-coral: #ff764c;
  --color-peach-blush: #ffb199;
  --color-burnt-rust: #ec4e02;
  --color-electric-blue: #2492ff;
  --color-warm-canvas: #faf6f1;
  --color-pure-white: #ffffff;
  --color-ink-black: #0e0e0f;
  --color-charcoal: #312e2e;
  --color-slate: #36373b;
  --color-deep-charcoal: #1a1919;
  --color-gunmetal: #2f3034;
  --color-stone: #898c94;
  --color-pewter: #52545a;
  --color-warm-gray: #76716f;
  --color-mist: #61646b;
  --color-sand: #dfddd8;
  --color-driftwood: #cbc7c3;
  --color-fog: #efefef;

  /* Typography */
  --font-abc-diatype: 'ABC Diatype', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-abc-diatype-plus-variable: 'ABC Diatype Plus Variable', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-ibm-plex-sans: 'IBM Plex Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Typography — Scale */
  --text-caption: 11px;
  --leading-caption: 1.2;
  --tracking-caption: -0.01px;
  --text-body: 16px;
  --leading-body: 1.5;
  --tracking-body: -0.01px;
  --text-subheading: 20px;
  --leading-subheading: 1.2;
  --tracking-subheading: -0.02px;
  --text-heading-sm: 24px;
  --leading-heading-sm: 1.2;
  --tracking-heading-sm: -0.03px;
  --text-heading: 32px;
  --leading-heading: 1.05;
  --tracking-heading: -0.03px;
  --text-heading-lg: 48px;
  --leading-heading-lg: 1;
  --tracking-heading-lg: -0.04px;
  --text-display: 64px;
  --leading-display: 0.9;
  --tracking-display: -0.05px;

  /* Spacing */
  --spacing-4: 4px;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-20: 20px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-40: 40px;
  --spacing-48: 48px;
  --spacing-60: 60px;
  --spacing-64: 64px;
  --spacing-80: 80px;
  --spacing-120: 120px;

  /* Border Radius */
  --radius-md: 6px;
  --radius-2xl: 16px;
  --radius-2xl-2: 20px;
  --radius-3xl: 24px;
  --radius-3xl-2: 40px;
  --radius-3xl-3: 46px;
  --radius-full: 56px;
  --radius-full-2: 60px;
  --radius-full-3: 70px;
  --radius-full-4: 90px;
  --radius-full-5: 100px;
  --radius-full-6: 999px;
  --radius-full-7: 1028px;
}
```
