uniweb 0.8.11 → 0.8.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uniweb",
3
- "version": "0.8.11",
3
+ "version": "0.8.12",
4
4
  "description": "Create structured Vite + React sites with content/code separation",
5
5
  "type": "module",
6
6
  "bin": {
@@ -41,11 +41,11 @@
41
41
  "js-yaml": "^4.1.0",
42
42
  "prompts": "^2.4.2",
43
43
  "tar": "^7.0.0",
44
- "@uniweb/build": "0.8.10",
44
+ "@uniweb/build": "0.8.11",
45
+ "@uniweb/core": "0.5.8",
45
46
  "@uniweb/content-reader": "1.1.4",
46
- "@uniweb/core": "0.5.7",
47
- "@uniweb/runtime": "0.6.7",
48
- "@uniweb/kit": "0.7.7",
47
+ "@uniweb/kit": "0.7.8",
48
+ "@uniweb/runtime": "0.6.8",
49
49
  "@uniweb/semantic-parser": "1.1.5"
50
50
  }
51
51
  }
@@ -475,14 +475,12 @@ export default function Grid({ block, params }) {
475
475
 
476
476
  Set `background` in frontmatter — the runtime renders it automatically:
477
477
 
478
- > **FIXME:** var(--primary-900) should be primary-900, right?
479
-
480
478
  ```yaml
481
479
  background: /images/hero.jpg # Image
482
480
  background: /videos/hero.mp4 # Video
483
481
  background: linear-gradient(135deg, #667eea, #764ba2) # Gradient
484
482
  background: '#1a1a2e' # Color (hex — quote in YAML)
485
- background: var(--primary-900) # CSS variable
483
+ background: primary-900 # Palette token (bare name or var())
486
484
  ```
487
485
 
488
486
  Object form for more control: