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.
Most portfolios talk about design systems in screenshots while their own pages hardcode one-off colors, spacing, and headings.
What I built
02.
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.
Result
03.
One verifiable design language running in Light, Dark, and Warm Dark themes, rendered live right here on /colophon.
01.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.
02.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.
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
03.Design
Loaffy character gallery, reactions & components
08 · Phase 2 — Loaffy, Cat Hand & Paw Cursor
Loaffy Character Gallery & Reaction Board
Every React component below is paired side-by-side with its ground truth SVG from /public/loaffy/. Outlines use var(--lp-outline) so Loaffy stays readable across Light, Dark and Warm Dark.
Interactive StageClick Loaffy (5× → flip)
Paw style (720ms swap at the 200ms squash peak):
One-Shot Timelines (40ms Grid)
Site Event → Reaction Map (LOAFFY-ANIMATION.md §6.5)
Bean ↔ Pad Clearance Assertion
Static rest (min ≥ 9.5)9.55u ≥ 9.5u
idle_breathe exhale S(1.01, 0.985)9.33u ≥ 4u
hop anticipation S(1.06, 0.94)9.67u ≥ 4u
landing contact S(1.14, 0.84)12.1u ≥ 4u
morph squash peak S(1.12, 0.88)18.48u ≥ 4u
Paw Cursor (LOAFFY.md §8)
Hotspots aligned to middle claw tip: default (10, 8), link (12, 7), pressed (13, 8). Auto-off on touch & reduced motion.
Default (10,8)
Link (12,7)
Pressed (13,8)
Sizes (32 · 64 · 128 · 320) across all 3 themes
Below 48px (size 32), cheeks, highlight and pen wobble filter turn off automatically so small inline/toast icons stay crisp.
Lightdata-theme="light"
32px
64px
128px
320px
Darkdata-theme="dark"
32px
64px
128px
320px
Warm Darkdata-theme="warm-dark"
32px
64px
128px
320px
Expressions (6) — React Component vs Reference SVG
calmmood="calm"
React <Loaffy>
Reference SVG
Tall ovals, slow blink every 4–7s, small smile
curiousmood="curious"
React <Loaffy>
Reference SVG
Eyes shift toward target, whole paw tilts −8°
thinkingmood="thinking"
React <Loaffy>
Reference SVG
Eyes small looking up, flat mouth, dotted orbit
happymood="happy"
React <Loaffy>
Reference SVG
Closed arcs ^ ^, big smile, beans hop up 10 units
sleepymood="sleepy"
React <Loaffy>
Reference SVG
Closed droopy arcs, flat mouth, beans drop 3 units, z z
surprisedmood="surprised"
React <Loaffy>
Reference SVG
Round wide eyes, small 'o' mouth, beans spread outward
Poses (9) — React Component vs Reference SVG
loafpose="loaf"
React <Loaffy>
Reference SVG
Squash scale(1.08, 0.92), calm eyes
shadespose="shades"
React <Loaffy>
Reference SVG
Tilt −6°, sunglasses, smirk
chill-leanpose="chill-lean"
React <Loaffy>
Reference SVG
Tilt 14°, half-lidded eyes, smirk
jumppose="jump"
React <Loaffy>
Reference SVG
Stretch scale(0.9, 1.1), lifted 10, beans flared
landingpose="landing"
React <Loaffy>
Reference SVG
Squash scale(1.14, 0.84), wide shadow
winkpose="wink"
React <Loaffy>
Reference SVG
One eye closed, ginger sparkle, smirk
side-eyepose="side-eye"
React <Loaffy>
Reference SVG
Half-lidded looking right, outer left bean raised
vibingpose="vibing"
React <Loaffy>
Reference SVG
Tilt −7°, beans bob unevenly, music notes
mid-flippose="mid-flip"
React <Loaffy>
Reference SVG
Rotated 160°, surprised face, spin lines
Paw Styles (2) — React Component vs Reference SVG
paw-3dform="paw-3d"
React <Loaffy>
Reference SVG
3D shaded inside one outline (intro finale)
lostform="lost"
React <Loaffy>
Reference SVG
404 (Scattered beans + '?')
Cat Hand (<CatHand>) — Fur & Bean Sides
Four claws in Claw #F7F0E2 grow out of the toe tips (the one allowed connection).
fur sideside="fur"
React <CatHand>
Reference SVG
3D shaded Ginger + Ginger-deep tabby stripes + 4 claws
beans sideside="beans"
React <CatHand>
Reference SVG
Ginger-light palm + tiny Loaffy palm pad + 4 toe beans + 4 claws
<PeekingHand>Loaffy on screen: no
Case CTA (bat on hover/focus) and DecisionCard (hangs once per page). Waits while any Loaffy is on screen, so scroll the gallery above out of view to see it.
<HandSketch>
Process "Shape" and /about: enter 480 · draw 720 · hold 480 · exit 280. Scroll-scrubbed when pinned on Home.
09 · Phase 3 — Core Components & Site Chrome
UI Primitives, Interactive Controls & Site Chrome
Every component below uses tokens only, adheres to the 4/8 grid and 48×48 minimum touch targets, and implements hover lift, press squish, visible focus rings and reduced-motion behavior.
01 · Button & IconButton
Primary (inverse fill + sky sticker shadow), Secondary (all 6 pastel tones + ink sticker shadow), Ghost, sizes md (48) & lg (56), polymorphic links, external link icon, and disabled states.
08 · Site Chrome (SiteNav, MobileMenu & SiteFooter)
Wordmark with ginger toe bean; right group: compact ThemeSwitch, Resume button and HeaderMenuButton; full-page HeaderMenu that fades in under the header, with focus trap; and pistachio-soft SiteFooter.
Plain type, 1px hairlines, 2px pen rules, and open column rhythm replace text-only boxes across non-Home routes. Works in Light, Dark and Warm Dark at 375 and 1440.
Card: when (not) to use — The 4-step rule test
01
Clickable whole?
If clicking anywhere on the entire container navigates or triggers an action (NextCase, cover card), Card is allowed.
Card OK
02
Media or live demo frame?
Screenshots, device frames, video players, code frames, diagrams, and token specimens keep a 2px pen border.
Frame OK
03
Single standout panel in the section?
One standout moment per section (ContactPanel, CaseCTA) earns a Card or panel.
1 Panel OK
04
Text, lists, stats, or multi-column info?
Never box text-only content or nest cards inside cards. Use RuledList, IndexColumns, PullQuote, or a Callout margin note.