@squadbase/vantage-template 0.1.1-dev1.3f269fd → 0.1.1-dev1.40460e8
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/README.md +12 -2
- package/base-template/.squadbase/skills/vantage-add-feature/SKILL.md +9 -7
- package/base-template/.squadbase/skills/vantage-app/SKILL.md +10 -6
- package/base-template/.squadbase/skills/vantage-design/SKILL.md +60 -52
- package/base-template/.squadbase/skills/vantage-design/references/extract.md +26 -27
- package/base-template/.squadbase/skills/vantage-design/references/format.md +12 -172
- package/base-template/.squadbase/skills/vantage-design/references/presets.md +50 -110
- package/base-template/.squadbase/skills/vantage-pitfalls/SKILL.md +50 -1
- package/base-template/.squadbase/skills/vantage-slide/SKILL.md +299 -0
- package/base-template/.squadbase/skills/vantage-slide/references/morph.md +102 -0
- package/base-template/.squadbase/skills/vantage-slide/references/steps.md +57 -0
- package/base-template/.squadbase/skills/vantage-slide/references/tokens.md +87 -0
- package/base-template/.squadbase/skills/vantage-slide/references/transitions.md +196 -0
- package/base-template/AGENTS.md +118 -20
- package/base-template/agents/csv.md +2 -1
- package/base-template/agents/doc.md +52 -3
- package/base-template/agents/page.md +53 -8
- package/base-template/agents/slide.md +77 -3
- package/base-template/agents/xlsx.md +2 -1
- package/base-template/bun.lock +24 -24
- package/base-template/bunfig.toml +5 -0
- package/base-template/package.json +2 -2
- package/base-template/src/_layout.tsx +13 -6
- package/base-template/src/components/build-recovery.tsx +37 -1
- package/base-template/src/components/user-card.tsx +11 -11
- package/base-template/src/index.tsx +1 -1
- package/base-template/src/styles.css +105 -18
- package/dist/index.js +956 -0
- package/package.json +20 -17
- package/ui-templates/CLAUDE.md +2 -0
- package/ui-templates/kpi-chart-simple/pages/index.tsx +47 -47
- package/ui-templates/kpi-chart-simple-ja/pages/index.tsx +47 -47
- package/base-template/DESIGN.md +0 -108
|
@@ -68,7 +68,7 @@ const CHARTS = [
|
|
|
68
68
|
export default function HomePage() {
|
|
69
69
|
// `data-vantage-sample` marks this page as the untouched template sample (the coding
|
|
70
70
|
// agent looks for it). Remove it together with the sample content.
|
|
71
|
-
const sampleNote =
|
|
71
|
+
const sampleNote = document.documentElement.lang.startsWith("ja")
|
|
72
72
|
? "サンプルデータです。お手元のデータに置き換えて始めましょう。"
|
|
73
73
|
: "Sample data — replace with your own to get started."
|
|
74
74
|
|
|
@@ -17,30 +17,117 @@
|
|
|
17
17
|
/* --radius: 0.625rem; */
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
/* Page typeface.
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
/* Page typeface. `--font-sans` (Vantage theme.css, overridable by the theme range
|
|
21
|
+
below or here) already lists Latin system faces and then Japanese ones, so kana
|
|
22
|
+
and kanji do not fall back to a thin locale default. Change the typeface by
|
|
23
|
+
overriding `--font-sans`; keep the Japanese families if you put a webfont in
|
|
24
|
+
front. */
|
|
23
25
|
body {
|
|
24
|
-
font-family:
|
|
25
|
-
ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Sans",
|
|
26
|
-
"Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
|
|
26
|
+
font-family: var(--font-sans);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
/*
|
|
29
|
+
/* squadkit-theme — regenerated by `theme`; edits here are lost */
|
|
30
|
+
/* theme: neutral */
|
|
30
31
|
:root {
|
|
31
|
-
--
|
|
32
|
-
--
|
|
33
|
-
--
|
|
34
|
-
--
|
|
35
|
-
--
|
|
32
|
+
--radius: 0.5rem;
|
|
33
|
+
--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, ui-sans-serif, system-ui, sans-serif;
|
|
34
|
+
--background: oklch(0.975 0.004 255);
|
|
35
|
+
--card: oklch(1 0 0);
|
|
36
|
+
--popover: oklch(1 0 0);
|
|
37
|
+
--secondary: oklch(0.965 0.005 255);
|
|
38
|
+
--muted: oklch(0.965 0.005 255);
|
|
39
|
+
--accent: oklch(0.955 0.01 255);
|
|
40
|
+
--sidebar: oklch(0.985 0.003 255);
|
|
41
|
+
--sidebar-accent: oklch(0.955 0.01 255);
|
|
42
|
+
--border: oklch(0.93 0.006 255);
|
|
43
|
+
--input: oklch(0.9 0.01 255);
|
|
44
|
+
--sidebar-border: oklch(0.915 0.008 255);
|
|
45
|
+
--foreground: oklch(0.21 0.02 260);
|
|
46
|
+
--card-foreground: oklch(0.21 0.02 260);
|
|
47
|
+
--popover-foreground: oklch(0.21 0.02 260);
|
|
48
|
+
--secondary-foreground: oklch(0.25 0.02 260);
|
|
49
|
+
--muted-foreground: oklch(0.5 0.02 258);
|
|
50
|
+
--accent-foreground: oklch(0.25 0.02 260);
|
|
51
|
+
--sidebar-foreground: oklch(0.21 0.02 260);
|
|
52
|
+
--sidebar-accent-foreground: oklch(0.25 0.02 260);
|
|
53
|
+
--primary: oklch(0.55 0.2 262);
|
|
54
|
+
--primary-foreground: oklch(0.985 0 0);
|
|
55
|
+
--ring: oklch(0.7 0.12 262);
|
|
56
|
+
--sidebar-primary: oklch(0.55 0.2 262);
|
|
57
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
58
|
+
--sidebar-ring: oklch(0.7 0.12 262);
|
|
59
|
+
--chart-1: oklch(0.55 0.2 262);
|
|
60
|
+
--chart-2: oklch(0.62 0.17 118);
|
|
61
|
+
--chart-3: oklch(0.5 0.19 352);
|
|
62
|
+
--chart-4: oklch(0.62 0.1 195);
|
|
63
|
+
--chart-5: oklch(0.44 0.18 300);
|
|
64
|
+
--positive: oklch(0.52 0.14 150);
|
|
65
|
+
--positive-subtle: oklch(0.96 0.04 150);
|
|
66
|
+
--positive-fill: oklch(0.62 0.15 150);
|
|
67
|
+
--negative: oklch(0.53 0.19 25);
|
|
68
|
+
--negative-subtle: oklch(0.96 0.03 25);
|
|
69
|
+
--negative-fill: oklch(0.62 0.17 25);
|
|
70
|
+
--warning: oklch(0.53 0.12 70);
|
|
71
|
+
--warning-subtle: oklch(0.96 0.05 85);
|
|
72
|
+
--warning-fill: oklch(0.79 0.16 82);
|
|
73
|
+
--info: oklch(0.52 0.16 255);
|
|
74
|
+
--info-subtle: oklch(0.96 0.03 250);
|
|
75
|
+
--info-fill: oklch(0.62 0.15 250);
|
|
76
|
+
--neutral: oklch(0.52 0 0);
|
|
77
|
+
--neutral-subtle: oklch(0.96 0 0);
|
|
78
|
+
--neutral-fill: oklch(0.62 0 0);
|
|
79
|
+
--destructive: oklch(0.53 0.21 27.325);
|
|
80
|
+
--destructive-foreground: oklch(0.985 0 0);
|
|
36
81
|
}
|
|
37
82
|
|
|
38
83
|
.dark,
|
|
39
84
|
[data-theme="dark"] {
|
|
40
|
-
--
|
|
41
|
-
--
|
|
42
|
-
--
|
|
43
|
-
--
|
|
44
|
-
--
|
|
85
|
+
--background: oklch(0.16 0.012 262);
|
|
86
|
+
--card: oklch(0.215 0.015 262);
|
|
87
|
+
--popover: oklch(0.235 0.016 262);
|
|
88
|
+
--secondary: oklch(0.27 0.016 262);
|
|
89
|
+
--muted: oklch(0.27 0.016 262);
|
|
90
|
+
--accent: oklch(0.3 0.02 262);
|
|
91
|
+
--sidebar: oklch(0.2 0.014 262);
|
|
92
|
+
--sidebar-accent: oklch(0.3 0.02 262);
|
|
93
|
+
--border: oklch(1 0 0 / 10%);
|
|
94
|
+
--input: oklch(1 0 0 / 15%);
|
|
95
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
96
|
+
--foreground: oklch(0.96 0.005 255);
|
|
97
|
+
--card-foreground: oklch(0.96 0.005 255);
|
|
98
|
+
--popover-foreground: oklch(0.96 0.005 255);
|
|
99
|
+
--secondary-foreground: oklch(0.96 0.005 255);
|
|
100
|
+
--muted-foreground: oklch(0.72 0.02 258);
|
|
101
|
+
--accent-foreground: oklch(0.96 0.005 255);
|
|
102
|
+
--sidebar-foreground: oklch(0.96 0.005 255);
|
|
103
|
+
--sidebar-accent-foreground: oklch(0.96 0.005 255);
|
|
104
|
+
--primary: oklch(0.68 0.19 262);
|
|
105
|
+
--primary-foreground: oklch(0.145 0.02 262);
|
|
106
|
+
--ring: oklch(0.6 0.15 262);
|
|
107
|
+
--sidebar-primary: oklch(0.68 0.19 262);
|
|
108
|
+
--sidebar-primary-foreground: oklch(0.145 0.02 262);
|
|
109
|
+
--sidebar-ring: oklch(0.6 0.15 262);
|
|
110
|
+
--chart-1: oklch(0.56 0.19 262);
|
|
111
|
+
--chart-2: oklch(0.75 0.17 118);
|
|
112
|
+
--chart-3: oklch(0.64 0.19 352);
|
|
113
|
+
--chart-4: oklch(0.78 0.105 195);
|
|
114
|
+
--chart-5: oklch(0.71 0.17 300);
|
|
115
|
+
--positive: oklch(0.76 0.15 150);
|
|
116
|
+
--positive-subtle: oklch(0.27 0.05 150);
|
|
117
|
+
--positive-fill: oklch(0.56 0.13 150);
|
|
118
|
+
--negative: oklch(0.74 0.15 22);
|
|
119
|
+
--negative-subtle: oklch(0.27 0.06 25);
|
|
120
|
+
--negative-fill: oklch(0.56 0.15 22);
|
|
121
|
+
--warning: oklch(0.8 0.14 80);
|
|
122
|
+
--warning-subtle: oklch(0.27 0.05 75);
|
|
123
|
+
--warning-fill: oklch(0.73 0.145 78);
|
|
124
|
+
--info: oklch(0.75 0.12 250);
|
|
125
|
+
--info-subtle: oklch(0.27 0.06 255);
|
|
126
|
+
--info-fill: oklch(0.56 0.13 250);
|
|
127
|
+
--neutral: oklch(0.85 0 0);
|
|
128
|
+
--neutral-subtle: oklch(0.27 0 0);
|
|
129
|
+
--neutral-fill: oklch(0.56 0 0);
|
|
130
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
131
|
+
--destructive-foreground: oklch(0.145 0.02 262);
|
|
45
132
|
}
|
|
46
|
-
/*
|
|
133
|
+
/* squadkit-theme:end */
|