@tailor-platform/app-shell 1.6.1 → 1.7.0
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/app-shell-core.css +1 -0
- package/dist/app-shell.css +9 -1
- package/dist/app-shell.d.ts +39 -0
- package/dist/app-shell.js +1614 -1554
- package/dist/theme.bridge.css +58 -0
- package/dist/theme.css +1 -59
- package/package.json +1 -1
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
@custom-variant dark (&:where(.dark, .dark *));
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Tailwind v4 theme bridge — maps raw CSS custom properties to Tailwind's
|
|
5
|
+
* design token namespace so utilities like `bg-background`, `text-primary`,
|
|
6
|
+
* `shadow-sm` resolve correctly regardless of the active palette.
|
|
7
|
+
*/
|
|
8
|
+
@theme inline {
|
|
9
|
+
--font-sans: "Inter Variable", "Inter", ui-sans-serif, system-ui, sans-serif;
|
|
10
|
+
|
|
11
|
+
--color-background: var(--background);
|
|
12
|
+
--color-foreground: var(--foreground);
|
|
13
|
+
--color-card: var(--card);
|
|
14
|
+
--color-card-foreground: var(--card-foreground);
|
|
15
|
+
--color-popover: var(--popover);
|
|
16
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
17
|
+
--color-primary: var(--primary);
|
|
18
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
19
|
+
--color-secondary: var(--secondary);
|
|
20
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
21
|
+
--color-muted: var(--muted);
|
|
22
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
23
|
+
--color-accent: var(--accent);
|
|
24
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
25
|
+
--color-destructive: var(--destructive);
|
|
26
|
+
--color-destructive-foreground: var(--destructive-foreground);
|
|
27
|
+
--color-border: var(--border);
|
|
28
|
+
--color-input: var(--input);
|
|
29
|
+
--color-ring: var(--ring);
|
|
30
|
+
--color-chart-1: var(--chart-1);
|
|
31
|
+
--color-chart-2: var(--chart-2);
|
|
32
|
+
--color-chart-3: var(--chart-3);
|
|
33
|
+
--color-chart-4: var(--chart-4);
|
|
34
|
+
--color-chart-5: var(--chart-5);
|
|
35
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
36
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
37
|
+
--radius-lg: var(--radius);
|
|
38
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
39
|
+
--color-sidebar: var(--sidebar);
|
|
40
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
41
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
42
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
43
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
44
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
45
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
46
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
47
|
+
|
|
48
|
+
--color-status-default: var(--status-default);
|
|
49
|
+
--color-status-neutral: var(--status-neutral);
|
|
50
|
+
--color-status-completed: var(--status-completed);
|
|
51
|
+
--color-status-attention: var(--status-attention);
|
|
52
|
+
--color-status-danger: var(--status-danger);
|
|
53
|
+
|
|
54
|
+
--shadow-xs: var(--semantic-shadow-xs);
|
|
55
|
+
--shadow-sm: var(--semantic-shadow-sm);
|
|
56
|
+
--shadow-md: var(--semantic-shadow-md);
|
|
57
|
+
--shadow-lg: var(--semantic-shadow-lg);
|
|
58
|
+
}
|
package/dist/theme.css
CHANGED
|
@@ -22,62 +22,4 @@
|
|
|
22
22
|
* Palette selection is by CSS import; there is no runtime palette prop.
|
|
23
23
|
*/
|
|
24
24
|
@import "./themes/default.css" layer(theme.defaults);
|
|
25
|
-
|
|
26
|
-
@custom-variant dark (&:where(.dark, .dark *));
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Tailwind v4 theme bridge — maps raw CSS custom properties to Tailwind's
|
|
30
|
-
* design token namespace so utilities like `bg-background`, `text-primary`,
|
|
31
|
-
* `shadow-sm` resolve correctly regardless of the active palette.
|
|
32
|
-
*/
|
|
33
|
-
@theme inline {
|
|
34
|
-
--font-sans: "Inter Variable", "Inter", ui-sans-serif, system-ui, sans-serif;
|
|
35
|
-
|
|
36
|
-
--color-background: var(--background);
|
|
37
|
-
--color-foreground: var(--foreground);
|
|
38
|
-
--color-card: var(--card);
|
|
39
|
-
--color-card-foreground: var(--card-foreground);
|
|
40
|
-
--color-popover: var(--popover);
|
|
41
|
-
--color-popover-foreground: var(--popover-foreground);
|
|
42
|
-
--color-primary: var(--primary);
|
|
43
|
-
--color-primary-foreground: var(--primary-foreground);
|
|
44
|
-
--color-secondary: var(--secondary);
|
|
45
|
-
--color-secondary-foreground: var(--secondary-foreground);
|
|
46
|
-
--color-muted: var(--muted);
|
|
47
|
-
--color-muted-foreground: var(--muted-foreground);
|
|
48
|
-
--color-accent: var(--accent);
|
|
49
|
-
--color-accent-foreground: var(--accent-foreground);
|
|
50
|
-
--color-destructive: var(--destructive);
|
|
51
|
-
--color-destructive-foreground: var(--destructive-foreground);
|
|
52
|
-
--color-border: var(--border);
|
|
53
|
-
--color-input: var(--input);
|
|
54
|
-
--color-ring: var(--ring);
|
|
55
|
-
--color-chart-1: var(--chart-1);
|
|
56
|
-
--color-chart-2: var(--chart-2);
|
|
57
|
-
--color-chart-3: var(--chart-3);
|
|
58
|
-
--color-chart-4: var(--chart-4);
|
|
59
|
-
--color-chart-5: var(--chart-5);
|
|
60
|
-
--radius-sm: calc(var(--radius) - 4px);
|
|
61
|
-
--radius-md: calc(var(--radius) - 2px);
|
|
62
|
-
--radius-lg: var(--radius);
|
|
63
|
-
--radius-xl: calc(var(--radius) + 4px);
|
|
64
|
-
--color-sidebar: var(--sidebar);
|
|
65
|
-
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
66
|
-
--color-sidebar-primary: var(--sidebar-primary);
|
|
67
|
-
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
68
|
-
--color-sidebar-accent: var(--sidebar-accent);
|
|
69
|
-
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
70
|
-
--color-sidebar-border: var(--sidebar-border);
|
|
71
|
-
--color-sidebar-ring: var(--sidebar-ring);
|
|
72
|
-
|
|
73
|
-
--color-status-default: var(--status-default);
|
|
74
|
-
--color-status-neutral: var(--status-neutral);
|
|
75
|
-
--color-status-completed: var(--status-completed);
|
|
76
|
-
--color-status-attention: var(--status-attention);
|
|
77
|
-
--color-status-danger: var(--status-danger);
|
|
78
|
-
|
|
79
|
-
--shadow-xs: var(--semantic-shadow-xs);
|
|
80
|
-
--shadow-sm: var(--semantic-shadow-sm);
|
|
81
|
-
--shadow-md: var(--semantic-shadow-md);
|
|
82
|
-
--shadow-lg: var(--semantic-shadow-lg);
|
|
83
|
-
}
|
|
25
|
+
@import "./theme.bridge.css";
|