Internal reference

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

50
100
200
300
400
500
600
700
800
900

Category accents

Neighbors
Galaxy
Creatures
Items
Systems

Neutrals

0
50
100
200
300
400
500
600
700
800

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 Planet
2xl / 36Neighbors of Hexia
xl / 28Featured this week
lg / 22Pip Alder
md / 18Body — lead paragraph
base / 16Body — default paragraph text
sm / 14Body — captions, meta, card copy
xs / 12Eyebrow / label text

Spacing & Radius

Space scale (4px base)

4
8
12
16
24
32
48

Radius scale

sm 8
md 14
lg 22
pill

Buttons

Badges

Neutral Neighbors Galaxy Creatures Items Systems

Cards

Original illustration of Glimmerfin
Fish

Glimmerfin

A shy, glimmering fish found near shallow tide pools at dusk.

CommonNorvan

Category Tile

Used on the homepage grid

Forms & Navigation

Search field

Breadcrumbs

Tabs

Tab content for Overview.

Tab content for Gallery.

Info Panel

Original avatar illustration of Pip Alder
Pip Alder
Neighbor · Bakery Keeper
Region
Hexia
Birthday
3rd Bloomtide
Favorite gift
Starberry Tart

Alerts

Informational note, e.g. the fan-site disclaimer in the footer.

Explore

World

Nature

Items

Home & Style

Guides

Site

Theme

Add to Home Screen

  1. Tap the Share button (in Safari's toolbar, or in the address bar or ⋯ menu in Chrome).
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add. My Petit Planet now opens from your home screen like an app.

Sign in

Type a name, gift, habitat or Latin name.