Foundations tokens
Umia DS design tokens exported from the Umia Foundations Figma file.
ColorsSemantic roles first, then the primitive ramps they alias. Light and dark are the resolved values.TypographyFont families, sizes, weights, leading and tracking, then the composed text styles.SpacingTailwind spacing multiplies one unit, --spacing (4px). p-3 is 3 × 4px.Radius and sizeCorner radii, control heights, icon and avatar sizes.ElevationShadows from Figma effect styles, plus blur, opacity, border-width and focus tokens.LayoutBreakpoints, layout metrics, motion and stacking. Layout tokens change by breakpoint.
Gotchas
Section titled “Gotchas”- Umia DS sets every token on
:root;.dark(or[data-theme="dark"]) on<html>switches to the dark values, and[data-umia-direction="color-blind"]swaps positive and negative. - Apps that merge classes with
cn()(tailwind-merge) must addtextStyleUtilitiesfrom@umia/design/text-stylesto the font-size group (extendTailwindMerge({ extend: { theme: { text: [...] } } })), orcn("text-heading-md text-muted-foreground")dropstext-heading-md. The hub does this inweb/hub/lib/utils.ts. shadow-<color>modifiers do not recolour Umia DS shadows.