/design-system

Design system inventory

Everything this site currently relies on — pulled from src/styles/global.css and the components under src/components. Nothing is invented; this is a mirror of what exists so we can decide what to keep, retire, or rework.

Stack: Astro 5 + Tailwind v4 (single-file config — all tokens live in a @theme block inside global.css).

Typefaces

Two families self-hosted in public/fonts/. Mona Sans is declared but not currently exposed as a utility.

AllianceNo1

font-sans · --font-sans

Default sans. Weights available:

  • Ag — Light font-weight: 300
  • Ag — Regular font-weight: 400
  • Ag — Medium font-weight: 500
  • Ag — Semibold font-weight: 600
  • Ag — Bold font-weight: 700
  • Ag — Extrabold font-weight: 800
  • Ag — Black font-weight: 900

Monaspace (variable)

font-mono · --font-mono

font-mono defaults to Argon. Four other variants exposed as utilities:

  • const x = 0 // Monaspace Argon font-mono-argon
  • const x = 0 // Monaspace Neon font-mono-neon
  • const x = 0 // Monaspace Xenon font-mono-xenon
  • const x = 0 // Monaspace Radon font-mono-radon
  • const x = 0 // Monaspace Krypton font-mono-krypton

Type scale

Two custom scales (gh = display headings, gf = form/body). Standard Tailwind sizes (text-xstext-2xl) are also available but not listed here.

Heading scale (gh)

  • Aa text-gh0 72px · --text-gh0
  • Aa text-gh1 64px · --text-gh1
  • Aa text-gh2 56px · --text-gh2
  • Aa text-gh3 32px · --text-gh3
  • Aa text-gh4 24px · --text-gh4
  • Aa text-gh5 20px · --text-gh5
  • Aa text-gh6 16px · --text-gh6

Form / body scale (gf)

  • The quick brown fox text-gf1 32px · --text-gf1
  • The quick brown fox text-gf2 24px · --text-gf2
  • The quick brown fox text-gf3 20px · --text-gf3
  • The quick brown fox text-gf4 16px · --text-gf4
  • The quick brown fox text-gf5 14px · --text-gf5
  • The quick brown fox text-gf6 12px · --text-gf6

Extra

text-xxs text-xxs · 0.65rem (~10.4px)

Letter spacing

Tight tracking tracking-tighter · -0.04em

Line height

The leading-tight token. The leading-tight token. leading-tight · 1.2

Color

Every color token defined in the @theme block. Stage-color scales map directly to StageBadge labels (WIP → pink, napkin → green, etc.).

Base

Page & body backgrounds, generic surfaces

  • bg-bg-base #f9f9f8 --color-bg-base
  • bg-sand-50 #e5e7fb --color-sand-50
  • bg-sand-100 #eeeeec --color-sand-100
  • bg-sand-200 #deded9 --color-sand-200
  • bg-sand-300 #c1c0b8 --color-sand-300

GitHub text & surface

Inherited from original githubnext.com styling

  • bg-gh-bg #e1e4e8 --color-gh-bg
  • bg-gh-bg-dark #d0d2d6 --color-gh-bg-dark
  • text-gh-text #24292e --color-gh-text
  • text-gh-text-light #586069 --color-gh-text-light
  • text-gh-dark #444d56 --color-gh-dark
  • bg-gh-marketing-dark #050d21 --color-gh-marketing-dark
  • text-gh-primer-link #0969da --color-gh-primer-link

Gloss gray (neutral scale)

Extended neutral ramp — used for body copy, borders, muted UI

  • bg-gloss-gray-0 #fafbfc --color-gloss-gray-0
  • bg-gloss-gray-100 #eaeef2 --color-gloss-gray-100
  • bg-gloss-gray-150 #d4dae0 --color-gloss-gray-150
  • bg-gloss-gray-200 #b7bfc7 --color-gloss-gray-200
  • bg-gloss-gray-300 #949da7 --color-gloss-gray-300
  • bg-gloss-gray-400 #707a84 --color-gloss-gray-400
  • bg-gloss-gray-500 #57606a --color-gloss-gray-500
  • bg-gloss-gray-600 #424a53 --color-gloss-gray-600
  • bg-gloss-gray-700 #32383f --color-gloss-gray-700
  • bg-gloss-gray-800 #24292f --color-gloss-gray-800
  • bg-gloss-gray-900 #1b1f24 --color-gloss-gray-900

Lavender (brand accent)

