polyxd 0.2.1 → 0.2.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.
Files changed (2) hide show
  1. package/README.md +2 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -3,8 +3,9 @@
3
3
  ```sh
4
4
  npx polyxd pack ./src/tokens.css # a Polyxd pack from your design system's tokens
5
5
  npx polyxd check ./ds-acme/manifest.json
6
+ POLYXD_STUDIO_KEY=… npx polyxd studio push ./ --to https://studio.polyxd.com/api/w/acme
6
7
  ```
7
8
 
8
- `pack` reads your CSS custom properties (or a DTCG JSON file), maps what it can onto Polyxd's semantic token contract, and writes a pack plus a mapping file recording every guess. It reports what's still missing and any of your own colour pairs that fail contrast. `check` validates a pack against the contract.
9
+ `pack` reads your CSS custom properties (or a DTCG JSON file), maps what it can onto Polyxd's semantic token contract, and writes a pack plus a mapping file recording every guess. It reports what's still missing and any of your own colour pairs that fail contrast. `check` validates a pack against the contract. `studio push` sends a token package (packed with npm, so private registries never matter), a tarball or a single token file to Polyxd Studio as a new version of your design system; made for a CI step on every release, with an API key from Studio's Team page.
9
10
 
10
11
  [How it guesses](https://polyxd.com/docs/your-design-system/) · [Polyxd](https://polyxd.com) · [Source](https://github.com/visualfart/polyxd)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polyxd",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "The polyxd command: make a Polyxd design-system pack from your own tokens, and check it against the contract",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -14,7 +14,7 @@
14
14
  "NOTICE"
15
15
  ],
16
16
  "dependencies": {
17
- "@polyxd/ds-kit": "^0.2.1"
17
+ "@polyxd/ds-kit": "^0.2.2"
18
18
  },
19
19
  "repository": {
20
20
  "type": "git",