@iksnerd/blazon 0.3.1 → 0.3.3
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 -1
- package/dist/chunks/{site-builder-CH6OcFSE.js → site-builder-DlaZeZHi.js} +2481 -2396
- package/dist/cli/index.js +3 -3
- package/dist/core/brand/export.d.ts +3 -1
- package/dist/core/brand/export.d.ts.map +1 -1
- package/dist/core/brand/schema.d.ts +21 -0
- package/dist/core/brand/schema.d.ts.map +1 -1
- package/dist/core/checker/catalogue.d.ts +8 -0
- package/dist/core/checker/catalogue.d.ts.map +1 -1
- package/dist/core/fonts.d.ts +10 -1
- package/dist/core/fonts.d.ts.map +1 -1
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/inputs.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/types/data.d.ts +10 -0
- package/dist/types/data.d.ts.map +1 -1
- package/dist/ui/assets/index-Biy1hkeq.css +2 -0
- package/dist/ui/assets/{index-CLKH0m9J.js → index-dkJG6W9p.js} +10 -3
- package/dist/ui/index.html +2 -2
- package/mcp/dist/index.js +8 -5
- package/package.json +5 -2
- package/plugins/blazon.copy/README.md +14 -12
- package/plugins/blazon.favicons/README.md +3 -0
- package/plugins/blazon.office-template/bin/blazon-blazon.office-template./360/237/224/214 +1 -1
- package/plugins/blazon.platform-tokens/README.md +58 -2
- package/plugins/blazon.platform-tokens/bin/blazon-blazon.platform-tokens./360/237/224/214 +57 -12
- package/plugins/blazon.press-kit/README.md +54 -3
- package/plugins/blazon.press-kit/bin/blazon-blazon.press-kit./360/237/224/214 +247 -49
- package/plugins/blazon.print-book/README.md +14 -3
- package/plugins/blazon.tailwind/README.md +1 -1
- package/plugins/shipped.lock +7 -7
- package/dist/ui/assets/index-DluSqfla.css +0 -2
package/README.md
CHANGED
|
@@ -157,6 +157,8 @@ A plugin whose manifest lists a variable that is set, and that the entry does no
|
|
|
157
157
|
| [`blazon.platform-tokens`](docs/manual/14-shipped-plugins.md#blazonplatform-tokens) | Android XML, Swift and Kotlin from the color and dimension tokens |
|
|
158
158
|
| [`blazon.press-kit`](docs/manual/14-shipped-plugins.md#blazonpress-kit) | A folder and zip for people outside the brand: logos, colors, fonts, a one-page PDF |
|
|
159
159
|
| [`blazon.social-cards`](docs/manual/14-shipped-plugins.md#blazonsocial-cards) | Marketing images from the tokens and logo, checked for contrast |
|
|
160
|
+
| [`blazon.tailwind`](docs/manual/14-shipped-plugins.md#blazontailwind) | A Tailwind v4 theme from the tokens |
|
|
161
|
+
| [`blazon.shadcn`](docs/manual/14-shipped-plugins.md#blazonshadcn) | The shadcn/ui variables, as a mapping and as CSS |
|
|
160
162
|
|
|
161
163
|
Several need Chrome for their PDF or PNG output; the manual says which. The starter's config lists `blazon.copy` with blazon's own rules, and `blazon.tailwind` and `blazon.shadcn`, which need only Node and write the Tailwind and shadcn/ui files. It leaves out the other plugins of blazon's own book (the deck, the social cards, the favicons, the logo kit, the press kit and the platform and Office files), because most need Chrome and a new book has no use for the kits yet; add one by name when you want it. To write your own, see [Writing a plugin](docs/manual/13-writing-a-plugin.md). A plugin can be pinned, so one that changed on disk does not run.
|
|
162
164
|
|
|
@@ -197,7 +199,7 @@ getVar('interactive.primary'); // "var(--interactive-primary)"
|
|
|
197
199
|
|
|
198
200
|
## Configuration
|
|
199
201
|
|
|
200
|
-
`blazon.json` is optional
|
|
202
|
+
`blazon.json` is optional only in name: a brand must name a `logo`, or `blazon check` fails with `logo-missing`. The common options:
|
|
201
203
|
|
|
202
204
|
```json
|
|
203
205
|
{
|