@ctrliq/quantic-tokens
v1.92.1
Published
Downloads
10,295
Readme
Design tokens
Design tokens are extracted from Figma variables in the CIQ Core library, using the Design Tokens (W3C) Export plugin.
Export tokens from Figma
- Open the CIQ Core library Figma file.
- Run the Design Tokens (W3C) Export plugin.
- Extract the zip contents from the exported
tokens.zipfile. - Move every file except
color.jsonintosrc/tokens/common/. - Copy the
"light"object fromcolor.jsonintosrc/tokens/color/light.json. - Copy the
"dark"object fromcolor.jsonintosrc/tokens/color/dark.json. - Keep
typography.jsonflat (not wrapped in atypographygroup). - Restore repo-only edits that the plugin does not export:
- Font fallback stacks on
font-family-display,font-family-body, andfont-family-mono. breakpoints.jsonvalues as CSS dimensions (576px, not576).
- Font fallback stacks on
- Rebuild:
pnpm --filter @ctrliq/quantic-tokens build.
