@glasshome/ui 0.4.0 → 0.5.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/solid/alert.d.ts +20 -13
- package/dist/solid/badge.d.ts +23 -1
- package/dist/solid/button.d.ts +2 -1
- package/dist/solid/index.d.ts +2 -2
- package/dist/solid/index.js +2739 -2509
- package/dist/tokens/index.js +2 -2
- package/package.json +1 -1
- package/src/styles/theme.css +16 -2
package/dist/tokens/index.js
CHANGED
|
@@ -141,7 +141,7 @@ var x = [
|
|
|
141
141
|
muted: "oklch(0.9702 0 0)",
|
|
142
142
|
mutedForeground: "oklch(0.4386 0 0)",
|
|
143
143
|
input: "oklch(0.9401 0 0)",
|
|
144
|
-
ring: "oklch(0.
|
|
144
|
+
ring: "oklch(0.6 0.2 195)",
|
|
145
145
|
destructive: "oklch(0.629 0.1902 23.0704)"
|
|
146
146
|
},
|
|
147
147
|
dark: {
|
|
@@ -155,7 +155,7 @@ var x = [
|
|
|
155
155
|
muted: "oklch(0.22 0.006 0)",
|
|
156
156
|
mutedForeground: "oklch(0.7058 0 0)",
|
|
157
157
|
input: "oklch(0.25 0.005 0)",
|
|
158
|
-
ring: "oklch(0.
|
|
158
|
+
ring: "oklch(0.6 0.2 195)",
|
|
159
159
|
destructive: "oklch(0.7106 0.1661 22.2162)"
|
|
160
160
|
}
|
|
161
161
|
},
|
package/package.json
CHANGED
package/src/styles/theme.css
CHANGED
|
@@ -18,6 +18,10 @@
|
|
|
18
18
|
--color-border: var(--border);
|
|
19
19
|
--color-input: var(--input);
|
|
20
20
|
--color-ring: var(--ring);
|
|
21
|
+
--color-success: var(--success);
|
|
22
|
+
--color-warning: var(--warning);
|
|
23
|
+
--color-primary-tint-foreground: var(--primary-tint-foreground);
|
|
24
|
+
--color-accent-tint-foreground: var(--accent-tint-foreground);
|
|
21
25
|
--color-chart-1: var(--chart-1);
|
|
22
26
|
--color-chart-2: var(--chart-2);
|
|
23
27
|
--color-chart-3: var(--chart-3);
|
|
@@ -31,6 +35,8 @@
|
|
|
31
35
|
--radius-md: calc(var(--radius) - 2px);
|
|
32
36
|
--radius-lg: var(--radius);
|
|
33
37
|
--radius-xl: calc(var(--radius) + 4px);
|
|
38
|
+
--radius-2xl: calc(var(--radius) + 8px);
|
|
39
|
+
--radius-3xl: calc(var(--radius) + 16px);
|
|
34
40
|
|
|
35
41
|
--shadow-2xs: var(--shadow-2xs);
|
|
36
42
|
--shadow-xs: var(--shadow-xs);
|
|
@@ -78,11 +84,15 @@
|
|
|
78
84
|
--muted-foreground: oklch(0.4386 0 0);
|
|
79
85
|
--accent: oklch(0.6 0.2 195);
|
|
80
86
|
--accent-foreground: oklch(1 0 0);
|
|
87
|
+
--success: oklch(0.65 0.17 145);
|
|
88
|
+
--warning: oklch(0.75 0.14 85);
|
|
89
|
+
--primary-tint-foreground: oklch(0.42 0.2 215.221);
|
|
90
|
+
--accent-tint-foreground: oklch(0.46 0.16 195);
|
|
81
91
|
--destructive: oklch(0.629 0.1902 23.0704);
|
|
82
92
|
--destructive-foreground: oklch(1 0 0);
|
|
83
93
|
--border: oklch(0.93 0.0094 286.2156);
|
|
84
94
|
--input: oklch(0.9401 0 0);
|
|
85
|
-
--ring: oklch(0.
|
|
95
|
+
--ring: oklch(0.6 0.2 195);
|
|
86
96
|
--chart-1: oklch(0.7459 0.1483 156.4499);
|
|
87
97
|
--chart-2: oklch(0.48 0.2 215.221);
|
|
88
98
|
--chart-3: oklch(0.7336 0.1758 50.5517);
|
|
@@ -125,11 +135,15 @@
|
|
|
125
135
|
--muted-foreground: oklch(0.7058 0 0);
|
|
126
136
|
--accent: oklch(0.6 0.2 195);
|
|
127
137
|
--accent-foreground: oklch(1 0 0);
|
|
138
|
+
--success: oklch(0.7 0.17 145);
|
|
139
|
+
--warning: oklch(0.78 0.14 85);
|
|
140
|
+
--primary-tint-foreground: oklch(0.78 0.16 215.221);
|
|
141
|
+
--accent-tint-foreground: oklch(0.8 0.14 195);
|
|
128
142
|
--destructive: oklch(0.7106 0.1661 22.2162);
|
|
129
143
|
--destructive-foreground: oklch(1 0 0);
|
|
130
144
|
--border: oklch(0.26 0.012 250);
|
|
131
145
|
--input: oklch(0.25 0.005 0);
|
|
132
|
-
--ring: oklch(0.
|
|
146
|
+
--ring: oklch(0.6 0.2 195);
|
|
133
147
|
--chart-1: oklch(0.8003 0.1821 151.711);
|
|
134
148
|
--chart-2: oklch(0.48 0.2 215.221);
|
|
135
149
|
--chart-3: oklch(0.8077 0.1035 19.5706);
|