@matteoaliano/forest-ui 0.2.3 → 0.2.5

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.
@@ -1,5 +1,7 @@
1
1
  # Forest UI — Default Theme Guidelines
2
2
 
3
+ > **forest-ui v0.2.5**
4
+
3
5
  > **This file is synced by the `forest-ui` package.**
4
6
  > Run `npx forest-ui sync` to update it.
5
7
 
@@ -11,11 +13,11 @@
11
13
 
12
14
  | Context | Token | Value | Usage |
13
15
  |---|---|---|---|
14
- | **Page background** | `bg.primary` | `#ffffff` | Default background for every page and top-level layout. All root containers (`<body>`, app shell, page wrappers) must use this token. |
15
- | **Page background (alt)** | `bg.primaryAlt` | `#ffffff` | Alias available when a future theme overrides the primary page bg. Use interchangeably with `bg.primary` in layouts. |
16
+ | **Page background** | `bg.primary` | `#f9fafb` (Gray 50) | Default background for every page and top-level layout. All root containers (`<body>`, app shell, page wrappers) must use this token. |
17
+ | **Page background (alt)** | `bg.primaryAlt` | `#f9fafb` (Gray 50) | Alias available when a future theme overrides the primary page bg. Use interchangeably with `bg.primary` in layouts. |
16
18
 
17
19
  > [!IMPORTANT]
18
- > Every page **must** set its root background to `bg.primary`. Never hard-code `#ffffff` or any other color — always reference the semantic token so themes can override it.
20
+ > Every page **must** set its root background to `bg.primary`. Never hard-code `#f9fafb` or any other color — always reference the semantic token so themes can override it.
19
21
 
20
22
  ### Surface Hierarchy
21
23
 
@@ -24,7 +26,7 @@ Use progressively deeper background tokens to create visual depth between nested
24
26
  | Level | Token | Typical Use |
25
27
  |---|---|---|
26
28
  | 0 — Page | `bg.primary` | Page canvas, app shell |
27
- | 1 — Section | `bg.secondary` / `bg.secondaryAlt` | Sidebar panels, section stripes, cards on white |
29
+ | 1 — Elevated surface | `bg.secondary` / `bg.secondaryAlt` | Cards, papers, sidebar panels white surfaces that sit on top of the gray page canvas |
28
30
  | 1 — Section (subtle) | `bg.secondarySubtle` | Very light tinted sections (e.g., feature highlight rows) |
29
31
  | 2 — Inset | `bg.tertiary` | Nested panels, code blocks, table header rows |
30
32
  | 3 — Deepest inset | `bg.quaternary` | Skeleton loaders, deeply nested containers |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matteoaliano/forest-ui",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "description": "Forest Design System — themed MUI components",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",