Ref. BI·SG·001 · Edition 2026.11
Plate ↔ cabinet · live tokens
Livingdesign system.
The cabinet reference for color, typography, spacing, and interface patterns behind Bug Ipsum. Every specimen on this page binds to globals.css and the site theme toggle — not hand-picked hex values.
00 — Introduction
Plate and cabinet
globals.css, tailwind.config.ts, and the Figma token JSON — then verified in the browser with theme switching (html.dark).Stack
- FrameworkNext.js App Router
- StylingTailwind + CSS variables
- Componentsshadcn/ui (new-york)
- Display typeFraunces · Source Serif 4 · Geist Mono
Installed primitives
shadcn: Button, Input, Card. Marketing primitives include Wordmark, EditorialHero, and FeatureStrip on the homepage.
Extend via npx shadcn@latest add — avoid one-off duplicates.
Mount board, not museum glass
Light theme reads as an entomological plate — warm paper, pin green accents, hairline rules.
Cabinet depth at night
Dark theme inverts to ink surfaces with muted specimen labels; accent shifts to pin highlight.
Semantics first
Paper and pin primitives exist for Figma import. Production code uses surface, text, line, and accent.
01 — Color
Palette and semantics
Color primitives
Do not use directly in components.
--ink-100 · #e9ebe6
Primary text in the cabinet.
--ink-400 · #9da39c
Legacy cabinet muted.
--ink-500 · #858a86
Muted text in the cabinet.
--ink-600 · #4f544f
Legacy mid ink.
--ink-700 · #343935
Rules and borders in the cabinet.
--ink-900 · #181b19
Raised panels in the cabinet.
--ink-950 · #0f1110
Page in the cabinet. Primary text on the plate.
--paper-100 · #eeeeea
Page on the plate.
--paper-200 · #e4e4de
Raised panels on the plate.
--paper-300 · #c9cbc4
Rules and borders on the plate.
--paper-50 · #f7f7f4
Input wells on the plate.
--pin-300 · #7fd1a8
Specimen-pin green. Accent in the cabinet.
--pin-700 · #1f6b4f
Specimen-pin green. Accent on the plate.
Semantic tokens
Plate
surface-page
--surface-page · bg-page · #eeeeea
surface-raised
--surface-raised · bg-raised · #e4e4de
surface-sunken
--surface-sunken · bg-sunken · #f7f7f4
text-primary
--text-primary · text-ink · #0f1110
text-muted
--text-muted · text-muted-foreground (plate: ink-700, cabinet: ink-500) · #343935
line
--line · border-line · #c9cbc4
accent
--accent · bg-accent / text-accent / ring-ring · #1f6b4f
on-accent
--on-accent · text-on-accent · #f7f7f4
Cabinet
surface-page
--surface-page · bg-page · #0f1110
surface-raised
--surface-raised · bg-raised · #181b19
surface-sunken
--surface-sunken · bg-sunken · #0f1110
text-primary
--text-primary · text-ink · #e9ebe6
text-muted
--text-muted · text-muted-foreground (plate: ink-700, cabinet: ink-500) · #858a86
line
--line · border-line · #343935
accent
--accent · bg-accent / text-accent / ring-ring · #7fd1a8
on-accent
--on-accent · text-on-accent · #0f1110
shadcn → semantics
- --background--surface-pagebg-background · bg-page
- --foreground--text-primarytext-foreground · text-ink
- --card--surface-raisedbg-card · bg-raised
- --card-foreground--foregroundtext-card-foreground · text-foreground
- --popover--cardbg-popover · bg-card
- --popover-foreground--foregroundtext-popover-foreground
- --secondary--cardbg-secondary · bg-card
- --secondary-foreground--foregroundtext-secondary-foreground
- --muted--surface-sunkenbg-muted · bg-sunken
- --muted-foreground--text-mutedtext-muted-foreground
- --primary--accentbg-primary · bg-accent
- --primary-foreground--on-accenttext-primary-foreground · text-on-accent
- --border--lineborder-border · border-line
- --input--borderborder-input · border-border
- --ring--accentring-ring · ring-accent
- --radius--radius-platerounded-plate
Surfaces
Page / shell
bg-background
Raised panels
bg-card
Input wells
bg-muted
Audit · Dual Tailwind APIs
bg-page, text-ink) coexist with shadcn (bg-background, text-foreground). Marketing pages still mix both.Audit · Hardcoded destructive
--destructive in globals.css is fixed red, not from Figma primitives.Audit · Focus via accent
--ring and global focus outlines use --accent (former --focus removed).02 — Type
Typography and scale
Bugs on demand.
Editorial specimen plate
Source Serif 4 carries long-form reading; Fraunces owns display lockups; Geist Mono labels specimens.
No. 010 · HELICONIUS · PLATE MOUNT
Font roles
- DisplayFraunces--font-displayfont-display
- TextSource Serif 4--font-textfont-text
- MonoGeist Mono--font-monofont-mono
Utility classes
.type-section · font-display · 5xl–6xl
Section headline
.type-subsection · font-display · 3xl–4xl
Subsection
.type-lede · text-lg · muted
Supporting lede copy for a section.
.type-display-italic · font-display italic · 4xl–5xl
Display italic
.specimen-label · mono · uppercase · tracking
Catalog label
Figma typography tokens
display-hero
168px · 400
Bug Ipsum
display-section
48px · 400
Bug Ipsum
display-subsection
30px · 400
Bug Ipsum
display-italic
36px · 400
Bug Ipsum
body
16px · 400
Bug Ipsum
body-lede
18px · 400
Bug Ipsum
mono-label
12px · 400
Specimen No. 001
mono-control
14px · 400
Bug Ipsum
mono-url
16px · 400
Bug Ipsum
03 — Space
Spacing scale
Tailwind ladder (preferred)
- 1 · 4px
- 2 · 8px
- 3 · 12px
- 4 · 16px
- 6 · 24px
- 8 · 32px
- 10 · 40px
- 12 · 48px
- 16 · 64px
Figma dimensions
- radius-plate · 2px
- button-border · 1px
- focus-outline · 2px
- focus-offset · 4px
- button-gap · 8px
- button-padding-inline-quiet · 16px
- button-padding-inline-primary · 20px
- button-min-height · 44px
Layout recipes
.section-shell · .section-block · primary button px-5 (20px, off the 4px ladder).
04 — Shape
Borders, radii, and shadows
Radius
--radius-plate · 2px · rounded-plate
shadcn rounded-lg/md/sm all resolve to the same 2px via --radius.
Border
border-border · --line · 1px
Shadows
No box-shadow elevation tokens (per refresh brief). Focus affordances only:
- shadcn controls:
ring-2 ring-ring ring-offset-2 ring-offset-background .lab-rangethumb: 3px raised + 5px focus halo in globals.css
Audit · No shadow scale
06 — Forms
Form controls
Input — plate
Input — cabinet preview
lab-range
Class .lab-range in globals.css. data-off="true" greys the thumb when an effect is off.
Audit · No shadcn Label / Select
07 — Library
Installed UI components
- Button
@/components/ui/button
variants: default, quiet, outline, ghost, link · sizes: default, sm, icon
- Input
@/components/ui/input
text, file, disabled, focus ring
- Card
@/components/ui/card
CardHeader, CardTitle, CardDescription, CardContent, CardFooter
Card anatomy
Optional description in muted foreground.
08 — Audit
System notes
Dual Tailwind color APIs
Semantic (bg-page, text-ink, border-line) and shadcn (bg-background, text-foreground, border-border) map to the same CSS variables. SEMANTIC_COLOR_TOKENS still lists legacy names; marketing TSX mixes both.
docs/tokens.md drift
Still references removed .surface-*, .btn-*, .field-input classes. Living source is this page plus globals.css.
Button variant surface area
outline, ghost, link installed but unused in product. quiet + default are canonical.
No elevation shadows
Intentional per refresh brief. Only focus rings and lab-range thumb halo.
lucide-react
Listed in package.json for shadcn; no icons in ui components yet.
Geist sans on html
layout.tsx sets --font-sans (Geist) while body uses font-text (Source Serif). Secondary stack.
Radius aliases
tailwind rounded-lg/md/sm collapse to 2px plate radius — shadcn defaults add little differentiation.