@ctrliq/quantic-tokens 1.68.0 → 1.68.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,15 +1,17 @@
1
1
  # Design tokens
2
2
 
3
- This is WIP.
4
-
5
- Currently design tokens are extracted programmatically from Figma variables in the [CIQ Core library Figma file](https://www.figma.com/design/3P9j1PCEa2WqzUQCyN6alr/CIQ-Core-Library?node-id=1480-0&t=DFExLiORXvDba9Vd-1), using the Design Tokens (W3C) Export plugin.
3
+ Design tokens are extracted from Figma variables in the [CIQ Core library](https://www.figma.com/design/3P9j1PCEa2WqzUQCyN6alr/CIQ-Core-Library?node-id=1480-0&t=DFExLiORXvDba9Vd-1), using the [Design Tokens (W3C) Export](https://www.figma.com/community/plugin/1377982390646186215/design-tokens-w3c-export) plugin.
6
4
 
7
5
  ## Export tokens from Figma
8
6
 
9
- 1- Open [CIQ Core library](https://www.figma.com/design/3P9j1PCEa2WqzUQCyN6alr/CIQ-Core-Library?node-id=1480-0&t=DFExLiORXvDba9Vd-1) Figma file
10
- 2- Run [Design Tokens (W3C) Export](https://www.figma.com/community/plugin/1377982390646186215/design-tokens-w3c-export) Figma plugin
11
- 3- Extract zip contents from exported tokens.zip file
12
- 4- Move all files to src/common, except `color.json`
13
- 5- Copy "light" key from `color.json` into `src/modes/light.json`.
14
- 6- Repeat process with "dark" key
15
- 7- Ensure `typograhpy.json` isn't grouped
7
+ 1. Open the [CIQ Core library](https://www.figma.com/design/3P9j1PCEa2WqzUQCyN6alr/CIQ-Core-Library?node-id=1480-0&t=DFExLiORXvDba9Vd-1) Figma file.
8
+ 2. Run the [Design Tokens (W3C) Export](https://www.figma.com/community/plugin/1377982390646186215/design-tokens-w3c-export) plugin.
9
+ 3. Extract the zip contents from the exported `tokens.zip` file.
10
+ 4. Move every file except `color.json` into `src/tokens/common/`.
11
+ 5. Copy the `"light"` object from `color.json` into `src/tokens/color/light.json`.
12
+ 6. Copy the `"dark"` object from `color.json` into `src/tokens/color/dark.json`.
13
+ 7. Keep `typography.json` flat (not wrapped in a `typography` group).
14
+ 8. Restore repo-only edits that the plugin does not export:
15
+ - Font fallback stacks on `font-family-display`, `font-family-body`, and `font-family-mono`.
16
+ - `breakpoints.json` values as CSS dimensions (`576px`, not `576`).
17
+ 9. Rebuild: `pnpm --filter @ctrliq/quantic-tokens build`.