@oods/tokens 0.3.0 → 0.3.2

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/CHANGELOG.md CHANGED
@@ -1,7 +1,32 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.2
4
+
5
+ - Built with Style Dictionary 5.5.5 and `@tokens-studio/sd-transforms` 2.0.3 (they were 4.4.0 and 1.3.0). Building
6
+ needs Node.js 22.0.0 or newer.
7
+ - The sans and display font stacks name "Helvetica Neue" and "Times New Roman" correctly. 0.3.1 quoted them twice, so
8
+ browsers never matched those fallbacks.
9
+ - Transition timing functions hold their values instead of `var()` references to the easing tokens. The computed
10
+ values are unchanged; a stylesheet that overrides `--oods-motion-easing-*` no longer changes them.
11
+ - The `tokens` export and the `@oods/tokens/tailwind` payload carry a `key` on each token, and no longer carry five
12
+ entries that held no token: `$schema`, `description` and `mappings` (from the forced-colors map) and the
13
+ `$description` of `brand.A` and `brand.B`. The declared types are unchanged.
14
+ - The package metadata names OODS Foundry, its homepage and a support email.
15
+
16
+ ## 0.3.1 — published 2026-09-27
17
+
18
+ Only the version changed; the contents are those of 0.3.0.
19
+
20
+ ## 0.3.0 — published 2026-09-26
21
+
22
+ The first version on npm, under the Apache License 2.0. It holds the shipped brands A and B in light, dark and
23
+ high-contrast scopes: the stylesheet (`@oods/tokens/css`), the resolved values of each scope in JavaScript
24
+ (`cssVariablesByScope`), the brand list (`@oods/tokens/brands`) and a Tailwind token payload (`@oods/tokens/tailwind`).
25
+
3
26
  ## 0.1.0 — 2025-10-14
4
27
 
28
+ Prepared under the MIT license; it was never published to npm.
29
+
5
30
  - Publish deterministic Style Dictionary outputs for the Brand A baseline.
6
31
  - Add dual ESM/CJS entry points with JSON, CSS, and Tailwind exports.
7
32
  - Include MIT license and release metadata for npm distribution.
package/README.md CHANGED
@@ -31,12 +31,14 @@ For JavaScript values:
31
31
 
32
32
  ```js
33
33
  import tokens from '@oods/tokens';
34
- console.log(tokens.cssVariablesByScope.A.light['--sys-surface-canvas']);
34
+ console.log(tokens.cssVariablesByScope.A.light['--oods-sys-surface-canvas']); // oklch(0.985 0.002339 265)
35
35
  ```
36
36
 
37
+ `cssVariablesByScope` holds every variable of each brand and theme with its value resolved, keyed by its full name, which begins with `--oods-`. The stylesheet uses the short name: `--oods-sys-surface-canvas` in JavaScript is the value `var(--sys-surface-canvas)` takes under `data-brand="A"` and `data-theme="light"`.
38
+
37
39
  `@oods/tokens/brands` exports the brands in this build. `@oods/tokens/tailwind` exports the built JSON token payload; it does not install or configure Tailwind for you.
38
40
 
39
- To turn your colour tokens into a Forge brand, use `brand_intake` through `@oods/foundry` and its shipped `QUICKSTART.md`. A generated app for that brand carries a separate stylesheet containing its custom scopes.
41
+ To turn your colour tokens into an OODS Foundry brand, use `brand_intake` through `@oods/foundry` and its shipped `QUICKSTART.md`. A generated app for that brand carries a separate stylesheet containing its custom scopes.
40
42
 
41
43
  ## Limits
42
44
 
@@ -44,4 +46,4 @@ Use matching versions of the OODS packages. These packages are separate from the
44
46
 
45
47
  ## License
46
48
 
47
- Apache License 2.0. See [LICENSE](LICENSE) and [NOTICE](NOTICE). Generated output belongs to its user; installed package dependencies retain their own licenses.
49
+ Apache License 2.0. See [LICENSE](https://cdn.jsdelivr.net/npm/@oods/tokens@0.3.2/LICENSE) and [NOTICE](https://cdn.jsdelivr.net/npm/@oods/tokens@0.3.2/NOTICE). Generated output belongs to its user; installed package dependencies retain their own licenses.