@fricken/design
v0.4.0
Published
Canonical design tokens (colors, typography, spacing, motion, semantic primitives) authored in TypeScript and consumed by every Frick design package. Run the generator to emit per-platform artifacts.
Readme
@fricken/design
Canonical design tokens (colors, typography, spacing, motion, semantic primitives) authored in TypeScript and consumed by every Frick design package. Run the generator to emit per-platform artifacts.
Install
pnpm add @fricken/designWhat's in here
- Authored tokens under
src/ - A generator script (
pnpm --filter @fricken/design generate) that emits:packages/design-web/src/generated/*— Web/React tokenspackages/design-swift/Sources/FrickDesign/Generated/*— Swift tokensapps/android/design/src/main/java/dev/frick/design/generated/*— Android Compose tokens
pnpm --filter @fricken/design checkvalidates the authored tokens against the schema
The generated packages are the consumption surface for app authors. Apps should not import @fricken/design directly — use @fricken/design-web (Web), FrickDesign (Swift), or dev.frick:design (Android).
License
See repository root.
