Skip to the collection
Bug Ipsum

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

This guide is the single source of truth for Bug Ipsum's refreshed product shell. Values are pulled from 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.

Compare on homepage →
  • 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

Primitives are import-only. Components use semantic CSS variables, mirrored into shadcn theme aliases.

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

surface-page

Page / shell

bg-background

surface-raised

Raised panels

bg-card

surface-sunken

Input wells

bg-muted

Audit · Dual Tailwind APIs

Semantic utilities (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

Display, text, and mono roles from layout fonts. Composite recipes mirror Figma typography tokens and globals utilities.

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

No spacing CSS variables — Tailwind's 4px base. Figma dimensions document button and focus measures.

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).

gap 8
pad 16
pad 20
min 44

04 — Shape

Borders, radii, and shadows

Specimen plates use 2px radius and 1px rules. No elevation shadow scale — focus uses rings and a bespoke range-thumb halo.

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-range thumb: 3px raised + 5px focus halo in globals.css

Audit · No shadow scale

Intentional omission. Do not add drop-shadow utilities without a token decision.

05 — Controls

Buttons

shadcn Button. Product uses default and quiet; other variants ship with shadcn for completeness.

Variants

Sizes

States

Plate

Cabinet

Audit · Unused variants

outline, ghost, and link are not used on marketing pages yet. Consider pruning or documenting before wider adoption.

06 — Forms

Form controls

shadcn Input plus CSS primitive lab-range from Bug Builder (not shadcn).

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

Only Input is installed. Sliders and copied-state URL field remain bespoke markup.

07 — Library

Installed UI components

shadcn/ui new-york style (components.json). Additions via npx shadcn@latest add — not bespoke duplicates.

Product lockup

Bug Ipsum
Bug Ipsum
  • 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

Card title

Optional description in muted foreground.

CardContent — padded below header.
CardFooter

08 — Audit

System notes

Candidates for simplification — not blockers. Use this page to track token and API redundancy.
  • 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.