Xenon

v1.0
Getting Started
Primitives
Form Controls
Navigation
Overlays
Feedback & Data Display

Design Guidelines & Mathematics

Core geometric invariants, concentric mathematics, and typography rules that define Xenon.

1. Concentric Radius Geometry

Nested rounded surfaces must never use the same corner radius as their container. Doing so makes inner elements look optically alien and bloated. Xenon strictly enforces the concentric formula:

concentric-formula.tstypescript
R_child = Math.max(0, R_parent - padding)

Parent Radius: 24px

Padding Inset: 16px

Child Radius = 8px

Concentric Child (R = 8px)

2. Discrete 7-Stop Radius Scale

Radii are not arbitrary numbers. They are bound to a strict 7-stop scale where controls and surfaces scale synchronously:

StopControl RadiusSurface RadiusJoint RadiusFeel
Stop 00px0px0pxSharp / Brutalist
Stop 14px6px2pxRestrained Architectural
Stop 28px10px2pxSubtle Rounding
Stop 312px16px3pxApple Standard
Stop 416px20px4pxSmooth Contemporary
Stop 520px24px5pxSoft Organic
Stop 69999px (Pill)28px6pxPill Action First

3. Typography & Weight Invariant

Xenon strictly bans font weights of 500 or higher. Hierarchy is conveyed through size scale, tracking, and optical tone, creating a refined, calm visual atmosphere.

Weight 200: Display Headings

font-weight: 200

Weight 300: Section Headings & Body

font-weight: 300

Weight 400: Button Labels & Strong Text

font-weight: 400
Zero Instant/Snappy Transitions
Every visual state change in Xenon glides through Apple-grade fluid curves (280ms cubic-bezier or physics springs). Instant snapping and uncoordinated display: none are strictly banned.