@weasel-js/theme 1.4.2 → 1.4.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/fonts/README.md +6 -0
- package/package.json +1 -1
package/fonts/README.md
CHANGED
|
@@ -11,6 +11,12 @@ third-party host at runtime.
|
|
|
11
11
|
Loading them is opt-in: `import '@weasel-js/theme/fonts.css'`. Skip it and the
|
|
12
12
|
token font stacks fall back to `system-ui`.
|
|
13
13
|
|
|
14
|
+
**Not opt-in through labkit.** `@weasel-js/labkit` concatenates these
|
|
15
|
+
`@font-face` rules into its one `dist/styles.css` and copies both `.woff2`
|
|
16
|
+
files to `dist/fonts/`, so a lab renders in them without importing anything
|
|
17
|
+
here. Renaming or dropping a face changes what a consumer's text looks like
|
|
18
|
+
with no error anywhere.
|
|
19
|
+
|
|
14
20
|
## Tooling
|
|
15
21
|
|
|
16
22
|
Both commands need `fontTools` **with the Brotli extension** — without it,
|