@wheelhouse/ui 0.1.2 → 0.1.4
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/package.json +4 -4
- package/src/styles/globals.css +79 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wheelhouse/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -47,12 +47,11 @@
|
|
|
47
47
|
"typescript-eslint": "^8.54.0",
|
|
48
48
|
"vite": "^7.2.4",
|
|
49
49
|
"vitest": "^3.0.0",
|
|
50
|
-
"@wheelhouse/
|
|
51
|
-
"@wheelhouse/
|
|
50
|
+
"@wheelhouse/tsconfig": "0.0.0",
|
|
51
|
+
"@wheelhouse/eslint-config": "0.0.0"
|
|
52
52
|
},
|
|
53
53
|
"exports": {
|
|
54
54
|
".": {
|
|
55
|
-
"development": "./src/index.ts",
|
|
56
55
|
"import": "./dist/index.js",
|
|
57
56
|
"types": "./dist/index.d.ts"
|
|
58
57
|
},
|
|
@@ -60,6 +59,7 @@
|
|
|
60
59
|
},
|
|
61
60
|
"files": [
|
|
62
61
|
"dist",
|
|
62
|
+
"src/styles",
|
|
63
63
|
"llms.txt"
|
|
64
64
|
],
|
|
65
65
|
"scripts": {
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
@import '@wheelhouse/tokens';
|
|
2
|
+
@import 'tailwindcss';
|
|
3
|
+
@import 'tw-animate-css';
|
|
4
|
+
@import 'shadcn/tailwind.css';
|
|
5
|
+
/* Geist Variable is loaded here because --font-sans references it directly in the @theme
|
|
6
|
+
block below. Keeping the font and its token together prevents silent fallback to
|
|
7
|
+
sans-serif in apps that forget to import the font separately.
|
|
8
|
+
|
|
9
|
+
To move this to individual apps:
|
|
10
|
+
1. Remove this import
|
|
11
|
+
2. Remove @fontsource-variable/geist from packages/ui/package.json dependencies
|
|
12
|
+
3. Add @fontsource-variable/geist to each app's package.json
|
|
13
|
+
4. Import it in each app's entry point (layout.tsx, preview.tsx, etc.) */
|
|
14
|
+
@import '@fontsource-variable/geist';
|
|
15
|
+
|
|
16
|
+
@custom-variant dark (&:is(.dark *));
|
|
17
|
+
|
|
18
|
+
@theme inline {
|
|
19
|
+
--font-heading: var(--font-sans);
|
|
20
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
21
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
22
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
23
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
24
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
25
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
26
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
27
|
+
--color-sidebar: var(--sidebar);
|
|
28
|
+
--color-chart-5: var(--chart-5);
|
|
29
|
+
--color-chart-4: var(--chart-4);
|
|
30
|
+
--color-chart-3: var(--chart-3);
|
|
31
|
+
--color-chart-2: var(--chart-2);
|
|
32
|
+
--color-chart-1: var(--chart-1);
|
|
33
|
+
--color-ring: var(--ring);
|
|
34
|
+
--color-input: var(--input);
|
|
35
|
+
--color-border: var(--border);
|
|
36
|
+
--color-destructive: var(--destructive);
|
|
37
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
38
|
+
--color-accent: var(--accent);
|
|
39
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
40
|
+
--color-muted: var(--muted);
|
|
41
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
42
|
+
--color-secondary: var(--secondary);
|
|
43
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
44
|
+
--color-primary: var(--primary);
|
|
45
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
46
|
+
--color-popover: var(--popover);
|
|
47
|
+
--color-card-foreground: var(--card-foreground);
|
|
48
|
+
--color-card: var(--card);
|
|
49
|
+
--color-foreground: var(--foreground);
|
|
50
|
+
--color-background: var(--background);
|
|
51
|
+
--radius-sm: calc(var(--radius) * 0.6);
|
|
52
|
+
--radius-md: calc(var(--radius) * 0.8);
|
|
53
|
+
--radius-lg: var(--radius);
|
|
54
|
+
--radius-xl: calc(var(--radius) * 1.4);
|
|
55
|
+
--radius-2xl: calc(var(--radius) * 1.8);
|
|
56
|
+
--radius-3xl: calc(var(--radius) * 2.2);
|
|
57
|
+
--radius-4xl: calc(var(--radius) * 2.6);
|
|
58
|
+
--font-sans: 'Geist Variable', sans-serif;
|
|
59
|
+
--color-warning-foreground: var(--warning-foreground);
|
|
60
|
+
--color-warning: var(--warning);
|
|
61
|
+
--color-info-foreground: var(--info-foreground);
|
|
62
|
+
--color-info: var(--info);
|
|
63
|
+
--color-success-foreground: var(--success-foreground);
|
|
64
|
+
--color-success: var(--success);
|
|
65
|
+
--color-destructive-foreground: var(--destructive-foreground);
|
|
66
|
+
--text-base: 0.9375rem;
|
|
67
|
+
--text-base--line-height: calc(1.5 / 0.9375);
|
|
68
|
+
--text-sm: 0.8125rem;
|
|
69
|
+
--text-sm--line-height: calc(1.25 / 0.8125);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@layer base {
|
|
73
|
+
* {
|
|
74
|
+
@apply border-border outline-ring/50;
|
|
75
|
+
}
|
|
76
|
+
body {
|
|
77
|
+
@apply bg-background text-foreground;
|
|
78
|
+
}
|
|
79
|
+
}
|