Skip to content

Design tokens ​

Design tokens are the single source of truth for naming and storing design decisions in Catnip. They ship as CSS custom properties (--catnip-*) and JavaScript exports from @signicat/catnip-design-tokens.

bash
npm install @signicat/catnip-design-tokens
css
@import "@signicat/catnip-design-tokens/css";

CDN ​

html
<link rel="stylesheet" href="https://static.signicat.com/catnip/design-tokens/latest/css/default.css" />
<link rel="stylesheet" href="https://static.signicat.com/catnip/design-tokens/latest/css/dark.css" />
<link rel="stylesheet" href="https://static.signicat.com/catnip/design-tokens/latest/css/endui.css" />

See Theming — CDN and Installation — CDN.

Currently shipped ​

CategoryStatusNotesReference
ColorAvailablePrimitives, semantic light and chart data colorsColor tokens
Dark semantic colorAvailableSame variables, overridden under [data-theme='dark'] when you import the dark CSSTheming
EndUI (whitelabel)AvailableBrand → blue plus component overrides under [data-theme='endui']Theming — EndUI
ComponentAvailable (growing)e.g. --catnip-button-radius, --catnip-graphic-*. Defaults on :root; themes override themComponent tokens
TypographyAvailableResponsive presetsTypography tokens
BreakpointsProvisionalXS–XXL layout bands (--catnip-breakpoint-*) in default CSS/JS; planned until UX revises themBreakpoint tokens
SpacingAvailableSpacing tokens
Border radiusAvailableRadius tokens
ShadowAvailableElevation and focusShadow tokens

For each color token, the reference table lists a sample and Copy for the CSS custom property name.

Catnip Design System by Signicat