@squadbase/vantage 0.6.2-dev1.5aae04e → 0.6.2-dev1.83509f7
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/{chunk-XPQSTZUU.js → chunk-7S52M2SL.js} +4 -3
- package/dist/chunk-7S52M2SL.js.map +1 -0
- package/dist/{chunk-HKSVYMYJ.js → chunk-MYHFZYS4.js} +168 -82
- package/dist/chunk-MYHFZYS4.js.map +1 -0
- package/dist/components/index.js +2 -2
- package/dist/table/index.js +2 -2
- package/dist/ui/index.d.ts +4 -1
- package/dist/ui/index.js +3 -3
- package/dist/ui/index.js.map +1 -1
- package/package.json +2 -2
- package/registry/ui/area-chart.tsx +45 -19
- package/registry/ui/bar-chart.tsx +45 -19
- package/registry/ui/bar-list.tsx +44 -17
- package/registry/ui/box-plot-chart.tsx +45 -19
- package/registry/ui/category-bar.tsx +44 -17
- package/registry/ui/chart-frame.tsx +44 -17
- package/registry/ui/delta.tsx +4 -4
- package/registry/ui/donut-chart.tsx +46 -19
- package/registry/ui/echart.tsx +171 -54
- package/registry/ui/heatmap.tsx +45 -19
- package/registry/ui/histogram-chart.tsx +45 -19
- package/registry/ui/legend.tsx +44 -17
- package/registry/ui/line-chart.tsx +45 -19
- package/registry/ui/page-shell.tsx +7 -7
- package/registry/ui/paired-chart.tsx +45 -19
- package/registry/ui/sample-data.tsx +1 -1
- package/registry/ui/scatter-chart.tsx +45 -19
- package/registry/ui/slider.tsx +1 -1
- package/registry/ui/status-badge.tsx +8 -8
- package/registry/ui/tooltip.tsx +6 -2
- package/registry/ui/tracker.tsx +9 -3
- package/registry/ui/trend-indicator.tsx +2 -2
- package/registry/ui/waterfall-chart.tsx +45 -19
- package/skills/vantage-design/SKILL.md +27 -25
- package/skills/vantage-design/references/extract.md +16 -14
- package/skills/vantage-design/references/format.md +6 -5
- package/skills/vantage-design/references/presets.md +60 -110
- package/theme.css +13 -12
- package/dist/chunk-HKSVYMYJ.js.map +0 -1
- package/dist/chunk-XPQSTZUU.js.map +0 -1
package/theme.css
CHANGED
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
sans-serif;
|
|
63
63
|
|
|
64
64
|
--chart-1: oklch(0.55 0.2 262);
|
|
65
|
-
--chart-2: oklch(0.
|
|
66
|
-
--chart-3: oklch(0.
|
|
67
|
-
--chart-4: oklch(0.
|
|
68
|
-
--chart-5: oklch(0.
|
|
65
|
+
--chart-2: oklch(0.62 0.17 118);
|
|
66
|
+
--chart-3: oklch(0.5 0.19 352);
|
|
67
|
+
--chart-4: oklch(0.62 0.1 195);
|
|
68
|
+
--chart-5: oklch(0.44 0.18 300);
|
|
69
69
|
|
|
70
70
|
/* Semantic status tokens — see the contract above the `@theme inline` block. */
|
|
71
71
|
--positive: oklch(0.52 0.14 150);
|
|
@@ -115,16 +115,16 @@
|
|
|
115
115
|
--accent: oklch(0.3 0.02 262);
|
|
116
116
|
--accent-foreground: oklch(0.96 0.005 255);
|
|
117
117
|
--destructive: oklch(0.704 0.191 22.216);
|
|
118
|
-
--destructive-foreground: oklch(0.
|
|
118
|
+
--destructive-foreground: oklch(0.145 0.02 262);
|
|
119
119
|
--border: oklch(1 0 0 / 10%);
|
|
120
120
|
--input: oklch(1 0 0 / 15%);
|
|
121
121
|
--ring: oklch(0.6 0.15 262);
|
|
122
122
|
|
|
123
|
-
--chart-1: oklch(0.
|
|
124
|
-
--chart-2: oklch(0.
|
|
125
|
-
--chart-3: oklch(0.
|
|
126
|
-
--chart-4: oklch(0.
|
|
127
|
-
--chart-5: oklch(0.
|
|
123
|
+
--chart-1: oklch(0.56 0.19 262);
|
|
124
|
+
--chart-2: oklch(0.75 0.17 118);
|
|
125
|
+
--chart-3: oklch(0.64 0.19 352);
|
|
126
|
+
--chart-4: oklch(0.78 0.105 195);
|
|
127
|
+
--chart-5: oklch(0.71 0.17 300);
|
|
128
128
|
|
|
129
129
|
--positive: oklch(0.76 0.15 150);
|
|
130
130
|
--positive-subtle: oklch(0.27 0.05 150);
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
--sidebar: oklch(0.2 0.014 262);
|
|
146
146
|
--sidebar-foreground: oklch(0.96 0.005 255);
|
|
147
147
|
--sidebar-primary: oklch(0.68 0.19 262);
|
|
148
|
-
--sidebar-primary-foreground: oklch(0.
|
|
148
|
+
--sidebar-primary-foreground: oklch(0.145 0.02 262);
|
|
149
149
|
--sidebar-accent: oklch(0.3 0.02 262);
|
|
150
150
|
--sidebar-accent-foreground: oklch(0.96 0.005 255);
|
|
151
151
|
--sidebar-border: oklch(1 0 0 / 10%);
|
|
@@ -162,7 +162,8 @@
|
|
|
162
162
|
text or icons — use --<tone>. Same lightness step from the page in both
|
|
163
163
|
modes (light 0.62 / dark 0.56: ~0.36-0.40 OKLCH L away from --background,
|
|
164
164
|
>= 3:1 against --background and --card), so a fill is never strong in one
|
|
165
|
-
mode and faint in the other. Presets
|
|
165
|
+
mode and faint in the other. Presets may tune hue and chroma within the
|
|
166
|
+
status bands while preserving contrast and fill strength (tests/theme-presets.test.ts).
|
|
166
167
|
--warning-fill is the exception: amber (light 0.79 / dark 0.73, ~#f5b324 / ~#d99a1e) is
|
|
167
168
|
a light colour by nature, so it is ~2:1 on the light page (still >= 0.18 L away)
|
|
168
169
|
and ~7-8:1 on the dark one; dark text (--foreground in light, --background in dark) sits on it at >= 4.5:1.
|