@vttforge/styles 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.
Files changed (3) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +17 -3
  3. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @vttforge/styles
2
2
 
3
+ ## 0.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 7eeeb20: Rewrite the npm package descriptions to say what each package does today. `types` claimed full schema inference it does not have, `vite-plugin` claimed Handlebars HMR that lives in the dev loop, and `cli` did not mention `audit`.
8
+
9
+ ## 0.3.2
10
+
11
+ ### Patch Changes
12
+
13
+ - 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`.
14
+
3
15
  ## 0.3.1
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -2,17 +2,19 @@
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
- > **Status:** v0.0.1 placeholder. Token contract finalizes in v0.1.0 once Foundry v13+ `CONST.CSS_THEMES` is wired in.
5
+ ```bash
6
+ pnpm add @vttforge/styles
7
+ ```
6
8
 
7
9
  ## Usage
8
10
 
9
- Default one import, sub-layered:
11
+ Default, one import, sub-layered:
10
12
 
11
13
  ```css
12
14
  @import '@vttforge/styles';
13
15
  ```
14
16
 
15
- Mantine-style wrap everything in a single `@layer vttforge`:
17
+ Or wrap everything in a single `@layer vttforge`:
16
18
 
17
19
  ```css
18
20
  @import '@vttforge/styles/styles.layer.css';
@@ -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/>.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vttforge/styles",
3
- "version": "0.3.1",
4
- "description": "VTTForge base CSS layer: design tokens, reset, base, components, opt-in themes (CSS Cascade Layers).",
3
+ "version": "0.3.3",
4
+ "description": "VTTForge design system as CSS: tokens, reset, base, components and opt-in themes over cascade layers.",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/vttforge/vttforge#readme",