@helloleo/plugins 0.1.14 → 0.1.15
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/index.js +197 -469
- package/dist/templates/tanstack-router-2026-06-15/components.json +22 -0
- package/dist/templates/tanstack-router-2026-06-15/index.html +13 -0
- package/dist/templates/tanstack-router-2026-06-15/package.json +94 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/accordion.tsx +51 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/alert-dialog.tsx +115 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/alert.tsx +49 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/aspect-ratio.tsx +5 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/avatar.tsx +47 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/badge.tsx +32 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/breadcrumb.tsx +101 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/button.tsx +49 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/calendar.tsx +177 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/card.tsx +55 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/carousel.tsx +240 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/chart.tsx +331 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/checkbox.tsx +26 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/collapsible.tsx +11 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/command.tsx +143 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/context-menu.tsx +187 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/dialog.tsx +104 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/drawer.tsx +98 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/dropdown-menu.tsx +188 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/form.tsx +171 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/hover-card.tsx +27 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/input-otp.tsx +69 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/input.tsx +22 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/label.tsx +21 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/menubar.tsx +229 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/navigation-menu.tsx +120 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/pagination.tsx +98 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/popover.tsx +31 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/progress.tsx +25 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/radio-group.tsx +36 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/resizable.tsx +37 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/scroll-area.tsx +44 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/select.tsx +152 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/separator.tsx +24 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/sheet.tsx +122 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/sidebar.tsx +744 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/skeleton.tsx +7 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/slider.tsx +23 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/sonner.tsx +23 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/switch.tsx +27 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/table.tsx +94 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/tabs.tsx +53 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/textarea.tsx +21 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/toggle-group.tsx +57 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/toggle.tsx +42 -0
- package/dist/templates/tanstack-router-2026-06-15/src/components/ui/tooltip.tsx +32 -0
- package/dist/templates/tanstack-router-2026-06-15/src/hooks/use-mobile.tsx +19 -0
- package/dist/templates/tanstack-router-2026-06-15/src/lib/proxy.ts +83 -0
- package/dist/templates/tanstack-router-2026-06-15/src/lib/utils.ts +6 -0
- package/dist/templates/tanstack-router-2026-06-15/src/main.tsx +33 -0
- package/dist/templates/tanstack-router-2026-06-15/src/routeTree.gen.ts +59 -0
- package/dist/templates/tanstack-router-2026-06-15/src/router.tsx +23 -0
- package/dist/templates/tanstack-router-2026-06-15/src/routes/__root.tsx +16 -0
- package/dist/templates/tanstack-router-2026-06-15/src/routes/index.tsx +14 -0
- package/dist/templates/tanstack-router-2026-06-15/src/styles.css +214 -0
- package/dist/templates/tanstack-router-2026-06-15/tsconfig.json +28 -0
- package/dist/templates/tanstack-router-2026-06-15/tsr.config.json +3 -0
- package/dist/templates/tanstack-router-2026-06-15/vite.config.ts +21 -0
- package/package.json +3 -2
- package/src/template-render.ts +48 -0
- package/src/templates/tanstack-router-2026-06-15/components.json +22 -0
- package/src/templates/tanstack-router-2026-06-15/index.html +13 -0
- package/src/templates/tanstack-router-2026-06-15/package.json +94 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/accordion.tsx +51 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/alert-dialog.tsx +115 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/alert.tsx +49 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/aspect-ratio.tsx +5 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/avatar.tsx +47 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/badge.tsx +32 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/breadcrumb.tsx +101 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/button.tsx +49 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/calendar.tsx +177 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/card.tsx +55 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/carousel.tsx +240 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/chart.tsx +331 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/checkbox.tsx +26 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/collapsible.tsx +11 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/command.tsx +143 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/context-menu.tsx +187 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/dialog.tsx +104 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/drawer.tsx +98 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/dropdown-menu.tsx +188 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/form.tsx +171 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/hover-card.tsx +27 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/input-otp.tsx +69 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/input.tsx +22 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/label.tsx +21 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/menubar.tsx +229 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/navigation-menu.tsx +120 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/pagination.tsx +98 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/popover.tsx +31 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/progress.tsx +25 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/radio-group.tsx +36 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/resizable.tsx +37 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/scroll-area.tsx +44 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/select.tsx +152 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/separator.tsx +24 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/sheet.tsx +122 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/sidebar.tsx +744 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/skeleton.tsx +7 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/slider.tsx +23 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/sonner.tsx +23 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/switch.tsx +27 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/table.tsx +94 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/tabs.tsx +53 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/textarea.tsx +21 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/toggle-group.tsx +57 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/toggle.tsx +42 -0
- package/src/templates/tanstack-router-2026-06-15/src/components/ui/tooltip.tsx +32 -0
- package/src/templates/tanstack-router-2026-06-15/src/hooks/use-mobile.tsx +19 -0
- package/src/templates/tanstack-router-2026-06-15/src/lib/proxy.ts +83 -0
- package/src/templates/tanstack-router-2026-06-15/src/lib/utils.ts +6 -0
- package/src/templates/tanstack-router-2026-06-15/src/main.tsx +33 -0
- package/src/templates/tanstack-router-2026-06-15/src/routeTree.gen.ts +59 -0
- package/src/templates/tanstack-router-2026-06-15/src/router.tsx +23 -0
- package/src/templates/tanstack-router-2026-06-15/src/routes/__root.tsx +16 -0
- package/src/templates/tanstack-router-2026-06-15/src/routes/index.tsx +14 -0
- package/src/templates/tanstack-router-2026-06-15/src/styles.css +214 -0
- package/src/templates/tanstack-router-2026-06-15/tsconfig.json +28 -0
- package/src/templates/tanstack-router-2026-06-15/tsr.config.json +3 -0
- package/src/templates/tanstack-router-2026-06-15/vite.config.ts +21 -0
- package/src/tools/scaffold.ts +51 -444
- package/src/tools/setup-netsuite.ts +161 -80
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* HelloLeo Design System -- READ BEFORE STYLING.
|
|
3
|
+
*
|
|
4
|
+
* Design tokens are the single source of truth and power the no-code Design
|
|
5
|
+
* panel (the user edits colors / fonts / radius visually). Conventions:
|
|
6
|
+
* - Raw tokens live in :root (light) and .dark (dark). The @media
|
|
7
|
+
* (prefers-color-scheme: dark) block mirrors .dark so apps follow the OS
|
|
8
|
+
* by default; adding the `dark` class still forces dark explicitly.
|
|
9
|
+
* - @theme inline maps each raw token to a Tailwind utility
|
|
10
|
+
* (bg-background, text-foreground, rounded-lg, ...). Edit the raw token,
|
|
11
|
+
* not the component class. Never hardcode #hex in components.
|
|
12
|
+
* - When you add a color token, add it to :root, .dark, AND the media block,
|
|
13
|
+
* or one theme breaks.
|
|
14
|
+
*
|
|
15
|
+
* UI primitives live in src/components/ui (shadcn/ui) and consume these
|
|
16
|
+
* tokens. One responsibility per file.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
@import "tailwindcss" source(none);
|
|
20
|
+
@source "../src";
|
|
21
|
+
@import "tw-animate-css";
|
|
22
|
+
|
|
23
|
+
@custom-variant dark (&:is(.dark *));
|
|
24
|
+
|
|
25
|
+
@theme inline {
|
|
26
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
27
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
28
|
+
--radius-lg: var(--radius);
|
|
29
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
30
|
+
--color-background: var(--background);
|
|
31
|
+
--color-foreground: var(--foreground);
|
|
32
|
+
--color-card: var(--card);
|
|
33
|
+
--color-card-foreground: var(--card-foreground);
|
|
34
|
+
--color-popover: var(--popover);
|
|
35
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
36
|
+
--color-primary: var(--primary);
|
|
37
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
38
|
+
--color-secondary: var(--secondary);
|
|
39
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
40
|
+
--color-muted: var(--muted);
|
|
41
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
42
|
+
--color-accent: var(--accent);
|
|
43
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
44
|
+
--color-destructive: var(--destructive);
|
|
45
|
+
--color-destructive-foreground: var(--destructive-foreground);
|
|
46
|
+
--color-border: var(--border);
|
|
47
|
+
--color-input: var(--input);
|
|
48
|
+
--color-ring: var(--ring);
|
|
49
|
+
--color-chart-1: var(--chart-1);
|
|
50
|
+
--color-chart-2: var(--chart-2);
|
|
51
|
+
--color-chart-3: var(--chart-3);
|
|
52
|
+
--color-chart-4: var(--chart-4);
|
|
53
|
+
--color-chart-5: var(--chart-5);
|
|
54
|
+
--color-sidebar: var(--sidebar);
|
|
55
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
56
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
57
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
58
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
59
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
60
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
61
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
62
|
+
--font-sans: "Inter", system-ui, sans-serif;
|
|
63
|
+
--font-display: "Space Grotesk", "Inter", sans-serif;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
:root {
|
|
67
|
+
--radius: 0.625rem;
|
|
68
|
+
--background: oklch(1 0 0);
|
|
69
|
+
--foreground: oklch(0.145 0 0);
|
|
70
|
+
--card: oklch(1 0 0);
|
|
71
|
+
--card-foreground: oklch(0.145 0 0);
|
|
72
|
+
--popover: oklch(1 0 0);
|
|
73
|
+
--popover-foreground: oklch(0.145 0 0);
|
|
74
|
+
--primary: oklch(0.205 0 0);
|
|
75
|
+
--primary-foreground: oklch(0.985 0 0);
|
|
76
|
+
--secondary: oklch(0.97 0 0);
|
|
77
|
+
--secondary-foreground: oklch(0.205 0 0);
|
|
78
|
+
--muted: oklch(0.97 0 0);
|
|
79
|
+
--muted-foreground: oklch(0.556 0 0);
|
|
80
|
+
--accent: oklch(0.97 0 0);
|
|
81
|
+
--accent-foreground: oklch(0.205 0 0);
|
|
82
|
+
--destructive: oklch(0.577 0.245 27.325);
|
|
83
|
+
--destructive-foreground: oklch(0.985 0 0);
|
|
84
|
+
--border: oklch(0.922 0 0);
|
|
85
|
+
--input: oklch(0.922 0 0);
|
|
86
|
+
--ring: oklch(0.708 0 0);
|
|
87
|
+
--chart-1: oklch(0.646 0.222 41.116);
|
|
88
|
+
--chart-2: oklch(0.6 0.118 184.704);
|
|
89
|
+
--chart-3: oklch(0.398 0.07 227.392);
|
|
90
|
+
--chart-4: oklch(0.828 0.189 84.429);
|
|
91
|
+
--chart-5: oklch(0.769 0.188 70.08);
|
|
92
|
+
--sidebar: oklch(0.985 0 0);
|
|
93
|
+
--sidebar-foreground: oklch(0.145 0 0);
|
|
94
|
+
--sidebar-primary: oklch(0.205 0 0);
|
|
95
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
96
|
+
--sidebar-accent: oklch(0.97 0 0);
|
|
97
|
+
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
98
|
+
--sidebar-border: oklch(0.922 0 0);
|
|
99
|
+
--sidebar-ring: oklch(0.708 0 0);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* Dark palette -- kept identical in .dark (explicit) and the media block
|
|
103
|
+
* (system default). Edit BOTH when changing a token. */
|
|
104
|
+
.dark {
|
|
105
|
+
--background: oklch(0.145 0 0);
|
|
106
|
+
--foreground: oklch(0.985 0 0);
|
|
107
|
+
--card: oklch(0.205 0 0);
|
|
108
|
+
--card-foreground: oklch(0.985 0 0);
|
|
109
|
+
--popover: oklch(0.205 0 0);
|
|
110
|
+
--popover-foreground: oklch(0.985 0 0);
|
|
111
|
+
--primary: oklch(0.922 0 0);
|
|
112
|
+
--primary-foreground: oklch(0.205 0 0);
|
|
113
|
+
--secondary: oklch(0.269 0 0);
|
|
114
|
+
--secondary-foreground: oklch(0.985 0 0);
|
|
115
|
+
--muted: oklch(0.269 0 0);
|
|
116
|
+
--muted-foreground: oklch(0.708 0 0);
|
|
117
|
+
--accent: oklch(0.269 0 0);
|
|
118
|
+
--accent-foreground: oklch(0.985 0 0);
|
|
119
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
120
|
+
--destructive-foreground: oklch(0.985 0 0);
|
|
121
|
+
--border: oklch(1 0 0 / 10%);
|
|
122
|
+
--input: oklch(1 0 0 / 15%);
|
|
123
|
+
--ring: oklch(0.556 0 0);
|
|
124
|
+
--chart-1: oklch(0.488 0.243 264.376);
|
|
125
|
+
--chart-2: oklch(0.696 0.17 162.48);
|
|
126
|
+
--chart-3: oklch(0.769 0.188 70.08);
|
|
127
|
+
--chart-4: oklch(0.627 0.265 303.9);
|
|
128
|
+
--chart-5: oklch(0.645 0.246 16.439);
|
|
129
|
+
--sidebar: oklch(0.205 0 0);
|
|
130
|
+
--sidebar-foreground: oklch(0.985 0 0);
|
|
131
|
+
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
132
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
133
|
+
--sidebar-accent: oklch(0.269 0 0);
|
|
134
|
+
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
135
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
136
|
+
--sidebar-ring: oklch(0.556 0 0);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
@media (prefers-color-scheme: dark) {
|
|
140
|
+
:root {
|
|
141
|
+
--background: oklch(0.145 0 0);
|
|
142
|
+
--foreground: oklch(0.985 0 0);
|
|
143
|
+
--card: oklch(0.205 0 0);
|
|
144
|
+
--card-foreground: oklch(0.985 0 0);
|
|
145
|
+
--popover: oklch(0.205 0 0);
|
|
146
|
+
--popover-foreground: oklch(0.985 0 0);
|
|
147
|
+
--primary: oklch(0.922 0 0);
|
|
148
|
+
--primary-foreground: oklch(0.205 0 0);
|
|
149
|
+
--secondary: oklch(0.269 0 0);
|
|
150
|
+
--secondary-foreground: oklch(0.985 0 0);
|
|
151
|
+
--muted: oklch(0.269 0 0);
|
|
152
|
+
--muted-foreground: oklch(0.708 0 0);
|
|
153
|
+
--accent: oklch(0.269 0 0);
|
|
154
|
+
--accent-foreground: oklch(0.985 0 0);
|
|
155
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
156
|
+
--destructive-foreground: oklch(0.985 0 0);
|
|
157
|
+
--border: oklch(1 0 0 / 10%);
|
|
158
|
+
--input: oklch(1 0 0 / 15%);
|
|
159
|
+
--ring: oklch(0.556 0 0);
|
|
160
|
+
--chart-1: oklch(0.488 0.243 264.376);
|
|
161
|
+
--chart-2: oklch(0.696 0.17 162.48);
|
|
162
|
+
--chart-3: oklch(0.769 0.188 70.08);
|
|
163
|
+
--chart-4: oklch(0.627 0.265 303.9);
|
|
164
|
+
--chart-5: oklch(0.645 0.246 16.439);
|
|
165
|
+
--sidebar: oklch(0.205 0 0);
|
|
166
|
+
--sidebar-foreground: oklch(0.985 0 0);
|
|
167
|
+
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
168
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
169
|
+
--sidebar-accent: oklch(0.269 0 0);
|
|
170
|
+
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
171
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
172
|
+
--sidebar-ring: oklch(0.556 0 0);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
@layer base {
|
|
177
|
+
* {
|
|
178
|
+
border-color: var(--color-border);
|
|
179
|
+
}
|
|
180
|
+
html,
|
|
181
|
+
body {
|
|
182
|
+
font-family: var(--font-sans);
|
|
183
|
+
}
|
|
184
|
+
body {
|
|
185
|
+
background-color: var(--color-background);
|
|
186
|
+
color: var(--color-foreground);
|
|
187
|
+
min-height: 100vh;
|
|
188
|
+
}
|
|
189
|
+
h1, h2, h3, h4 {
|
|
190
|
+
font-family: var(--font-display);
|
|
191
|
+
letter-spacing: -0.02em;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
@layer utilities {
|
|
196
|
+
.prose-note {
|
|
197
|
+
color: var(--color-foreground);
|
|
198
|
+
}
|
|
199
|
+
.prose-note h1 { font-size: 1.875rem; font-weight: 700; margin: 1.25rem 0 0.75rem; font-family: var(--font-display); }
|
|
200
|
+
.prose-note h2 { font-size: 1.5rem; font-weight: 600; margin: 1rem 0 0.5rem; font-family: var(--font-display); }
|
|
201
|
+
.prose-note h3 { font-size: 1.25rem; font-weight: 600; margin: 0.875rem 0 0.5rem; }
|
|
202
|
+
.prose-note p { margin: 0.5rem 0; line-height: 1.7; }
|
|
203
|
+
.prose-note ul { list-style: disc; padding-left: 1.5rem; margin: 0.5rem 0; }
|
|
204
|
+
.prose-note ol { list-style: decimal; padding-left: 1.5rem; margin: 0.5rem 0; }
|
|
205
|
+
.prose-note li { margin: 0.25rem 0; }
|
|
206
|
+
.prose-note a { color: var(--color-primary); text-decoration: underline; }
|
|
207
|
+
.prose-note code { background: var(--color-muted); padding: 0.125rem 0.375rem; border-radius: 0.25rem; font-size: 0.875em; }
|
|
208
|
+
.prose-note pre { background: var(--color-muted); padding: 1rem; border-radius: 0.5rem; overflow-x: auto; margin: 0.75rem 0; }
|
|
209
|
+
.prose-note pre code { background: transparent; padding: 0; }
|
|
210
|
+
.prose-note blockquote { border-left: 3px solid var(--color-primary); padding-left: 1rem; margin: 0.75rem 0; color: var(--color-muted-foreground); }
|
|
211
|
+
.prose-note hr { border-color: var(--color-border); margin: 1.5rem 0; }
|
|
212
|
+
.prose-note table { border-collapse: collapse; margin: 0.75rem 0; }
|
|
213
|
+
.prose-note th, .prose-note td { border: 1px solid var(--color-border); padding: 0.375rem 0.75rem; }
|
|
214
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"include": ["**/*.ts", "**/*.tsx"],
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"target": "ES2022",
|
|
5
|
+
"jsx": "react-jsx",
|
|
6
|
+
"module": "ESNext",
|
|
7
|
+
"paths": {
|
|
8
|
+
"#/*": ["./src/*"],
|
|
9
|
+
"@/*": ["./src/*"]
|
|
10
|
+
},
|
|
11
|
+
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
12
|
+
"types": ["vite/client"],
|
|
13
|
+
|
|
14
|
+
/* Bundler mode */
|
|
15
|
+
"moduleResolution": "bundler",
|
|
16
|
+
"allowImportingTsExtensions": true,
|
|
17
|
+
"verbatimModuleSyntax": true,
|
|
18
|
+
"noEmit": true,
|
|
19
|
+
|
|
20
|
+
/* Linting */
|
|
21
|
+
"skipLibCheck": true,
|
|
22
|
+
"strict": true,
|
|
23
|
+
"noUnusedLocals": true,
|
|
24
|
+
"noUnusedParameters": true,
|
|
25
|
+
"noFallthroughCasesInSwitch": true,
|
|
26
|
+
"noUncheckedSideEffectImports": true
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { defineConfig } from 'vite'
|
|
2
|
+
import { devtools } from '@tanstack/devtools-vite'
|
|
3
|
+
|
|
4
|
+
import { tanstackRouter } from '@tanstack/router-plugin/vite'
|
|
5
|
+
|
|
6
|
+
import viteReact from '@vitejs/plugin-react'
|
|
7
|
+
import tailwindcss from '@tailwindcss/vite'
|
|
8
|
+
|
|
9
|
+
const config = defineConfig({
|
|
10
|
+
// Vite 8 resolves tsconfig `paths` (#/* and @/*) natively.
|
|
11
|
+
resolve: { tsconfigPaths: true },
|
|
12
|
+
server: { allowedHosts: true },
|
|
13
|
+
plugins: [
|
|
14
|
+
devtools(),
|
|
15
|
+
tailwindcss(),
|
|
16
|
+
tanstackRouter({ target: 'react', autoCodeSplitting: true }),
|
|
17
|
+
viteReact(),
|
|
18
|
+
],
|
|
19
|
+
})
|
|
20
|
+
|
|
21
|
+
export default config
|