@vttforge/styles 0.3.1 → 0.3.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.
- package/CHANGELOG.md +6 -0
- package/README.md +15 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @vttforge/styles
|
|
2
2
|
|
|
3
|
+
## 0.3.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 578ba31: Bring the package READMEs in line with what shipped. `core`, `styles`, `types` and `vite-plugin` still described themselves as v0.0.1 placeholders with "planned" features; `cli` did not mention `audit`.
|
|
8
|
+
|
|
3
9
|
## 0.3.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
CSS-only package: design tokens, scoped reset, base styles, sheet primitives, and opt-in themes. Built on [CSS Cascade Layers](https://developer.mozilla.org/en-US/docs/Web/CSS/@layer) for predictable composition with Foundry v13's own layer order.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
```bash
|
|
6
|
+
pnpm add @vttforge/styles
|
|
7
|
+
```
|
|
6
8
|
|
|
7
9
|
## Usage
|
|
8
10
|
|
|
@@ -25,6 +27,18 @@ Cherry-pick:
|
|
|
25
27
|
@import '@vttforge/styles/components.css';
|
|
26
28
|
```
|
|
27
29
|
|
|
30
|
+
Opt-in theme:
|
|
31
|
+
|
|
32
|
+
```css
|
|
33
|
+
@import '@vttforge/styles/themes/forge.css';
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
The tokens are also published as data — `@vttforge/styles/tokens.json` — for anything that is not CSS.
|
|
37
|
+
|
|
28
38
|
## Layer names
|
|
29
39
|
|
|
30
40
|
VTTForge uses a vendored prefix: `vttforge.tokens`, `vttforge.reset`, `vttforge.base`, `vttforge.components`. Foundry v13 owns the top-level layer names (`reset, variables, elements, blocks, applications, …, system, modules`) and auto-wraps system manifest CSS in its `system` layer.
|
|
41
|
+
|
|
42
|
+
## See it
|
|
43
|
+
|
|
44
|
+
The design system page shows every token and primitive: <https://vttforge.dev/design-system/>.
|