xxshna.ui
V 1.1.0Get started ↗
Design / Foundations

Design foundations

The details behind the system: color, typography, spacing, motion, surface hierarchy and accessibility defaults.

Color

Navy provides structure; a clear blue creates emphasis without overpowering the product. Status colors remain distinct and retain meaningful text labels.

Ink · #17213a
Primary · #244ed8
Canvas · #f7f9fc
Surface · #ffffff
Success · #138a60
Warning · #9a5f0d
Danger · #c33545
Info · #2464a3

Typography

A system-font stack keeps the library independent of remote resources and provides high legibility across platforms. Strong typography is paired with concise copy rather than ornamental decoration.

A considered interface.

Readable body text, deliberate hierarchy, understated utility labels.

SEMANTIC TYPOGRAPHY

Spacing & shape

Components use a purposeful density: 7px action radius, 11px medium surfaces and 16–22px larger containers. Spacing is component-owned, not dependent on a global CSS reset.

Themes & motion

Light mode is the default. Dark mode is explicitly opt-in with data-xsh-theme="dark". Motion respects users who prefer reduced animations.