Foundation reference

Visual language

Nerio is compact, soft, and neutral-first. This reference maps the approved visual direction to public tokens; component pages remain the source for individual APIs.

Surface hierarchy

White and black are the foundations. Cool alpha-neutral layers create grouping and interaction without enclosing every region in a border.

Lightpure white
Default
Subtle group field
Control / hover layer
Inverted glass overlay
Darkpure black
Default
Subtle group field
Control / hover layer
Inverted glass overlay

Accent and semantic color

Theme color is constrained to primary action, focus, links, progress, selection indicators, and intentional brand moments.

Purple
LightDark
Blue
LightDark
Green
LightDark
Orange
LightDark
Red
LightDark
Neutral
LightDark
NeutralInfoSuccessWarningDanger

Typography hierarchy

Product heading

Section heading

Body text stays compact, regular, and readable at 14px.

const theme = "nerio"

Geometry and spacing

Control--n-radius-control
Container--n-radius-container
Task surface--n-radius-overlay
Pill--n-radius-pill
--n-space-1
--n-space-2
--n-space-3
--n-space-4
--n-space-6

Focus and interaction

Hover and focus feedback use shared motion aliases. Link actions underline on hover and focus-visible; icon-only actions require both an accessible name and a Tooltip.

Density comparison

Comfortabledata-density="comfortable"32px default control
Compactdata-density="compact"28px compact control

Density remaps semantic and component aliases only. Primitive spacing, type, radius, icon, and motion scales remain immutable.

Motion

Calm and causal

Hover uses --n-motion-hover-duration; overlays use the shared enter and exit families and remove nonessential travel under reduced motion.