@meetreeve/ui 0.22.0 → 0.24.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/dist/tokens.css CHANGED
@@ -32,32 +32,34 @@
32
32
  * Chart tokens (@meetreeve/ui/charts, DEV-17042). Every chart colour reads one
33
33
  * of these; components contain no hex. In a base layer so a host's own
34
34
  * (unlayered) :root / .dark values win — set them to re-skin every chart in
35
- * the brand's colours. Defaults are the Reeve palette.
35
+ * the brand's colours. Defaults are brandTheme(reevePreset)'s --chart-* from
36
+ * @meetreeve/ui/theme (DEV-17886), pinned by theme/brand-theme.test.ts:
37
+ * neutral-first, series 1 the Reeve orange, the rest ink/slate steps.
36
38
  */
37
39
  @layer base {
38
40
  :root {
39
- --chart-1: #7c3aed;
40
- --chart-2: #14b8a6;
41
- --chart-3: #f59e0b;
42
- --chart-4: #f43f5e;
43
- --chart-5: #06b6d4;
44
- --chart-6: #a78bfa;
45
- --chart-7: #2dd4bf;
46
- --chart-8: #fbbf24;
41
+ --chart-1: #c2410c;
42
+ --chart-2: #1d3557;
43
+ --chart-3: #64748b;
44
+ --chart-4: #94a3b8;
45
+ --chart-5: #cbd5e1;
46
+ --chart-6: #475569;
47
+ --chart-7: #ff9b5c;
48
+ --chart-8: #0d1b2a;
47
49
  --chart-positive: #059669;
48
50
  --chart-negative: #e11d48;
49
51
  --chart-grid: var(--border);
50
52
  --chart-muted: var(--muted-foreground);
51
53
  }
52
54
  .dark {
53
- --chart-1: #8b5cf6;
54
- --chart-2: #2dd4bf;
55
- --chart-3: #fbbf24;
56
- --chart-4: #fb7185;
57
- --chart-5: #22d3ee;
58
- --chart-6: #c4b5fd;
59
- --chart-7: #5eead4;
60
- --chart-8: #fde68a;
55
+ --chart-1: #ff6b2b;
56
+ --chart-2: #edf2f4;
57
+ --chart-3: #a3b1c6;
58
+ --chart-4: #64748b;
59
+ --chart-5: #3a5270;
60
+ --chart-6: #8d99ae;
61
+ --chart-7: #ff9b5c;
62
+ --chart-8: #1d3557;
61
63
  --chart-positive: #34d399;
62
64
  --chart-negative: #fb7185;
63
65
  /* Re-declared so they resolve against the dark --border / --muted-foreground
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@meetreeve/ui",
3
- "version": "0.22.0",
4
- "description": "Shared brand-adaptive UI primitives for MindFortress frontends — min-size tokens, a favicon→logo→monogram BrandGlyph, a responsive header that keeps the search bar usable on mobile, AppSidebar's viewport-driven auto-collapse ladder, the StageRail flow-of-cards primitives, the tenant SiteFooter, the LockedValue/LockedBlock/UnlockCta paywall primitives, and the @meetreeve/ui/charts dashboard kit (token-driven charts, KpiCard, ChartCard, DashboardGrid).",
3
+ "version": "0.24.0",
4
+ "description": "Shared brand-adaptive UI primitives for MindFortress frontends — min-size tokens, a favicon→logo→monogram BrandGlyph, a responsive header that keeps the search bar usable on mobile, AppSidebar's viewport-driven auto-collapse ladder, the StageRail flow-of-cards primitives, the tenant SiteFooter, the LockedValue/LockedBlock/UnlockCta paywall primitives, the @meetreeve/ui/charts dashboard kit (token-driven charts, KpiCard, ChartCard, DashboardGrid), and @meetreeve/ui/theme (brandTheme: one brand's inputs to contrast-checked light and dark semantic tokens, with the Reeve preset).",
5
5
  "license": "UNLICENSED",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.mjs",
@@ -37,6 +37,11 @@
37
37
  "import": "./dist/charts/index.mjs",
38
38
  "require": "./dist/charts/index.js"
39
39
  },
40
+ "./theme": {
41
+ "types": "./dist/theme/index.d.ts",
42
+ "import": "./dist/theme/index.mjs",
43
+ "require": "./dist/theme/index.js"
44
+ },
40
45
  "./tokens.css": "./dist/tokens.css"
41
46
  },
42
47
  "files": [