@makoai/app-sdk 2.7.0 → 2.7.1

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/index.js +2 -13
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -503,7 +503,8 @@ export function useSearchParams() {
503
503
  // defaults and every styled app pasted the same ~90-line override block.
504
504
  //
505
505
  // Added on top of the v1 names: --brand, --canvas (the page behind cards),
506
- // --positive / --warning / --negative (status tones). Prepended to <head> so
506
+ // --positive / --warning / --negative (status tones). --brand, --ring and
507
+ // --chart-N are the same in light and dark, exactly as the house apps had them. Prepended to <head> so
507
508
  // any app stylesheet still overrides it, keyed by id so double-imports no-op,
508
509
  // dark on :root.dark (the v1 toggle) plus the system preference.
509
510
  // ---------------------------------------------------------------------------
@@ -560,15 +561,9 @@ export const MAKO_THEME_TOKENS_CSS = `:root {
560
561
  --destructive-foreground: hsl(0 0% 98%);
561
562
  --border: hsl(28 7% 24%);
562
563
  --input: hsl(28 7% 24%);
563
- --brand: #6f94f6;
564
564
  --positive: hsl(158 48% 52%);
565
565
  --warning: hsl(36 85% 60%);
566
566
  --negative: hsl(0 75% 66%);
567
- --chart-1: #6f94f6;
568
- --chart-2: hsl(158 48% 52%);
569
- --chart-3: hsl(36 85% 60%);
570
- --chart-4: hsl(262 60% 70%);
571
- --chart-5: hsl(0 75% 66%);
572
567
  }
573
568
  @media (prefers-color-scheme: dark) {
574
569
  :root:not(.light) {
@@ -591,15 +586,9 @@ export const MAKO_THEME_TOKENS_CSS = `:root {
591
586
  --destructive-foreground: hsl(0 0% 98%);
592
587
  --border: hsl(28 7% 24%);
593
588
  --input: hsl(28 7% 24%);
594
- --brand: #6f94f6;
595
589
  --positive: hsl(158 48% 52%);
596
590
  --warning: hsl(36 85% 60%);
597
591
  --negative: hsl(0 75% 66%);
598
- --chart-1: #6f94f6;
599
- --chart-2: hsl(158 48% 52%);
600
- --chart-3: hsl(36 85% 60%);
601
- --chart-4: hsl(262 60% 70%);
602
- --chart-5: hsl(0 75% 66%);
603
592
  }
604
593
  }
605
594
  body { background: var(--background); color: var(--foreground); }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@makoai/app-sdk",
3
- "version": "2.7.0",
3
+ "version": "2.7.1",
4
4
  "description": "Mako app SDK: data bindings (useQuery/useDuckDB), URL state, theme, and the house dashboard kit (/ui).",
5
5
  "license": "MIT",
6
6
  "repository": {