---
version: alpha
name: dotgit.dev
description: "Light interface measured from dotgit.dev: Space Grotesk type with IBM Plex Sans, light green accents, tonal surfaces and 10px corners."
colors:
  background: "#FFFFFF"
  surface: "#FFFFFF"
  on-surface: "#737373"
  on-background: "#737373"
  on-surface-strong: "#0A0A0A"
  on-surface-variant: "#0A0A0F"
  surface-container-low: "#FFFFFFF2"
  outline: "#E5E5E5"
  primary: "#7FFF6E"
  on-primary: "#0A0A0F"
typography:
  headline-display:
    fontFamily: Space Grotesk
    fontSize: 60px
    fontWeight: 700
    lineHeight: 1.25
  headline-lg:
    fontFamily: Space Grotesk
    fontSize: 30px
    fontWeight: 700
    lineHeight: 1.25
  body-md:
    fontFamily: IBM Plex Sans
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  body-sm:
    fontFamily: IBM Plex Sans
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.43
  caption:
    fontFamily: IBM Plex Sans
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.33
  label-md:
    fontFamily: Space Grotesk
    fontSize: 16px
    fontWeight: 600
    lineHeight: 1.63
  code:
    fontFamily: JetBrains Mono
    fontSize: 14px
    fontWeight: 600
    lineHeight: 1.43
  headline-display-mobile:
    fontFamily: Space Grotesk
    fontSize: 36px
    fontWeight: 700
    lineHeight: 1.25
  headline-lg-mobile:
    fontFamily: Space Grotesk
    fontSize: 24px
    fontWeight: 700
    lineHeight: 1.25
rounded:
  sm: 8px
  md: 10px
spacing:
  base: 4px
  xs: 2px
  sm: 8px
  md: 12px
  lg: 20px
  xl: 56px
  gutter: 8px
  section: 56px
  container: 896px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.body-md}"
    rounded: "{rounded.sm}"
    padding: 0px
    height: 40px
  button-outline:
    backgroundColor: "{colors.background}"
    textColor: "{colors.on-surface-strong}"
    typography: "{typography.body-sm}"
    rounded: "{rounded.sm}"
    padding: 8px 16px
    height: 36px
  button-ghost:
    typography: "{typography.body-md}"
    rounded: 0px
    padding: 12px
  card:
    typography: "{typography.body-md}"
    rounded: "{rounded.md}"
    padding: 20px
  link:
    textColor: "{colors.on-surface}"
---

# dotgit.dev Design System

## Overview

dotgit.dev describes itself as: “Watch what happens inside .git/ when you run init, add, commit, branch or merge. 38 interactive lessons plus a free browser playground — no setup needed.” The interface is light, built on **White (#FFFFFF)** with **Slate (#737373)** text, and **Light Green (#7FFF6E)** as the main accent.

Type is set in **Space Grotesk** and **IBM Plex Sans**, with **JetBrains Mono** for code. Headlines run large; body text is 16px. Depth comes from soft drop shadows. Corners are mostly 10px.

Measured from [dotgit.dev](https://dotgit.dev/) on October 29, 2026 at 1440×900 and 390×844 from 116 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 8 roles.

- **White (#FFFFFF):** Page background, seen 9 times. Token `background`.
- **Slate (#737373):** Primary text and headings, seen 43 times. Token `on-surface`.
- **Near Black (#0A0A0A):** Headings and emphasis, seen 14 times. Token `on-surface-strong`.
- **Charcoal (#0A0A0F):** Secondary text, seen 3 times. Token `on-surface-variant`, CSS `--cta-foreground`.
- **White 95% (#FFFFFFF2):** Raised areas one step from the page, seen 1 time. Token `surface-container-low`.
- **Mist (#E5E5E5):** Borders and dividers, seen 9 times. Token `outline`.
- **Light Green (#7FFF6E):** Primary buttons and calls to action, seen 12 times. Token `primary`.
- **Charcoal (#0A0A0F):** Text and icons on primary. Token `on-primary`.

## Typography

**Space Grotesk**, **IBM Plex Sans** and **JetBrains Mono** (monospace) share the interface. Fallback stack: `Space Grotesk, sans-serif`.

- **headline-display:** Space Grotesk 60px at weight 700, line height 1.25 (36px on mobile). Page title (h1).
- **headline-lg:** Space Grotesk 30px at weight 700, line height 1.25 (24px on mobile). Section headings (h2).
- **body-md:** IBM Plex Sans 16px at weight 400, line height 1.5. Body text.
- **body-sm:** IBM Plex Sans 14px at weight 400, line height 1.43. Secondary and small text.
- **caption:** IBM Plex Sans 12px at weight 400, line height 1.33. Captions and fine print.
- **label-md:** Space Grotesk 16px at weight 600, line height 1.63. Buttons, navigation and labels.
- **code:** JetBrains Mono 14px at weight 600, line height 1.43. Code and technical values.

## Layout

Spacing follows a 4px grid: 94% of measured gaps and paddings are multiples of 4px.

- **Scale:** xs 2px, sm 8px, md 12px, lg 20px, xl 56px.
- **Sections:** 56px vertical padding between major sections.
- **Gaps:** 8px is the most common gap in flex and grid layouts.
- **Container:** content is capped at 896px.

## Elevation & Depth

Raised elements use soft drop shadows. The most used recipes:

- `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px`

## Shapes

Most elements use 10px corners. Measured radii, most used first:

- **md (10px):** 24 elements.
- **sm (8px):** 16 elements.

## Components

Measured from the rendered page. Token values reference the tokens above.

- **button-primary (“Start learning”):** #7FFF6E fill, #0A0A0F text, 16px/400, 8px radius, padding 0px.
- **button-outline (“▶ playground”):** #FFFFFF fill, #0A0A0A text, 14px/500, 8px radius, padding 8px 16px, border 1px solid #E5E5E5, shadow `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px`.
- **button-ghost (“Dismiss”):** transparent fill, 16px/400, padding 12px.
- **card:** transparent fill, 16px/400, 10px radius, padding 20px.
- **link:** transparent fill, #737373 text, padding 0px.

## Do's and Don'ts

- Do use #FFFFFF for the page and lift surfaces in small steps: #FFFFFFF2.
- Do keep text in 3 levels: #737373, #0A0A0A, #0A0A0F.
- Do reserve #7FFF6E for primary actions and key highlights.
- Do keep spacing on the 4px grid.
- Do use 10px corners on most elements; larger surfaces also use 8px.
- Don't introduce new font families beyond Space Grotesk, IBM Plex Sans and JetBrains Mono.
- Don't use #7FFF6E for large backgrounds or body text.
- Don't make interface transitions slower than 0.2s.

## Motion

Interface transitions are quick: 0.15s, 0.2s.

- **Easing:** `cubic-bezier(0.4, 0, 0.2, 1)`.

Generated by [Sitepeel](https://sitepeel.dev/design-md/dotgit.dev/), the free DESIGN.md generator (engine 2026.10.29+bf9d681d83cf).
