@oneli8/tokens 1.0.0-beta.6 → 1.0.0-beta.7

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
@@ -7,7 +7,7 @@ npm install @oneli8/tokens
7
7
  ```
8
8
 
9
9
  ```js
10
- import '@oneli8/tokens/css'; // :root custom properties + .ol8-type-* classes
10
+ import '@oneli8/tokens/css'; // every token as a :root custom property
11
11
  import { tokens } from '@oneli8/tokens'; // flat { 'color-text-primary': '#151817', ... }
12
12
  ```
13
13
 
@@ -56,7 +56,7 @@ Two rules matter when consuming it:
56
56
  | Import | What it gives you |
57
57
  |---|---|
58
58
  | `@oneli8/tokens` | flat `{ name: value }` map, with a literal union key type |
59
- | `@oneli8/tokens/css` | the custom properties and `.ol8-type-*` classes |
59
+ | `@oneli8/tokens/css` | every token as a CSS custom property |
60
60
  | `@oneli8/tokens/tailwind` | Tailwind v3 preset |
61
61
  | `@oneli8/tokens/tailwind.css` | Tailwind v4 `@theme` bridge |
62
62
  | `@oneli8/tokens/figma` | round trip payload: collections, theme modes, type and elevation styles |
package/ai-context.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$comment": "GENERATED by packages/sync/src/build-package-context.mjs — do not edit.",
3
3
  "system": "OneLi8",
4
- "version": "1.0.0-beta.6",
4
+ "version": "1.0.0-beta.7",
5
5
  "meaning": "OneLi8 means One Light.",
6
6
  "foundations": {
7
7
  "package": "@oneli8/tokens",
@@ -13,7 +13,7 @@
13
13
  "color-primary-* is an alias ramp onto color-blue-* — identical values, distinct names. Prefer the semantic role over either.",
14
14
  "Dimension scale is 3px-atomic. Even multiples for structural layout; odd multiples are deliberate optical or micro-gap choices.",
15
15
  "Elevation ink is cyan-840 rgb(22,63,75) — never default black.",
16
- "Typography roles are composite. Use the .ol8-type-<role> class, not the individual font vars.",
16
+ "Typography roles are composite. Apply a whole role, all five of --ol8-typography-<role>-{font-family,font-size,font-weight,line-height,letter-spacing}, rather than picking loose font vars. This package ships custom properties and no class names.",
17
17
  "shape-radius-full (999px) is reserved for pills and circles. Soft hexagons are component-specific recipes, not a radius token."
18
18
  ]
19
19
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneli8/tokens",
3
- "version": "1.0.0-beta.6",
3
+ "version": "1.0.0-beta.7",
4
4
  "description": "OneLi8 Design System \u2014 design tokens compiled from Figma. CSS custom properties and a flat JS object.",
5
5
  "keywords": [
6
6
  "design-tokens",