Design System
A living reference for the Planet X Devs design system. Canonical tokens live in globals.css; semantic class presets in config/theme.ts.
Brand Palette
nebula-black
nebula-purple-dark
nebula-purple
nebula-violet
nebula-blue
stellar-blue
nebula-cyan
nebula-white
Opacity & tint variants
violet-10
violet-20
violet-30
violet-40
violet-50
cyan-10
cyan-20
cyan-30
cyan-40
cyan-50
purple-20
purple-30
purple-50
Semantic Colors
Text (theme.themeColors.text)
Primary text
Secondary text
Tertiary text
Muted text
Accent text
Error text
Success text
Warning text
Surfaces (globals.css .bg-surface-*)
Typography
Headings (Heading component)
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Paragraph scale (theme.typography.paragraph)
Small — text-sm
Base — text-base
Large — text-lg
Extra large — text-xl
Buttons
Variants
Sizes
States
Cards & Shadows
Small shadow
shadow="small"
Medium shadow
shadow="medium"
Large + hover
shadow="large" hover
Nebula glow utilities
Glass Effects
Rendered over a nebula gradient so the frosting reads.
Gradients
Spacing Scale
Section vertical rhythm (theme.spacing.section)
Border Radius
small
medium
large
xlarge
full
Animations
.animate-float
.animate-pulse-slow
.animate-twinkle
.animate-spin-slow