@ashley-shrok/viewmodel-shell 1.2.0 → 1.3.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/styles/default.css +11 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ashley-shrok/viewmodel-shell",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "A server-driven UI framework where the wire format is structured enough that agents can build full-stack apps without ever opening a browser and all UI tests are pure unit tests with no browser runtime. Server returns a JSON tree of typed nodes; a thin TypeScript adapter renders it to DOM. Backend-agnostic — a .NET reference backend ships with the repo, but any language can produce the JSON contract.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -49,13 +49,17 @@
49
49
  --vms-space-md: 1rem;
50
50
  --vms-space-lg: 1.5rem;
51
51
  --vms-space-xl: 2.25rem;
52
- /* Type scale — all rem, modular ~1.2, base --vms-text-base 0.8125rem (D-06/D-09) */
53
- --vms-text-xs: 0.6875rem;
54
- --vms-text-sm: 0.75rem;
55
- --vms-text-base: 0.8125rem;
56
- --vms-text-md: 0.875rem;
57
- --vms-text-lg: 1rem;
58
- --vms-text-xl: 1.375rem;
52
+ /* Type scale — all rem, base --vms-text-base 0.875rem (14px) aligning with
53
+ modern dense-productivity UI norms (Linear, Notion, GitHub). Bumped from
54
+ the pre-1.3.0 desktop-app-density scale (base 0.8125rem / 13px) which read
55
+ as small on web/launcher pages. To pin the prior scale per-app, override
56
+ all seven tokens in your app stylesheet — see MIGRATION.md § 1.3.0. */
57
+ --vms-text-xs: 0.75rem;
58
+ --vms-text-sm: 0.8125rem;
59
+ --vms-text-base: 0.875rem;
60
+ --vms-text-md: 1rem;
61
+ --vms-text-lg: 1.125rem;
62
+ --vms-text-xl: 1.5rem;
59
63
  --vms-text-2xl: 2.25rem;
60
64
  /* Page shell (D-12) — additive override seam (issue #13); host/theme-retunable
61
65
  via a single :root{} override imported after the theme. The two width