@tenphi/glaze 1.0.0 → 1.1.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 +1 -1
- package/dist/index.cjs +391 -233
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +99 -35
- package/dist/index.d.mts +99 -35
- package/dist/index.mjs +388 -234
- package/dist/index.mjs.map +1 -1
- package/docs/api.md +106 -49
- package/docs/migration.md +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ contrast floor.
|
|
|
39
39
|
- **W3C DTCG export** — spec-conformant `.tokens.json` (2025.10) for Figma, Tokens Studio, Style Dictionary, and every DTCG tool
|
|
40
40
|
- **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
|
|
41
41
|
- **Tailwind CSS v4 export** — `@theme` block + dark / high-contrast overrides
|
|
42
|
-
- **Import/Export** — serialize and restore
|
|
42
|
+
- **Import/Export** — serialize and restore themes, color tokens, and entire palettes as JSON
|
|
43
43
|
- **Create from hex/RGB** — start from an existing brand color
|
|
44
44
|
- **Zero dependencies** — pure math, runs anywhere (Node.js, browser, edge)
|
|
45
45
|
- **Tree-shakeable ESM + CJS** — dual-format package
|