My Petit Planet Design System
A small, reusable token & component system built for consistency across the site: warm, rounded, and calm enough to read long articles comfortably, with a cosmic-pastel personality that matches a cozy life-sim game.
Principles
Warm over sterile
Cream and lavender neutrals, rounded corners, soft shadows — never stark white-and-gray "admin panel" energy.
Scannable first
Players skim. Every list page leads with cards, tags, and filters before paragraphs.
One accent per category
Neighbors=pink, Galaxy=teal, Creatures=yellow, Items=green, Systems=blue — color becomes a wayfinding tool.
Accessible by default
4.5:1 text contrast minimum, visible focus rings, and semantic HTML so screen readers and keyboards work everywhere.
Color
Primary
Category accents
Neutrals
All semantic tokens (--bg-page, --text-primary, --border-default, etc.) resolve to these scales and automatically flip for dark mode via prefers-color-scheme — see tokens.css.
Typography
DM Sans for both headings and body copy: simple, compact and readable at long lengths.
3xl / 48My Petit Planet2xl / 36Neighbors of Hexiaxl / 28Featured this weeklg / 22Pip Aldermd / 18Body — lead paragraphbase / 16Body — default paragraph textsm / 14Body — captions, meta, card copyxs / 12Eyebrow / label textSpacing & Radius
Space scale (4px base)
481216243248Radius scale
sm 8md 14lg 22pillBadges
Cards
Glimmerfin
A shy, glimmering fish found near shallow tide pools at dusk.
Category Tile
Used on the homepage grid
Forms & Navigation
Search field
Breadcrumbs
Tabs
Tab content for Overview.
Tab content for Gallery.
Info Panel
- Region
- Hexia
- Birthday
- 3rd Bloomtide
- Favorite gift
- Starberry Tart