@primitiv-ui/primitiv-emit-wasm 0.1.37 → 0.1.39
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/package.json
CHANGED
package/primitiv_emit_wasm.d.ts
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* Emit a whole palette as `css`, `scss`, `tailwind` or `dtcg`.
|
|
6
6
|
*
|
|
7
7
|
* `request` is an `ExportInput`: `{ ramps: [{ family, light: [{ step, value }],
|
|
8
|
-
* dark: [...] }], roles?, identity? }` — the
|
|
9
|
-
* already rendered (RFC 0032 D1), every
|
|
10
|
-
* contents.
|
|
8
|
+
* dark: [...] }], roles?, softNeutrals?: { white, black }, identity? }` — the
|
|
9
|
+
* palette as **values** the caller has already rendered (RFC 0032 D1), every
|
|
10
|
+
* colour a CSS string. Returns the file's contents.
|
|
11
11
|
*
|
|
12
12
|
* An unknown format name is an error rather than a fallback — writing a stylesheet
|
|
13
13
|
* when the caller asked for a token file would be worse than refusing.
|
package/primitiv_emit_wasm.js
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* Emit a whole palette as `css`, `scss`, `tailwind` or `dtcg`.
|
|
5
5
|
*
|
|
6
6
|
* `request` is an `ExportInput`: `{ ramps: [{ family, light: [{ step, value }],
|
|
7
|
-
* dark: [...] }], roles?, identity? }` — the
|
|
8
|
-
* already rendered (RFC 0032 D1), every
|
|
9
|
-
* contents.
|
|
7
|
+
* dark: [...] }], roles?, softNeutrals?: { white, black }, identity? }` — the
|
|
8
|
+
* palette as **values** the caller has already rendered (RFC 0032 D1), every
|
|
9
|
+
* colour a CSS string. Returns the file's contents.
|
|
10
10
|
*
|
|
11
11
|
* An unknown format name is an error rather than a fallback — writing a stylesheet
|
|
12
12
|
* when the caller asked for a token file would be worse than refusing.
|
|
Binary file
|