Primary brand accent — used for hover, active links, interactive highlights

  • bg-lavender-100 #eeeeff --color-lavender-100
  • bg-lavender-200 #d8dbfa --color-lavender-200
  • bg-lavender-300 #b8bef5 --color-lavender-300
  • bg-lavender-400 #9ba3f3 --color-lavender-400
  • bg-lavender-500 #7881e5 --color-lavender-500
  • bg-lavender-600 #6b73d1 --color-lavender-600
  • bg-lavender-700 #5158a8 --color-lavender-700

Purple — project stage: prototype

  • bg-purple-100 #f3eeff --color-purple-100
  • bg-purple-200 #e4d9fc --color-purple-200
  • bg-purple-300 #c4aef7 --color-purple-300
  • bg-purple-400 #a07df0 --color-purple-400
  • bg-purple-500 #7b51dc --color-purple-500
  • bg-purple-600 #6240b0 --color-purple-600
  • bg-purple-700 #4a3085 --color-purple-700

Pink — project stage: WIP

  • bg-pink-100 #fceef7 --color-pink-100
  • bg-pink-200 #f8d4eb --color-pink-200
  • bg-pink-300 #f0a5d5 --color-pink-300
  • bg-pink-400 #e574be --color-pink-400
  • bg-pink-500 #d04aa2 --color-pink-500
  • bg-pink-600 #a63b82 --color-pink-600
  • bg-pink-700 #7d2c61 --color-pink-700

Green — project stage: napkin sketch

  • bg-green-100 #e6f7eb --color-green-100
  • bg-green-200 #c3eace --color-green-200
  • bg-green-300 #7fd196 --color-green-300
  • bg-green-400 #4cba6a --color-green-400
  • bg-green-500 #2da44e --color-green-500
  • bg-green-600 #24833e --color-green-600
  • bg-green-700 #1b622f --color-green-700

Blue — project stage: completed / product / open-sourced

  • bg-blue-100 #e8f1fd --color-blue-100
  • bg-blue-200 #c7dffb --color-blue-200
  • bg-blue-300 #8fc0f7 --color-blue-300
  • bg-blue-400 #5a9ff2 --color-blue-400
  • bg-blue-500 #3381f5 --color-blue-500
  • bg-blue-600 #2867c4 --color-blue-600
  • bg-blue-700 #1e4d93 --color-blue-700

Orange — project stage: technical preview / waitlist

  • bg-orange-100 #fef3e8 --color-orange-100
  • bg-orange-200 #fde0c5 --color-orange-200
  • bg-orange-300 #fbc48e --color-orange-300
  • bg-orange-400 #f7a65a --color-orange-400
  • bg-orange-500 #f0883e --color-orange-500
  • bg-orange-600 #c06c31 --color-orange-600
  • bg-orange-700 #905125 --color-orange-700

Accent & utility

Small set of misc accents surfaced by @theme

  • bg-accent-1 #fafafa --color-accent-1
  • bg-accent-2 #eaeaea --color-accent-2
  • bg-accent-7 #333333 --color-accent-7
  • bg-success #0070f3 --color-success
  • bg-cyan #79ffe1 --color-cyan

Shadows

Custom layered shadows (base color rgba(209,209,197,...)) override Tailwind's defaults.

⚠ Flagged for review. These are the current values — quality of output is a known concern; retire / rework before reusing.

Tailwind utilities (overridden)

shadow-sm --shadow-sm
shadow --shadow-DEFAULT
shadow-md --shadow-md
shadow-lg --shadow-lg
shadow-xl --shadow-xl

Named tokens (not wired as utilities — CSS vars only)

shadow-small --shadow-small
shadow-medium --shadow-medium
shadow-large --shadow-large

Radius & spacing

Only one of each is defined beyond Tailwind defaults.

Border radius

rounded-64 --radius-64 · 64px

Spacing

7rem = 112px
p-28 / m-28 / gap-28 --spacing-28

Gradient utilities

Class-based decorative gradients defined outside @theme (so they're plain CSS classes, not Tailwind tokens).

.blob-1
.blob-2
.blob-3
.terminal-bg
.gradient-border-badge
.gradient-border-card
.gradient-divider-left / -right

Components used on project pages

Walking down ProjectLayout.astro and the components it renders.

Components used on post pages

From PostLayout.astro. Micro vs long post is signaled by the presence of linkUrl.

Shared components & utilities

Used across home / index / detail pages.

Content grid

.content-grid wraps project page bodies. It centers a ~40em main column by default and offers named breakout classes for wider content. Breakpoints: below 1280px → 3-column fallback; above → 7-track named grid.

  • (default child) column 4 (~40em centered)
  • .wide grid-column: 3 / 6
  • .full grid-column: 2 / 7
  • .full-no-margin grid-column: 1 / 8, bleeds on mobile
  • .mobile-full full-bleed below 768px