@tenphi/glaze 0.15.1 → 0.16.0
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 +3 -0
- package/dist/index.cjs +834 -89
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +453 -7
- package/dist/index.d.mts +453 -7
- package/dist/index.mjs +825 -90
- package/dist/index.mjs.map +1 -1
- package/docs/api.md +257 -14
- package/docs/methodology.md +437 -222
- package/docs/migration.md +70 -5
- package/docs/okhst.md +45 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -29,6 +29,9 @@ Glaze generates robust **light**, **dark**, and **high-contrast** color schemes
|
|
|
29
29
|
- **Per-color hue override** — absolute or relative hue shifts within a theme
|
|
30
30
|
- **Multi-format output** — `okhsl`, `rgb`, `hsl`, `oklch` with modern CSS space syntax
|
|
31
31
|
- **CSS custom properties export** — ready-to-use `--var: value;` declarations per scheme
|
|
32
|
+
- **W3C DTCG export** — spec-conformant `.tokens.json` (2025.10) for Figma, Tokens Studio, Style Dictionary, and every DTCG tool
|
|
33
|
+
- **W3C DTCG Resolver-Module export** — opt-in single-document `dtcgResolver()` (sets + a `scheme` modifier with a context per variant) for resolver tools such as Dispersa
|
|
34
|
+
- **Tailwind CSS v4 export** — `@theme` block + dark / high-contrast overrides
|
|
32
35
|
- **Import/Export** — serialize and restore theme configurations
|
|
33
36
|
- **Create from hex/RGB** — start from an existing brand color
|
|
34
37
|
- **Zero dependencies** — pure math, runs anywhere (Node.js, browser, edge)
|