Tokens
Primitives, semantic aliases, and component tokens — the foundation every component reads from.
Color palettes
Tailwind 50–950 scale. 600 is the solid brand/CTA step; 700/800 pass WCAG AA as text on white; 900/950 are ink. Swatches read live from the token CSS vars.
Semantic mapping
Tier 2 aliases that components reference. Brand bindings happen here.
Action
--color-action-primarybrand-primary.9--color-action-primary-hoverbrand-primary.10--color-action-secondarybrand-secondary.9Text
--color-text-defaultslate.12--color-text-mutedslate.11--color-text-subtleslate.10--color-text-inverseslate.1--color-text-linkaction-primary--color-text-on-primaryslate.1Surface
--color-surface-defaultslate.1--color-surface-subtleslate.2--color-surface-raisedslate.1 + elevation--color-surface-inverseslate.12--color-surface-darkslate.12Border
--color-border-defaultslate.6--color-border-strongslate.8--color-border-brandbrand-primary.7--color-border-focusbrand-primary.9Status
--color-successemerald.9--color-infoindigo.9--color-warningamber.9--color-dangerrose.9Spacing scale
Used by every gap, padding, and margin token.
space-10.25remspace-20.5remspace-41remspace-61.5remspace-82remspace-123remspace-164remSemantic spacing
Intent-based aliases over the raw scale — components should read these, not raw --space-* steps.
--spacing-gap-inline0.5remIcon-to-label, inline element gap--spacing-gap-control0.75remBetween adjacent form controls--spacing-gap-content1remWithin a content block--spacing-gap-cards1.5remBetween sibling cards in a grid/list--spacing-gap-section3remBetween stacked page sections--spacing-gap-hero4remAround hero / marketing blocksShape scale
Border radius steps the shape preset maps to. 4xl/5xl added for hero and marketing surfaces (Wise-inspired softness).
Typography scale
Heading sizes from sm through 7xl — independent from semantic level.
smThe quick brown fox
mdThe quick brown fox
lgThe quick brown fox
xlThe quick brown fox
2xlThe quick brown fox
3xlThe quick brown fox
4xlThe quick brown fox
5xlThe quick brown fox
6xlThe quick brown fox
7xlThe quick brown fox
Elevation
Shadow steps used by Card, Popover, Dialog, Toast. -on-gray variants carry more contrast for use on subtle-gray surfaces; glow tiers are the Idin Studio brand signature.
Density
A real, token-level axis. One attribute reflows spacing across the whole subtree.
data-density="compact", "regular" (default), or "spacious" on any ancestor to reflow the subtree. A single --density-scale multiplier (0.8 / 1 / 1.15) drives it: padding and gap tokens resolve throughcalc(var(--space-*) * var(--density-scale)), and interactive control heights usemax(base, calc(base * scale)) so compact never shrinks a control below its touch-target floor (WCAG 2.5.5). Not faked at the showcase layer — it's wired in the token JSON.