Beyond Design System

The system the portfolio is built with.

This library documents the real tokens and the real components that render this website. Nothing here is a mock-up: change a token and the whole site, including this page, changes with it.

implementedv0.4.0125 primitive · 112 semantic · 83 component tokens

Three connected experiences

The same tokens, components and configuration serve all three. There is no separate copy of anything.

Discover

System Anatomy: the cinematic exploded view on the homepage that shows the five layers a screen is built from.

See it on the homepage

Understand

This library: foundations, the token dependency explorer, component documentation with live playgrounds.

Open the token explorer

Experiment

System Studio: inspect the live site, select real components and change the system that renders them.

Open System Studio

Design philosophy

A portfolio for a design-systems designer should not describe a system; it should run on one. The site is built directly in code, so the system is the implementation, not a Figma file that code approximates. Where a decision appears below, it is a decision made in this repository and recorded in the project's decision log.

Design principles

  1. One source of truth. Tokens live in JSON. CSS variables, the Tailwind theme, the contrast checker, the Studio export and this documentation are all derived from it.
  2. Roles, not values. Components read semantic and component tokens, never raw primitives. A theme or an accent is a remap of roles, not a rewrite of components.
  3. Variants are tokens. Preset, accent, typography, density, radius, button and card styles are token overrides keyed by a data attribute, so a variant works everywhere without bespoke CSS.
  4. Documentation shares the implementation. The playgrounds render the same component models the site renders. A documented property exists because the component supports it.
  5. Safeguards over freedom. Studio offers curated options validated at build time (contrast across every theme and accent). The inspector is isolated from the system it edits, and reset is always reachable.
  6. Motion is governed. Duration, easing, distance, scale and parallax speed are tokens, three motion tiers (reduced, subtle, expressive) and six Studio styles scale all of them.

System architecture

How a token becomes pixels, as the code actually works today.

Pipeline
src/tokens/*.tokens.json          source of truth (DTCG-style JSON)
        │  scripts/build-tokens.mjs    validates references, compiles
        ▼
CSS custom properties  +  Tailwind theme  +  token index  +  downloads
        │
        ├── semantic roles ── light / dark remaps
        ├── component tokens ── what components read
        └── variants ── accent · type · density · radius · button · card · preset
        ▼
Astro components + React islands  ──►  portfolio · this library · System Studio
        ▲
System Studio store (data-* on <html>)  ── the same attributes drive every page
TierCountWhat it holdsWho reads it
Primitive125Raw values: palette, type scale, spacing steps, durations, easingSemantic and component tokens only
Semantic112Roles: color.bg.page, space.section, motion.duration.reveal. Light and dark are remaps.Components, pages, GSAP scenes
Component83Per-component decisions: button.size.md.min-height, card.shadowComponent CSS
Variants290Overrides selected by data-accent, data-card, data-radius and so onStudio, presets, per-instance data-variant

Relationship to the live portfolio

Each documented component is the component the portfolio uses. Where it appears today:

ComponentUsed on the portfolioDocs
ButtonHero actions · Studio section actions · Footer actions · Header: Customize this website · System Anatomy mockOpen
CardProject panels in Selected Work (cinematic) · System Anatomy component planeOpen
NavigationSite header on every page · Design-system documentation headerOpen

Use Inspect Mode in System Studio to select any of these on the live site and see its tokens and properties.

Implemented and proposed

This library documents what exists. Everything proposed is labelled and has no navigation entry.

implemented

  • Foundations: colour, typography, spacing and geometry, iconography, motion
  • Token explorer with dependency chains and live token editing
  • Components: Button, Card, Navigation, each with a playground
  • Accessibility, resources and downloads
  • System Studio editor and Inspect Mode for the three components

proposed

  • Components: inputs, checkboxes, radio buttons, switches, badges, tabs, tooltips, dropdowns, dialogs
  • Patterns: forms, navigation patterns, data display, feedback, empty states, content layouts
  • Presets: Brutalist, Modern Studio
  • Per-component token editing in Studio

No adoption figures, team processes or governance workflows are claimed here, because none are being described: this is a single-author system for one product.

Beyond Design System v0.4.0Human-led. AI-assisted. System-driven.