@ui-organized/utils
v2.0.0
Published
Color generation, type scale, spacing, and semantic token resolution utilities for the ui-organized design system.
Downloads
453
Maintainers
Readme
@ui-organized/utils
Pure utilities behind the ui-organized design system: perceptual color generation, neutral presets, type-scale and spacing math, and semantic token resolution. These functions power token generation and the theme builder.
Install
npm install @ui-organized/utilsUsage
import { resolveSemanticColors, generateTypeScale } from "@ui-organized/utils";Note:
coreColorsandsemanticColorMapare generated from the token JSON;resolveSemanticColorsis the single source of truth for semantic resolution.
License
Apache-2.0
