Skip to content
Resume (opens in new tab)

Portfolio as a Product · Live Design System

Colophon.

Every token, colour theme, type clamp, motion timing, and Loaffy reaction on this site is deliberate and rendered live below as a case study of lucas.pawprint.design.

Role
Design & Build (Lucas + AI coding agents)
Timeline
2026
Platform
Web (Static export) + Light · Dark · Warm Dark
Tools
Next.js 16 · Tailwind CSS v4 · Motion · GSAP · Sharp · Luci
  1. Problem

    Most portfolios talk about design systems in screenshots while their own pages hardcode one-off colors, spacing, and headings.

  2. What I built

    Measured 8 real reference sites with Luci, authored one token file (design.md), generated Tailwind v4 theme variables on a strict 4/8 grid, and wired Loaffy through a typed state machine.

  3. Result

    One verifiable design language running in Light, Dark, and Warm Dark themes, rendered live right here on /colophon.

Understand

Why build the portfolio as its own case study

Hiring teams and engineering leads look for consistency between what a designer says they ship and what is actually inspectable in the browser. Instead of keeping tokens in private Figma files, this site compiles design.md directly into CSS variables and validates every spacing, radius, shadow, and 40ms motion step before a production build passes.

Tokens-only UI & zero pure black/white

Key decision
Problem
Pure #000000 and #FFFFFF feel harsh and strip warmth out of playful illustrations and long-form reading.
Decision
Grounded the palette on Ink (#2B2B2B) and Cloud (#F6F6F3), paired with 6 pastels and a Warm Dark mode, keeping Ginger (#F4A878) exclusive to Loaffy and the wordmark bean.
Why it worked
Every pastel + Ink pairing hits WCAG AAA contrast across all three themes while keeping Loaffy visually distinct.
Shape

Tokens in 3 themes, type scale & 40ms motion

01 · Colour Roles (19 Tokens × 3 Themes)

Theme tokens in Light, Dark & Warm Dark

Each column below is scoped with its own data-theme attribute so all three themes can be inspected simultaneously.

Light

data-theme="light"
  • bg

    Page canvas

    …
  • surface

    Quiet sections, inputs, chips

    …
  • surface-2

    Hover on surface, stripes

    …
  • line

    Hairlines, dividers

    …
  • line-strong

    Pen borders (2px)

    …
  • text

    Body and headings

    …
  • text-muted

    Secondary copy

    …
  • text-subtle

    Meta and captions

    …
  • inverse-bg

    Primary button fill

    …
  • inverse-text

    Primary button text

    …
  • shadow

    Sticker shadows

    …
  • focus

    Focus ring

    …
  • outline

    Loaffy outlines

    …
  • lilac-soft

    Section tint (Lilac)

    …
  • mint-soft

    Section tint (Mint)

    …
  • butter-soft

    Section tint (Butter)

    …
  • sky-soft

    Section tint (Sky)

    …
  • blush-soft

    Section tint (Blush)

    …
  • pistachio-soft

    Section tint (Pistachio)

    …

Dark

data-theme="dark"
  • bg

    Page canvas

    …
  • surface

    Quiet sections, inputs, chips

    …
  • surface-2

    Hover on surface, stripes

    …
  • line

    Hairlines, dividers

    …
  • line-strong

    Pen borders (2px)

    …
  • text

    Body and headings

    …
  • text-muted

    Secondary copy

    …
  • text-subtle

    Meta and captions

    …
  • inverse-bg

    Primary button fill

    …
  • inverse-text

    Primary button text

    …
  • shadow

    Sticker shadows

    …
  • focus

    Focus ring

    …
  • outline

    Loaffy outlines

    …
  • lilac-soft

    Section tint (Lilac)

    …
  • mint-soft

    Section tint (Mint)

    …
  • butter-soft

    Section tint (Butter)

    …
  • sky-soft

    Section tint (Sky)

    …
  • blush-soft

    Section tint (Blush)

    …
  • pistachio-soft

    Section tint (Pistachio)

    …

Warm Dark

data-theme="warm-dark"
  • bg

    Page canvas

    …
  • surface

    Quiet sections, inputs, chips

    …
  • surface-2

    Hover on surface, stripes

    …
  • line

    Hairlines, dividers

    …
  • line-strong

    Pen borders (2px)

    …
  • text

    Body and headings

    …
  • text-muted

    Secondary copy

    …
  • text-subtle

    Meta and captions

    …
  • inverse-bg

    Primary button fill

    …
  • inverse-text

    Primary button text

    …
  • shadow

    Sticker shadows

    …
  • focus

    Focus ring

    …
  • outline

    Loaffy outlines

    …
  • lilac-soft

    Section tint (Lilac)

    …
  • mint-soft

    Section tint (Mint)

    …
  • butter-soft

    Section tint (Butter)

    …
  • sky-soft

    Section tint (Sky)

    …
  • blush-soft

    Section tint (Blush)

    …
  • pistachio-soft

    Section tint (Pistachio)

    …

02 · Static Palettes

Loaffy Candy pastels & character-only tokens

lilac…

Section & card colour; headline highlight

mint…

Section & card colour; success

butter…

Section & card colour; warning

sky…

Section & card colour; info; primary button shadow

blush…

Section & card colour; danger

pistachio…

Section & card colour; footer

on-pastel…

Text on any pastel in all themes

Character Palette (Loaffy & Wordmark Bean Only — Never for UI)

ginger…

Loaffy base coat & wordmark bean ONLY

ginger-deep…

Loaffy inner shading ONLY

ginger-light…

Loaffy highlight ONLY

cheek…

Loaffy cheeks ONLY

claw…

Cat hand claws ONLY

03 · Typography Scale (4/8 Grid Endpoints)

Bricolage Grotesque & Inter at 375 and 1440 widths

text-display-xlBricolage Grotesque 800
Size: 64 → 160Line: 64 → 144Track: -0.05em

@ 375 viewport (4rem / 4rem)

Work.

@ 1440 viewport (10rem / 9rem)

Work.

text-displayBricolage Grotesque 800
Size: 48 → 96Line: 48 → 88Track: -0.045em

@ 375 viewport (3rem / 3rem)

Think outside the box.

@ 1440 viewport (6rem / 5.5rem)

Think outside the box.

text-h1Bricolage Grotesque 700
Size: 40 → 64Line: 44 → 64Track: -0.035em

@ 375 viewport (2.5rem / 2.75rem)

Curious by nature, careful by habit.

@ 1440 viewport (4rem / 4rem)

Curious by nature, careful by habit.

text-h2Bricolage Grotesque 700
Size: 32 → 48Line: 36 → 52Track: -0.03em

@ 375 viewport (2rem / 2.25rem)

Selected product & motion work

@ 1440 viewport (3rem / 3.25rem)

Selected product & motion work

text-h3Bricolage Grotesque 700
Size: 24 → 32Line: 28 → 36Track: -0.02em

@ 375 viewport (1.5rem / 1.75rem)

Luci — Design governance for coding agents

@ 1440 viewport (2rem / 2.25rem)

Luci — Design governance for coding agents

text-h4Bricolage Grotesque 700
Size: 20 → 24Line: 28 → 32Track: -0.01em

@ 375 viewport (1.25rem / 1.75rem)

Calm page, lively character

@ 1440 viewport (1.5rem / 2rem)

Calm page, lively character

text-body-lgInter 400
Size: 20 → 20Line: 32 → 32Track: -0.01em

@ 375 viewport (1.25rem / 2rem)

I design web products, apps and motion for SaaS, e-commerce and data-heavy platforms.

@ 1440 viewport (1.25rem / 2rem)

I design web products, apps and motion for SaaS, e-commerce and data-heavy platforms.

text-bodyInter 400
Size: 16 → 16Line: 24 → 24Track: -0.005em

@ 375 viewport (1rem / 1.5rem)

Every detail (tokens, states, accessibility, motion) is deliberate and visible.

@ 1440 viewport (1rem / 1.5rem)

Every detail (tokens, states, accessibility, motion) is deliberate and visible.

text-labelInter 600
Size: 12 → 12Line: 16 → 16Track: 0.08em

@ 375 viewport (0.75rem / 1rem)

Lucas (Wai Phyo Aung) · Product & Motion Designer

@ 1440 viewport (0.75rem / 1rem)

Lucas (Wai Phyo Aung) · Product & Motion Designer

text-captionInter 500
Size: 12 → 12Line: 16 → 16Track: 0

@ 375 viewport (0.75rem / 1rem)

Phuket, Thailand · UTC+7 · Curious by nature, careful by habit.

@ 1440 viewport (0.75rem / 1rem)

Phuket, Thailand · UTC+7 · Curious by nature, careful by habit.

text-buttonInter 600
Size: 16 → 16Line: 16 → 16Track: -0.005em

@ 375 viewport (1rem / 1rem)

See selected work

@ 1440 viewport (1rem / 1rem)

See selected work

04 · Spacing Scale (4/8 Grid)

16 steps from 0 to 160

--space-00rem
--space-40.25rem
--space-80.5rem
--space-120.75rem
--space-161rem
--space-201.25rem
--space-241.5rem
--space-322rem
--space-402.5rem
--space-483rem
--space-563.5rem
--space-644rem
--space-805rem
--space-966rem
--space-1288rem
--space-16010rem

05 · Shape & Radii

Paw-derived corner radii

rounded-xs
Radius: 4Origin: —
rounded-sm
Radius: 8Origin: Toe
rounded-md
Radius: 12Origin: —
rounded-lg
Radius: 16Origin: Main pad
rounded-xl
Radius: 20Origin: —
rounded-2xl
Radius: 24Origin: —
rounded-pill
Radius: 9999Origin: Toe bean

06 · Elevation & Sticker Physics

Solid offset sticker shadows (zero blur)

07 · Motion & 40ms Grid

Durations, spring curves & FadeIn presets

Duration Ladder (40ms Multiples)

--duration-instant120ms (3 × 40ms) · Colour/opacity on press
--duration-fast200ms (5 × 40ms) · Hover, small toggles
--duration-base280ms (7 × 40ms) · Most UI transitions
--duration-slow480ms (12 × 40ms) · Section reveals, sheets, View Transition
--duration-lazy720ms (18 × 40ms) · Loaffy morphs, page transitions

Easing & Spring Curves (480ms duration)

ease-out-softDefault UI entrance & feedback
ease-in-outScroll-linked & layout transitions
ease-spring-calmUI spring (≈4% overshoot)
ease-spring-bouncyLoaffy character spring ONLY (≈12% overshoot)

delay: 0ms

FadeIn + springCalm

24 rise · 80ms stagger · reduced-motion aware

delay: 80ms

FadeIn + springCalm

24 rise · 80ms stagger · reduced-motion aware

delay: 160ms

FadeIn + springCalm

24 rise · 80ms stagger · reduced-motion aware

delay: 240ms

FadeIn + springCalm

24 rise · 80ms stagger · reduced-motion aware

Ship

Accessibility, tech stack & Pawprint credits

Accessibility, tech stack and credits

  • WCAG 2.2 AA

    Accessibility

    • WCAG 2.2 AA contrast verified across Light, Dark, and Warm Dark themes (Ink on every pastel hits AAA contrast).
    • Keyboard navigation: visible 2px focus-visible rings, skip-to-content link, trapped focus in lightbox dialogs & menu drawer, Escape to dismiss.
    • Minimum 48×48px interactive targets across buttons, icon buttons, chips, and theme controls.
    • Reduced motion support: static 5-frame Previous/Next stepper for ProcessStory, disabled parallax/trackers, and instant fades.
    • Real DOM copy and sr-only transcripts with polite aria-live updates for scroll stories.
  • Architecture

    Tech stack

    Next.js 16 App Router (static export)React 19TypeScriptTailwind CSS v4@next/mdx + Zod schemaMotion + lazy GSAP ScrollTriggerRive-ready SVG-first Loaffy facadeSharp (AVIF, WebP, build-time OG PNGs)Cloudflare Workers static assets

    Static export built ahead of time with Zod MDX validation, AVIF/WebP image optimization, and build-time OG share cards.

  • Pawprint

    Credits