@theme-registry/refract 0.1.11 → 0.1.12
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 +10 -5
- package/dist/build.cjs.js +1 -1
- package/dist/build.cjs.js.map +1 -1
- package/dist/build.esm.js +1 -1
- package/dist/build.esm.js.map +1 -1
- package/dist/cli.js +326 -173
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -187,11 +187,16 @@ stylesheets by default, so the page is one self-contained file that survives bei
|
|
|
187
187
|
{ name: "css", adapter: createCssAdapter(), outDir: "dist/theme", preview: true }
|
|
188
188
|
```
|
|
189
189
|
|
|
190
|
-
It reads as a style guide, not a token dump
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
190
|
+
It reads as a style guide, not a token dump. The page is a light **paper** and each plate a
|
|
191
|
+
**card**: a masthead in your theme's own first palette with headline counts (including a WCAG pass
|
|
192
|
+
ratio), an index that is the shape of the theme, one card per colour family with a large base
|
|
193
|
+
swatch and its lightness ladder, the type ramp set in its own sizes, spacing as a measure *and* an
|
|
194
|
+
applied inset, a **state matrix** per recipe, and a copy-on-click identifier beside every specimen.
|
|
195
|
+
Sections appear only when the theme has tokens of that kind.
|
|
196
|
+
|
|
197
|
+
Two things follow from what refract knows: every value is tagged **src** or **gen** — authored by
|
|
198
|
+
you, or synthesised by refract — and the sheet is deliberately **light-only**, because colour can't
|
|
199
|
+
be judged against a moving backdrop. The appearance control moves the specimen, not the sheet.
|
|
195
200
|
|
|
196
201
|
Token plates render from the format-neutral token export, so **every** adapter gets them. Live
|
|
197
202
|
recipe plates additionally need output a browser can load as-is, which today means CSS; an
|