@zooui/theme-forest 0.1.0 → 0.2.0

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 CHANGED
@@ -135,7 +135,7 @@ JetBrains Mono. Its own conflict checks can sit beside `findConflicts`.
135
135
 
136
136
  ## Colored edges
137
137
 
138
- `@zooui/nuxt` gives cards and overlays a 3px edge in their color ([its colored edges](https://github.com/zooui-dev/zooui/blob/main/packages/nuxt/README.md#colored-edges)).
138
+ `@zooui/nuxt` gives cards and overlays a 3px edge in their color ([its colored edges](https://github.com/zooui-dev/zooui/blob/main/packages/nuxt/docs/accents-and-edges.md#colored-edges)).
139
139
  Forest adds the same edge to the two surfaces Nuxt UI already colors, through `app.config.ts`, so there is nothing
140
140
  new to learn:
141
141
 
@@ -184,5 +184,5 @@ giving each component as a utility string), specimen pages, and React reference
184
184
  and the scheme files (`schemes/`) with the Nuxt theme. [`design/ADOPTING.md`](design/ADOPTING.md) says which of the
185
185
  three routes to use, and why only one per app.
186
186
 
187
- Releasing is shared with the base: [`@zooui/nuxt`'s README](https://github.com/zooui-dev/zooui/blob/main/packages/nuxt/README.md#releasing). Record design source
187
+ Releasing is shared with the base: [docs/releasing.md](https://github.com/zooui-dev/zooui/blob/main/docs/releasing.md). Record design source
188
188
  changes with `changerig add -p @zooui/theme-forest`.
@@ -67,7 +67,7 @@ Corner style is an attribute, not a file: `<html data-corners="tight">`. (Not in
67
67
  ## Making a change that should reach every product
68
68
 
69
69
  1. Edit the design source's file in **this** folder — the canonical copy. Schemes and the raw ramps have one copy, in the theme's `../schemes/` (`ramps.css` for the ramps, which `tokens.css` imports): edit them there.
70
- 2. Record the change for `@zooui/theme-forest` (`changerig add -p @zooui/theme-forest`; see "Releasing" in `packages/nuxt/README.md`): the design source versions with the theme package.
70
+ 2. Record the change for `@zooui/theme-forest` (`changerig add -p @zooui/theme-forest`; see `docs/releasing.md`): the design source versions with the theme package.
71
71
  3. Non-Nuxt products take the change by upgrading `@zooui/theme-forest` and importing `@zooui/theme-forest/design/*` (or by copying `design/*.css` and `schemes/` over what's there: nothing to merge, because nobody edited them). Nuxt products take it by upgrading `@zooui/theme-forest`.
72
72
 
73
73
  Because products never fork the design source, the copy is a straight overwrite — the reason the layering rule matters more than the tooling. However you move the files (submodule, npm package, a copy script in CI, or by hand) the guarantee is the same.
package/design/readme.md CHANGED
@@ -123,7 +123,7 @@ reason), and don't tint text that already sits on a tint.
123
123
  - **Type.** Three roles, each behind a hook: **display** (`--zoo-font-display`, 500 weight, −0.025em, headlines only), **UI** (`--zoo-font-sans`; use the named weights 400/500/600 and let `font-optical-sizing: auto` use an optical-size axis where the face has one), **code** (`--zoo-font-mono`, every identifier, kicker and code block). Each role's OpenType set travels with its face in `--zoo-features-*`: Inter `normal`, JetBrains Mono `"calt" 0` (code ligatures off so pasted text reads literally); tables add tabular figures. See [Typefaces](#typefaces).
124
124
  - **Code is dark in both themes.** `--bg-code` is near-black even on the light theme. Code blocks are the signature surface; they should look like a terminal, not like a quote.
125
125
  - **Spacing.** 4px scale. Rows 40px, dense 32. Controls 32, large 40. Content max 1120.
126
- - **Radius.** 3/5/8/12 — soft, never pill-shaped. Pills only for status chips. The whole scale is driven by one dial, `--radius-scale`: leave it at `1` for soft corners, `data-corners="tight"` for half radius (1.5/2.5/4/6 — reads as a chamfer rather than a curve), or `data-corners="flat"` for square edges. Any of the three can go on `<html>` or on a single container. Two things deliberately ignore it — the status glyphs and the monogram tiles — because their shape *is* the information. The dial is the design source's, for plain-HTML and Tailwind pages: in a Nuxt product corners are Nuxt UI's `--ui-radius` (4px base, close to `tight`), set by the product if it wants squarer ones — an open decision in `packages/nuxt/README.md`.
126
+ - **Radius.** 3/5/8/12 — soft, never pill-shaped. Pills only for status chips. The whole scale is driven by one dial, `--radius-scale`: leave it at `1` for soft corners, `data-corners="tight"` for half radius (1.5/2.5/4/6 — reads as a chamfer rather than a curve), or `data-corners="flat"` for square edges. Any of the three can go on `<html>` or on a single container. Two things deliberately ignore it — the status glyphs and the monogram tiles — because their shape *is* the information. The dial is the design source's, for plain-HTML and Tailwind pages: in a Nuxt product corners are Nuxt UI's `--ui-radius` (4px base, close to `tight`), set by the product if it wants squarer ones — an open decision in `packages/nuxt/docs/testing.md`.
127
127
  - **Rules & edges.** 1px `--border`; table header rules use `--border-strong`. Elevation is an edge plus a soft ambient shadow, never stacked shadows.
128
128
  - **The hatch.** `--hatch` (45° 1px stripes in `currentColor`) is the one texture: a consumed meter, a notice's left edge, a blocked region. It reads as “filled” without relying on color.
129
129
  - **Status by shape.** Circle = healthy, triangle = near limit, square = stopped, dashed ring = unreachable, hollow ring = quiet. Color reinforces; shape carries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zooui/theme-forest",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Forest, a Zoo UI theme: a Nuxt layer that extends @zooui/nuxt with Forest's colors, page ground, typefaces (Inter and JetBrains Mono, self-hosted), accent schemes and component styling. A product extends this one layer for Zoo UI and the theme together.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -32,7 +32,7 @@
32
32
  "dependencies": {
33
33
  "@fontsource-variable/inter": "^5.3.0",
34
34
  "@fontsource-variable/jetbrains-mono": "^5.3.0",
35
- "@zooui/nuxt": "0.1.0"
35
+ "@zooui/nuxt": "0.2.0"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "nuxt": "^4.1.0",