@shuriken-ui/tailwind 4.0.0-alpha.1 → 4.0.0-alpha.11
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 +20 -74
- package/lib/css/focus.css +4 -0
- package/{src → lib}/css/mark.css +0 -3
- package/{src → lib}/css/mask.css +0 -3
- package/{src → lib}/css/slimscroll.css +8 -8
- package/lib/index.css +18 -0
- package/lib/theme.css +126 -0
- package/package.json +14 -53
- package/LICENSE.md +0 -21
- package/src/css/accordion.css +0 -175
- package/src/css/autocomplete.css +0 -511
- package/src/css/avatar-group.css +0 -138
- package/src/css/avatar.css +0 -738
- package/src/css/breadcrumb.css +0 -63
- package/src/css/button-action.css +0 -108
- package/src/css/button-close.css +0 -117
- package/src/css/button-group.css +0 -236
- package/src/css/button-icon.css +0 -97
- package/src/css/button.css +0 -565
- package/src/css/card.css +0 -69
- package/src/css/checkbox.css +0 -99
- package/src/css/dropdown-divider.css +0 -6
- package/src/css/dropdown-item.css +0 -62
- package/src/css/dropdown.css +0 -102
- package/src/css/focus.css +0 -12
- package/src/css/fullscreen-dropfile.css +0 -63
- package/src/css/heading.css +0 -78
- package/src/css/icon-box.css +0 -305
- package/src/css/input-file-regular.css +0 -255
- package/src/css/input-file.css +0 -224
- package/src/css/input-help-text.css +0 -7
- package/src/css/input-number.css +0 -469
- package/src/css/input.css +0 -402
- package/src/css/kbd.css +0 -94
- package/src/css/label.css +0 -6
- package/src/css/link.css +0 -8
- package/src/css/list.css +0 -23
- package/src/css/listbox.css +0 -511
- package/src/css/message-text.css +0 -72
- package/src/css/message.css +0 -245
- package/src/css/modal.css +0 -51
- package/src/css/pagination.css +0 -93
- package/src/css/paragraph.css +0 -78
- package/src/css/placeholder-page.css +0 -44
- package/src/css/placeload.css +0 -13
- package/src/css/progress-circle.css +0 -18
- package/src/css/progress.css +0 -90
- package/src/css/prose.css +0 -22
- package/src/css/radio.css +0 -73
- package/src/css/select.css +0 -404
- package/src/css/snack.css +0 -101
- package/src/css/switch-ball.css +0 -94
- package/src/css/switch-thin.css +0 -76
- package/src/css/tab-slider.css +0 -190
- package/src/css/tabs.css +0 -175
- package/src/css/tag.css +0 -312
- package/src/css/text.css +0 -78
- package/src/css/textarea.css +0 -228
- package/src/css/theme-switch.css +0 -65
- package/src/css/theme-toggle.css +0 -62
- package/src/css/toast.css +0 -132
- package/src/css/tooltip.css +0 -99
- package/src/index.css +0 -57
package/src/css/button.css
DELETED
@@ -1,565 +0,0 @@
|
|
1
|
-
/* generated using "pnpm jiti scripts/generate-utilities.ts" */
|
2
|
-
/* @utility nui-button */
|
3
|
-
|
4
|
-
@utility nui-button {
|
5
|
-
@apply relative inline-flex justify-center items-center space-x-1;
|
6
|
-
@apply font-sans font-normal leading-5 no-underline;
|
7
|
-
@apply nui-focus transition-all duration-300 disabled:opacity-60 disabled:cursor-not-allowed hover:shadow-none;
|
8
|
-
}
|
9
|
-
@utility nui-button-badge {
|
10
|
-
@apply flex absolute h-2.5 w-2.5 top-0 -end-0.5 -mt-0.5;
|
11
|
-
|
12
|
-
.nui-button-badge-pulse {
|
13
|
-
@apply absolute inline-flex h-full w-full rounded-full opacity-75 bg-primary-500 animate-ping;
|
14
|
-
}
|
15
|
-
|
16
|
-
.nui-button-badge-inner {
|
17
|
-
@apply relative inline-flex rounded-full h-2.5 w-2.5 bg-primary-500;
|
18
|
-
}
|
19
|
-
|
20
|
-
&.nui-badge-primary {
|
21
|
-
.nui-button-badge-pulse {
|
22
|
-
@apply bg-primary-400;
|
23
|
-
}
|
24
|
-
|
25
|
-
.nui-button-badge-inner {
|
26
|
-
@apply bg-primary-400;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
|
30
|
-
&.nui-badge-info {
|
31
|
-
.nui-button-badge-pulse {
|
32
|
-
@apply bg-info-400;
|
33
|
-
}
|
34
|
-
|
35
|
-
.nui-button-badge-inner {
|
36
|
-
@apply bg-info-400;
|
37
|
-
}
|
38
|
-
}
|
39
|
-
|
40
|
-
&.nui-badge-success {
|
41
|
-
.nui-button-badge-pulse {
|
42
|
-
@apply bg-success-400;
|
43
|
-
}
|
44
|
-
|
45
|
-
.nui-button-badge-inner {
|
46
|
-
@apply bg-success-400;
|
47
|
-
}
|
48
|
-
}
|
49
|
-
|
50
|
-
&.nui-badge-warning {
|
51
|
-
.nui-button-badge-pulse {
|
52
|
-
@apply bg-warning-400;
|
53
|
-
}
|
54
|
-
|
55
|
-
.nui-button-badge-inner {
|
56
|
-
@apply bg-warning-400;
|
57
|
-
}
|
58
|
-
}
|
59
|
-
|
60
|
-
&.nui-badge-danger {
|
61
|
-
.nui-button-badge-pulse {
|
62
|
-
@apply bg-danger-400;
|
63
|
-
}
|
64
|
-
|
65
|
-
.nui-button-badge-inner {
|
66
|
-
@apply bg-danger-400;
|
67
|
-
}
|
68
|
-
}
|
69
|
-
}
|
70
|
-
@utility nui-button-loading {
|
71
|
-
@apply !text-transparent;
|
72
|
-
}
|
73
|
-
@utility nui-button-sm {
|
74
|
-
@apply h-8 px-3 py-1 text-sm;
|
75
|
-
|
76
|
-
.nui-button-icon {
|
77
|
-
@apply w-3 h-3;
|
78
|
-
}
|
79
|
-
}
|
80
|
-
@utility nui-button-md {
|
81
|
-
@apply h-10 px-5 py-2 text-sm;
|
82
|
-
|
83
|
-
.nui-button-icon {
|
84
|
-
@apply w-4 h-4;
|
85
|
-
}
|
86
|
-
}
|
87
|
-
@utility nui-button-lg {
|
88
|
-
@apply h-12 px-6 py-2 text-base;
|
89
|
-
|
90
|
-
.nui-button-icon {
|
91
|
-
@apply w-5 h-5;
|
92
|
-
}
|
93
|
-
}
|
94
|
-
@utility nui-button-xl {
|
95
|
-
@apply h-14 px-10 py-4 text-base;
|
96
|
-
|
97
|
-
.nui-button-icon {
|
98
|
-
@apply w-5 h-5;
|
99
|
-
}
|
100
|
-
}
|
101
|
-
@utility nui-button-rounded-sm {
|
102
|
-
@apply rounded-md;
|
103
|
-
}
|
104
|
-
@utility nui-button-rounded-md {
|
105
|
-
@apply rounded-lg;
|
106
|
-
}
|
107
|
-
@utility nui-button-rounded-lg {
|
108
|
-
@apply rounded-xl;
|
109
|
-
}
|
110
|
-
@utility nui-button-rounded-full {
|
111
|
-
@apply rounded-full;
|
112
|
-
|
113
|
-
.nui-button-badge {
|
114
|
-
@apply flex absolute h-2.5 w-2.5 top-0 -end-1 -mt-0.5 me-2;
|
115
|
-
}
|
116
|
-
}
|
117
|
-
@utility nui-button-solid {
|
118
|
-
&.nui-button-default {
|
119
|
-
@apply text-muted-700 dark:text-muted-100;
|
120
|
-
@apply bg-white dark:bg-muted-700;
|
121
|
-
@apply hover:enabled:bg-muted-50 dark:hover:enabled:bg-muted-600;
|
122
|
-
@apply active:enabled:bg-white dark:active:enabled:bg-muted-700;
|
123
|
-
@apply focus-visible:bg-muted-50 dark:focus-visible:bg-muted-600;
|
124
|
-
@apply border border-muted-300 dark:border-muted-600;
|
125
|
-
@apply hover:enabled:border-muted-200 dark:hover:enabled:border-muted-500;
|
126
|
-
|
127
|
-
&.nui-button-shadow {
|
128
|
-
@apply enabled:shadow-xl enabled:shadow-muted-500/30 dark:enabled:shadow-muted-800/20;
|
129
|
-
}
|
130
|
-
|
131
|
-
&.nui-button-shadow-hover {
|
132
|
-
@apply hover:enabled:shadow-xl hover:enabled:shadow-muted-500/30 dark:hover:enabled:shadow-muted-800/20;
|
133
|
-
}
|
134
|
-
}
|
135
|
-
|
136
|
-
&.nui-button-default-contrast {
|
137
|
-
@apply text-muted-800 dark:text-muted-100;
|
138
|
-
@apply bg-white dark:bg-muted-950;
|
139
|
-
@apply hover:enabled:bg-muted-50 dark:hover:enabled:bg-muted-900;
|
140
|
-
@apply active:enabled:bg-white dark:active:enabled:bg-muted-950;
|
141
|
-
@apply focus-visible:bg-muted-50 dark:focus-visible:bg-muted-900;
|
142
|
-
@apply border border-muted-300 dark:border-muted-800;
|
143
|
-
@apply hover:enabled:border-muted-200 dark:hover:enabled:border-muted-700;
|
144
|
-
|
145
|
-
&.nui-button-shadow {
|
146
|
-
@apply enabled:shadow-xl enabled:shadow-muted-500/30 dark:enabled:shadow-muted-800/20;
|
147
|
-
}
|
148
|
-
|
149
|
-
&.nui-button-shadow-hover {
|
150
|
-
@apply hover:enabled:shadow-xl hover:enabled:shadow-muted-500/30 dark:hover:enabled:shadow-muted-800/20;
|
151
|
-
}
|
152
|
-
}
|
153
|
-
|
154
|
-
&.nui-button-muted {
|
155
|
-
@apply text-muted-500 dark:text-muted-100;
|
156
|
-
@apply bg-muted-200 dark:bg-muted-700;
|
157
|
-
@apply hover:enabled:bg-muted-100 dark:hover:enabled:bg-muted-600;
|
158
|
-
@apply active:enabled:bg-muted-200 dark:active:enabled:bg-muted-700;
|
159
|
-
@apply focus-visible:bg-muted-100 dark:focus-visible:bg-muted-600;
|
160
|
-
@apply border border-muted-200 dark:border-muted-700;
|
161
|
-
@apply border-muted-100 dark:border-muted-600;
|
162
|
-
|
163
|
-
&.nui-button-shadow {
|
164
|
-
@apply enabled:shadow-xl enabled:shadow-muted-500/30 dark:enabled:shadow-muted-800/20;
|
165
|
-
}
|
166
|
-
|
167
|
-
&.nui-button-shadow-hover {
|
168
|
-
@apply hover:enabled:shadow-xl hover:enabled:shadow-muted-500/30 dark:hover:enabled:shadow-muted-800/20;
|
169
|
-
}
|
170
|
-
}
|
171
|
-
|
172
|
-
&.nui-button-muted-contrast {
|
173
|
-
@apply text-muted-500 dark:text-muted-100;
|
174
|
-
@apply bg-muted-200 dark:bg-muted-950;
|
175
|
-
@apply hover:enabled:bg-muted-100 dark:hover:enabled:bg-muted-900;
|
176
|
-
@apply active:enabled:bg-muted-200 dark:active:enabled:bg-muted-950;
|
177
|
-
@apply focus-visible:bg-muted-100 dark:focus-visible:bg-muted-900;
|
178
|
-
@apply border border-muted-200 dark:border-muted-800;
|
179
|
-
@apply hover:enabled:border-muted-100 dark:hover:enabled:border-muted-700;
|
180
|
-
|
181
|
-
&.nui-button-shadow {
|
182
|
-
@apply enabled:shadow-xl enabled:shadow-muted-500/30 dark:enabled:shadow-muted-800/20;
|
183
|
-
}
|
184
|
-
|
185
|
-
&.nui-button-shadow-hover {
|
186
|
-
@apply hover:enabled:shadow-xl hover:enabled:shadow-muted-500/30 dark:hover:enabled:shadow-muted-800/20;
|
187
|
-
}
|
188
|
-
}
|
189
|
-
|
190
|
-
&.nui-button-light {
|
191
|
-
@apply text-muted-500 dark:text-muted-100;
|
192
|
-
@apply bg-muted-200 dark:bg-muted-700;
|
193
|
-
@apply hover:enabled:bg-muted-100 dark:hover:enabled:bg-muted-600;
|
194
|
-
@apply active:enabled:bg-muted-200 dark:active:enabled:bg-muted-700;
|
195
|
-
@apply focus-visible:bg-muted-100 dark:focus-visible:bg-muted-600;
|
196
|
-
@apply border border-muted-200 dark:border-muted-700;
|
197
|
-
@apply border-muted-100 dark:border-muted-600;
|
198
|
-
|
199
|
-
&.nui-button-shadow {
|
200
|
-
@apply enabled:shadow-xl enabled:shadow-muted-500/30 dark:enabled:shadow-muted-800/20;
|
201
|
-
}
|
202
|
-
|
203
|
-
&.nui-button-shadow-hover {
|
204
|
-
@apply hover:enabled:shadow-xl hover:enabled:shadow-muted-500/30 dark:hover:enabled:shadow-muted-800/20;
|
205
|
-
}
|
206
|
-
}
|
207
|
-
|
208
|
-
&.nui-button-dark {
|
209
|
-
@apply text-muted-100 dark:text-muted-900;
|
210
|
-
@apply bg-muted-900 dark:bg-muted-100;
|
211
|
-
@apply hover:enabled:bg-muted-800 dark:hover:enabled:bg-muted-50;
|
212
|
-
@apply active:enabled:bg-muted-900 dark:active:enabled:bg-muted-100;
|
213
|
-
@apply focus-visible:bg-muted-800 dark:focus-visible:bg-muted-50;
|
214
|
-
@apply border border-muted-900 dark:border-muted-100;
|
215
|
-
@apply border-muted-800 dark:border-muted-50;
|
216
|
-
|
217
|
-
&.nui-button-shadow {
|
218
|
-
@apply enabled:shadow-xl enabled:shadow-muted-800/20 dark:enabled:shadow-muted-800/20;
|
219
|
-
}
|
220
|
-
|
221
|
-
&.nui-button-shadow-hover {
|
222
|
-
@apply hover:enabled:shadow-xl hover:enabled:shadow-muted-800/20 dark:hover:enabled:shadow-muted-800/20;
|
223
|
-
}
|
224
|
-
}
|
225
|
-
|
226
|
-
&.nui-button-black {
|
227
|
-
@apply text-white dark:text-black;
|
228
|
-
@apply bg-black dark:bg-white;
|
229
|
-
@apply hover:enabled:bg-black/90 dark:hover:enabled:bg-white/90;
|
230
|
-
@apply active:enabled:bg-black dark:active:enabled:bg-white;
|
231
|
-
@apply focus-visible:bg-black/90 dark:focus-visible:bg-white/90;
|
232
|
-
@apply border border-black dark:border-white;
|
233
|
-
@apply border-black/90 dark:border-white/90;
|
234
|
-
|
235
|
-
&.nui-button-shadow {
|
236
|
-
@apply enabled:shadow-xl enabled:shadow-muted-800/20 dark:enabled:shadow-muted-800/20;
|
237
|
-
}
|
238
|
-
|
239
|
-
&.nui-button-shadow-hover {
|
240
|
-
@apply hover:enabled:shadow-xl hover:enabled:shadow-muted-800/20 dark:hover:enabled:shadow-muted-800/20;
|
241
|
-
}
|
242
|
-
}
|
243
|
-
|
244
|
-
&.nui-button-primary {
|
245
|
-
@apply text-primary-invert dark:text-primary-invert;
|
246
|
-
@apply bg-primary-500 dark:bg-primary-500;
|
247
|
-
@apply hover:enabled:bg-primary-400 dark:hover:enabled:bg-primary-400;
|
248
|
-
@apply active:enabled:bg-primary-500 dark:active:enabled:bg-primary-500;
|
249
|
-
@apply focus-visible:bg-primary-400 dark:focus-visible:bg-primary-400;
|
250
|
-
|
251
|
-
&.nui-button-shadow {
|
252
|
-
@apply enabled:shadow-xl enabled:shadow-primary-500/50 dark:enabled:shadow-primary-800/50;
|
253
|
-
}
|
254
|
-
|
255
|
-
&.nui-button-shadow-hover {
|
256
|
-
@apply hover:enabled:shadow-xl hover:enabled:shadow-primary-500/50 dark:hover:enabled:shadow-primary-800/50;
|
257
|
-
}
|
258
|
-
}
|
259
|
-
|
260
|
-
&.nui-button-info {
|
261
|
-
@apply text-white text-white;
|
262
|
-
@apply bg-info-500 dark:bg-info-500;
|
263
|
-
@apply hover:enabled:bg-info-400 dark:hover:enabled:bg-info-400;
|
264
|
-
@apply active:enabled:bg-info-500 dark:active:enabled:bg-info-500;
|
265
|
-
@apply focus-visible:bg-info-400 dark:focus-visible:bg-info-400;
|
266
|
-
|
267
|
-
&.nui-button-shadow {
|
268
|
-
@apply enabled:shadow-xl enabled:shadow-info-500/50 dark:enabled:shadow-info-800/50;
|
269
|
-
}
|
270
|
-
|
271
|
-
&.nui-button-shadow-hover {
|
272
|
-
@apply hover:enabled:shadow-xl hover:enabled:shadow-info-500/50 dark:hover:enabled:shadow-info-800/50;
|
273
|
-
}
|
274
|
-
}
|
275
|
-
|
276
|
-
&.nui-button-success {
|
277
|
-
@apply text-white text-white;
|
278
|
-
@apply bg-success-500 dark:bg-success-500;
|
279
|
-
@apply hover:enabled:bg-success-400 dark:hover:enabled:bg-success-400;
|
280
|
-
@apply active:enabled:bg-success-500 dark:active:enabled:bg-success-500;
|
281
|
-
@apply focus-visible:bg-success-400 dark:focus-visible:bg-success-400;
|
282
|
-
|
283
|
-
&.nui-button-shadow {
|
284
|
-
@apply enabled:shadow-xl enabled:shadow-success-500/50 dark:enabled:shadow-success-800/50;
|
285
|
-
}
|
286
|
-
|
287
|
-
&.nui-button-shadow-hover {
|
288
|
-
@apply hover:enabled:shadow-xl hover:enabled:shadow-success-500/50 dark:hover:enabled:shadow-success-800/50;
|
289
|
-
}
|
290
|
-
}
|
291
|
-
|
292
|
-
&.nui-button-warning {
|
293
|
-
@apply text-white text-white;
|
294
|
-
@apply bg-warning-500 dark:bg-warning-500;
|
295
|
-
@apply hover:enabled:bg-warning-400 dark:hover:enabled:bg-warning-400;
|
296
|
-
@apply active:enabled:bg-warning-500 dark:active:enabled:bg-warning-500;
|
297
|
-
@apply focus-visible:bg-warning-400 dark:focus-visible:bg-warning-400;
|
298
|
-
|
299
|
-
&.nui-button-shadow {
|
300
|
-
@apply enabled:shadow-xl enabled:shadow-warning-500/50 dark:enabled:shadow-warning-800/50;
|
301
|
-
}
|
302
|
-
|
303
|
-
&.nui-button-shadow-hover {
|
304
|
-
@apply hover:enabled:shadow-xl hover:enabled:shadow-warning-500/50 dark:hover:enabled:shadow-warning-800/50;
|
305
|
-
}
|
306
|
-
}
|
307
|
-
|
308
|
-
&.nui-button-danger {
|
309
|
-
@apply text-white text-white;
|
310
|
-
@apply bg-danger-500 dark:bg-danger-500;
|
311
|
-
@apply hover:enabled:bg-danger-400 dark:hover:enabled:bg-danger-400;
|
312
|
-
@apply active:enabled:bg-danger-500 dark:active:enabled:bg-danger-500;
|
313
|
-
@apply focus-visible:bg-danger-400 dark:focus-visible:bg-danger-400;
|
314
|
-
|
315
|
-
&.nui-button-shadow {
|
316
|
-
@apply enabled:shadow-xl enabled:shadow-danger-500/50 dark:enabled:shadow-danger-800/50;
|
317
|
-
}
|
318
|
-
|
319
|
-
&.nui-button-shadow-hover {
|
320
|
-
@apply hover:enabled:shadow-xl hover:enabled:shadow-danger-500/50 dark:hover:enabled:shadow-danger-800/50;
|
321
|
-
}
|
322
|
-
}
|
323
|
-
}
|
324
|
-
@utility nui-button-pastel {
|
325
|
-
&.nui-button-default, &.nui-button-default-contrast {
|
326
|
-
@apply text-muted-800 dark:text-muted-100;
|
327
|
-
@apply bg-muted-500/10 dark:bg-muted-500/10;
|
328
|
-
@apply hover:enabled:bg-muted-500/20 dark:hover:enabled:bg-muted-500/20;
|
329
|
-
@apply active:enabled:bg-muted-500/10 dark:active:enabled:bg-muted-500/10;
|
330
|
-
@apply focus-visible:bg-muted-500/20 dark:focus-visible:bg-muted-500/20;
|
331
|
-
}
|
332
|
-
|
333
|
-
&.nui-button-muted, &.nui-button-muted-contrast {
|
334
|
-
@apply text-muted-800 dark:text-muted-100;
|
335
|
-
@apply bg-muted-500/10 dark:bg-muted-500/10;
|
336
|
-
@apply hover:enabled:bg-muted-500/20 dark:hover:enabled:bg-muted-500/20;
|
337
|
-
@apply active:enabled:bg-muted-500/10 dark:active:enabled:bg-muted-500/10;
|
338
|
-
@apply focus-visible:bg-muted-500/20 dark:focus-visible:bg-muted-500/20;
|
339
|
-
}
|
340
|
-
|
341
|
-
&.nui-button-light {
|
342
|
-
@apply text-muted-800 dark:text-muted-100;
|
343
|
-
@apply bg-white/30 dark:bg-white/20;
|
344
|
-
@apply hover:enabled:bg-white/20 dark:hover:enabled:bg-white/10;
|
345
|
-
@apply active:enabled:bg-white/30 dark:active:enabled:bg-white/20;
|
346
|
-
@apply focus-visible:bg-white/20 dark:focus-visible:bg-white/10;
|
347
|
-
}
|
348
|
-
|
349
|
-
&.nui-button-dark {
|
350
|
-
@apply text-muted-800 dark:text-muted-100;
|
351
|
-
@apply bg-muted-500/10 dark:bg-muted-500/10;
|
352
|
-
@apply hover:enabled:bg-muted-500/20 dark:hover:enabled:bg-muted-500/20;
|
353
|
-
@apply active:enabled:bg-muted-500/10 dark:active:enabled:bg-muted-500/10;
|
354
|
-
@apply focus-visible:bg-muted-500/20 dark:focus-visible:bg-muted-500/20;
|
355
|
-
}
|
356
|
-
|
357
|
-
&.nui-button-black {
|
358
|
-
@apply text-black dark:text-white;
|
359
|
-
@apply bg-black/10 dark:bg-black/10;
|
360
|
-
@apply hover:enabled:bg-black/20 dark:hover:enabled:bg-black/20;
|
361
|
-
@apply active:enabled:bg-black/10 dark:active:enabled:bg-black/10;
|
362
|
-
@apply focus-visible:bg-black/20 dark:focus-visible:bg-black/20;
|
363
|
-
}
|
364
|
-
|
365
|
-
&.nui-button-primary {
|
366
|
-
@apply text-primary-500 dark:text-primary-500;
|
367
|
-
@apply bg-primary-500/10 dark:bg-primary-500/10;
|
368
|
-
@apply hover:enabled:bg-primary-500/20 dark:hover:enabled:bg-primary-500/20;
|
369
|
-
@apply active:enabled:bg-primary-500/10 dark:active:enabled:bg-primary-500/10;
|
370
|
-
@apply focus-visible:bg-primary-500/20 dark:focus-visible:bg-primary-500/20;
|
371
|
-
}
|
372
|
-
|
373
|
-
&.nui-button-info {
|
374
|
-
@apply text-info-500 dark:text-info-500;
|
375
|
-
@apply bg-info-500/10 dark:bg-info-500/10;
|
376
|
-
@apply hover:enabled:bg-info-500/20 dark:hover:enabled:bg-info-500/20;
|
377
|
-
@apply active:enabled:bg-info-500/10 dark:active:enabled:bg-info-500/10;
|
378
|
-
@apply focus-visible:bg-info-500/20 dark:focus-visible:bg-info-500/20;
|
379
|
-
}
|
380
|
-
|
381
|
-
&.nui-button-success {
|
382
|
-
@apply text-success-500 dark:text-success-500;
|
383
|
-
@apply bg-success-500/10 dark:bg-success-500/10;
|
384
|
-
@apply hover:enabled:bg-success-500/20 dark:hover:enabled:bg-success-500/20;
|
385
|
-
@apply active:enabled:bg-success-500/10 dark:active:enabled:bg-success-500/10;
|
386
|
-
@apply focus-visible:bg-success-500/20 dark:focus-visible:bg-success-500/20;
|
387
|
-
}
|
388
|
-
|
389
|
-
&.nui-button-warning {
|
390
|
-
@apply text-warning-500 dark:text-warning-500;
|
391
|
-
@apply bg-warning-500/10 dark:bg-warning-500/10;
|
392
|
-
@apply hover:enabled:bg-warning-500/20 dark:hover:enabled:bg-warning-500/20;
|
393
|
-
@apply active:enabled:bg-warning-500/10 dark:active:enabled:bg-warning-500/10;
|
394
|
-
@apply focus-visible:bg-warning-500/20 dark:focus-visible:bg-warning-500/20;
|
395
|
-
}
|
396
|
-
|
397
|
-
&.nui-button-danger {
|
398
|
-
@apply text-danger-500 dark:text-danger-500;
|
399
|
-
@apply bg-danger-500/10 dark:bg-danger-500/10;
|
400
|
-
@apply hover:enabled:bg-danger-500/20 dark:hover:enabled:bg-danger-500/20;
|
401
|
-
@apply active:enabled:bg-danger-500/10 dark:active:enabled:bg-danger-500/10;
|
402
|
-
@apply focus-visible:bg-danger-500/20 dark:focus-visible:bg-danger-500/20;
|
403
|
-
}
|
404
|
-
}
|
405
|
-
@utility nui-button-outline {
|
406
|
-
&.nui-button-default, &.nui-button-default-contrast {
|
407
|
-
@apply text-muted-500 dark:text-white;
|
408
|
-
@apply hover:enabled:text-white dark:hover:enabled:text-muted-800;
|
409
|
-
@apply focus-visible:text-muted-800 dark:focus-visible:text-muted-800;
|
410
|
-
@apply active:enabled:text-white dark:active:enabled:text-muted-800;
|
411
|
-
@apply bg-transparent dark:bg-transparent;
|
412
|
-
@apply hover:enabled:bg-muted-500 dark:hover:enabled:bg-white;
|
413
|
-
@apply active:enabled:bg-muted-400 dark:active:enabled:bg-muted-700;
|
414
|
-
@apply focus-visible:bg-muted-500 dark:focus-visible:bg-muted-800;
|
415
|
-
@apply border-2 border-muted-500 dark:border-white;
|
416
|
-
|
417
|
-
&.nui-button-shadow-hover {
|
418
|
-
@apply hover:enabled:shadow-xl hover:enabled:shadow-muted-500/50 dark:hover:enabled:shadow-muted-800/20;
|
419
|
-
}
|
420
|
-
}
|
421
|
-
|
422
|
-
&.nui-button-light {
|
423
|
-
@apply text-white dark:text-white;
|
424
|
-
@apply hover:enabled:text-muted-800 dark:hover:enabled:text-muted-800;
|
425
|
-
@apply focus-visible:text-muted-800 dark:focus-visible:text-muted-800;
|
426
|
-
@apply active:enabled:text-muted-800 dark:active:enabled:text-muted-800;
|
427
|
-
@apply bg-transparent dark:bg-transparent;
|
428
|
-
@apply hover:enabled:bg-white dark:hover:enabled:bg-white;
|
429
|
-
@apply active:enabled:bg-muted-800 dark:active:enabled:bg-muted-800;
|
430
|
-
@apply focus-visible:bg-white dark:focus-visible:bg-white;
|
431
|
-
@apply border-2 border-white dark:border-white;
|
432
|
-
|
433
|
-
&.nui-button-shadow-hover {
|
434
|
-
@apply hover:enabled:shadow-xl hover:enabled:shadow-muted-500/50 dark:hover:enabled:shadow-muted-800/20;
|
435
|
-
}
|
436
|
-
}
|
437
|
-
|
438
|
-
&.nui-button-muted, &.nui-button-muted-contrast {
|
439
|
-
@apply text-muted-400 dark:text-white;
|
440
|
-
@apply hover:enabled:text-white dark:hover:enabled:text-muted-800;
|
441
|
-
@apply focus-visible:text-muted-800 dark:focus-visible:text-muted-800;
|
442
|
-
@apply active:enabled:text-white dark:active:enabled:text-muted-800;
|
443
|
-
@apply bg-transparent dark:bg-transparent;
|
444
|
-
@apply hover:enabled:bg-muted-300 dark:hover:enabled:bg-white;
|
445
|
-
@apply active:enabled:bg-muted-400 dark:active:enabled:bg-white/80;
|
446
|
-
@apply focus-visible:bg-muted-300 dark:focus-visible:bg-white;
|
447
|
-
@apply border-2 border-muted-300 dark:border-white;
|
448
|
-
|
449
|
-
&.nui-button-shadow-hover {
|
450
|
-
@apply hover:enabled:shadow-xl hover:enabled:shadow-muted-500/50 dark:hover:enabled:shadow-muted-800/20;
|
451
|
-
}
|
452
|
-
}
|
453
|
-
|
454
|
-
&.nui-button-dark {
|
455
|
-
@apply text-muted-900 dark:text-white;
|
456
|
-
@apply hover:enabled:text-white dark:hover:enabled:text-muted-900;
|
457
|
-
@apply focus-visible:text-muted-800 dark:focus-visible:text-muted-800;
|
458
|
-
@apply active:enabled:text-white dark:active:enabled:text-muted-900;
|
459
|
-
@apply bg-transparent dark:bg-transparent;
|
460
|
-
@apply hover:enabled:bg-muted-900 dark:hover:enabled:bg-muted-100;
|
461
|
-
@apply active:enabled:bg-muted-800 dark:active:enabled:bg-muted-50;
|
462
|
-
@apply focus-visible:bg-muted-800 dark:focus-visible:bg-muted-50;
|
463
|
-
@apply border-2 border-muted-900 dark:border-white;
|
464
|
-
|
465
|
-
&.nui-button-shadow-hover {
|
466
|
-
@apply hover:enabled:shadow-xl hover:enabled:shadow-muted-500/50 dark:hover:enabled:shadow-muted-800/20;
|
467
|
-
}
|
468
|
-
}
|
469
|
-
|
470
|
-
&.nui-button-black {
|
471
|
-
@apply text-black dark:text-white;
|
472
|
-
@apply hover:enabled:text-white dark:hover:enabled:text-black;
|
473
|
-
@apply focus-visible:text-black/90 dark:focus-visible:text-black/90;
|
474
|
-
@apply active:enabled:text-white dark:active:enabled:text-black;
|
475
|
-
@apply bg-transparent dark:bg-transparent;
|
476
|
-
@apply hover:enabled:bg-black dark:hover:enabled:bg-white;
|
477
|
-
@apply active:enabled:bg-black/90 dark:active:enabled:bg-white/90;
|
478
|
-
@apply focus-visible:bg-black/90 dark:focus-visible:bg-white/90;
|
479
|
-
@apply border-2 border-black dark:border-white;
|
480
|
-
|
481
|
-
&.nui-button-shadow-hover {
|
482
|
-
@apply hover:enabled:shadow-xl hover:enabled:shadow-muted-500/50 dark:hover:enabled:shadow-muted-800/20;
|
483
|
-
}
|
484
|
-
}
|
485
|
-
|
486
|
-
&.nui-button-primary {
|
487
|
-
@apply text-primary-500 dark:text-primary-500;
|
488
|
-
@apply hover:enabled:text-white dark:hover:enabled:text-white;
|
489
|
-
@apply focus-visible:text-white dark:focus-visible:text-white;
|
490
|
-
@apply active:enabled:text-white dark:active:enabled:text-white;
|
491
|
-
@apply bg-transparent dark:bg-transparent;
|
492
|
-
@apply hover:enabled:bg-primary-500 dark:hover:enabled:bg-primary-500;
|
493
|
-
@apply active:enabled:bg-primary-400 dark:active:enabled:bg-primary-400;
|
494
|
-
@apply focus-visible:bg-primary-500 dark:focus-visible:bg-primary-500;
|
495
|
-
@apply border-2 border-primary-500 dark:border-primary-500;
|
496
|
-
|
497
|
-
&.nui-button-shadow-hover {
|
498
|
-
@apply hover:enabled:shadow-xl hover:enabled:shadow-primary-500/30 dark:hover:enabled:shadow-primary-800/30;
|
499
|
-
}
|
500
|
-
}
|
501
|
-
|
502
|
-
&.nui-button-info {
|
503
|
-
@apply text-info-500 dark:text-info-500;
|
504
|
-
@apply hover:enabled:text-white dark:hover:enabled:text-white;
|
505
|
-
@apply focus-visible:text-white dark:focus-visible:text-white;
|
506
|
-
@apply active:enabled:text-white dark:active:enabled:text-white;
|
507
|
-
@apply bg-transparent dark:bg-transparent;
|
508
|
-
@apply hover:enabled:bg-info-500 dark:hover:enabled:bg-info-500;
|
509
|
-
@apply active:enabled:bg-info-400 dark:active:enabled:bg-info-400;
|
510
|
-
@apply focus-visible:bg-info-500 dark:focus-visible:bg-info-500;
|
511
|
-
@apply border-2 border-info-500 dark:border-info-500;
|
512
|
-
|
513
|
-
&.nui-button-shadow-hover {
|
514
|
-
@apply hover:enabled:shadow-xl hover:enabled:shadow-info-500/30 dark:hover:enabled:shadow-info-800/30;
|
515
|
-
}
|
516
|
-
}
|
517
|
-
|
518
|
-
&.nui-button-success {
|
519
|
-
@apply text-success-500 dark:text-success-500;
|
520
|
-
@apply hover:enabled:text-white dark:hover:enabled:text-white;
|
521
|
-
@apply focus-visible:text-white dark:focus-visible:text-white;
|
522
|
-
@apply active:enabled:text-white dark:active:enabled:text-white;
|
523
|
-
@apply bg-transparent dark:bg-transparent;
|
524
|
-
@apply hover:enabled:bg-success-500 dark:hover:enabled:bg-success-500;
|
525
|
-
@apply active:enabled:bg-success-400 dark:active:enabled:bg-success-400;
|
526
|
-
@apply focus-visible:bg-success-500 dark:focus-visible:bg-success-500;
|
527
|
-
@apply border-2 border-success-500 dark:border-success-500;
|
528
|
-
|
529
|
-
&.nui-button-shadow-hover {
|
530
|
-
@apply hover:enabled:shadow-xl hover:enabled:shadow-success-500/30 dark:hover:enabled:shadow-success-800/30;
|
531
|
-
}
|
532
|
-
}
|
533
|
-
|
534
|
-
&.nui-button-warning {
|
535
|
-
@apply text-warning-500 dark:text-warning-500;
|
536
|
-
@apply hover:enabled:text-white dark:hover:enabled:text-white;
|
537
|
-
@apply focus-visible:text-white dark:focus-visible:text-white;
|
538
|
-
@apply active:enabled:text-white dark:active:enabled:text-white;
|
539
|
-
@apply bg-transparent dark:bg-transparent;
|
540
|
-
@apply hover:enabled:bg-warning-500 dark:hover:enabled:bg-warning-500;
|
541
|
-
@apply active:enabled:bg-warning-400 dark:active:enabled:bg-warning-400;
|
542
|
-
@apply focus-visible:bg-warning-500 dark:focus-visible:bg-warning-500;
|
543
|
-
@apply border-2 border-warning-500 dark:border-warning-500;
|
544
|
-
|
545
|
-
&.nui-button-shadow-hover {
|
546
|
-
@apply hover:enabled:shadow-xl hover:enabled:shadow-warning-500/30 dark:hover:enabled:shadow-warning-800/30;
|
547
|
-
}
|
548
|
-
}
|
549
|
-
|
550
|
-
&.nui-button-danger {
|
551
|
-
@apply text-danger-500 dark:text-danger-500;
|
552
|
-
@apply hover:enabled:text-white dark:hover:enabled:text-white;
|
553
|
-
@apply focus-visible:text-white dark:focus-visible:text-white;
|
554
|
-
@apply active:enabled:text-white dark:active:enabled:text-white;
|
555
|
-
@apply bg-transparent dark:bg-transparent;
|
556
|
-
@apply hover:enabled:bg-danger-500 dark:hover:enabled:bg-danger-500;
|
557
|
-
@apply active:enabled:bg-danger-400 dark:active:enabled:bg-danger-400;
|
558
|
-
@apply focus-visible:bg-danger-500 dark:focus-visible:bg-danger-500;
|
559
|
-
@apply border-2 border-danger-500 dark:border-danger-500;
|
560
|
-
|
561
|
-
&.nui-button-shadow-hover {
|
562
|
-
@apply hover:enabled:shadow-xl hover:enabled:shadow-danger-500/30 dark:hover:enabled:shadow-danger-800/30;
|
563
|
-
}
|
564
|
-
}
|
565
|
-
}
|
package/src/css/card.css
DELETED
@@ -1,69 +0,0 @@
|
|
1
|
-
/* generated using "pnpm jiti scripts/generate-utilities.ts" */
|
2
|
-
/* @utility nui-card */
|
3
|
-
|
4
|
-
@utility nui-card {
|
5
|
-
@apply relative w-full transition-all duration-300;
|
6
|
-
|
7
|
-
&:not(.nui-card-primary):not(.nui-card-info):not(.nui-card-success):not(.nui-card-warning):not(.nui-card-danger) {
|
8
|
-
&.nui-card-shadow {
|
9
|
-
@apply shadow-muted-300/30 dark:shadow-muted-800/30 shadow-xl;
|
10
|
-
}
|
11
|
-
|
12
|
-
&.nui-card-shadow-hover {
|
13
|
-
@apply hover:shadow-muted-300/30 dark:hover:shadow-muted-800/30 hover:shadow-xl;
|
14
|
-
}
|
15
|
-
}
|
16
|
-
}
|
17
|
-
@utility nui-card-default {
|
18
|
-
@apply border border-muted-200 dark:border-muted-700;
|
19
|
-
@apply bg-white dark:bg-muted-800;
|
20
|
-
}
|
21
|
-
@utility nui-card-default-contrast {
|
22
|
-
@apply border border-muted-300 dark:border-muted-800;
|
23
|
-
@apply bg-white dark:bg-muted-950;
|
24
|
-
}
|
25
|
-
@utility nui-card-muted {
|
26
|
-
@apply border border-muted-200 dark:border-muted-700;
|
27
|
-
@apply bg-muted-100 dark:bg-muted-800;
|
28
|
-
}
|
29
|
-
@utility nui-card-muted-contrast {
|
30
|
-
@apply border border-muted-200 dark:border-muted-800;
|
31
|
-
@apply bg-muted-100 dark:bg-muted-950;
|
32
|
-
}
|
33
|
-
@utility nui-card-dark {
|
34
|
-
@apply border border-muted-800 dark:border-muted-50;
|
35
|
-
@apply bg-muted-900 dark:bg-muted-100;
|
36
|
-
}
|
37
|
-
@utility nui-card-black {
|
38
|
-
@apply border border-black dark:border-white;
|
39
|
-
@apply bg-black dark:bg-white;
|
40
|
-
}
|
41
|
-
@utility nui-card-primary {
|
42
|
-
@apply border border-primary-500 dark:border-primary-500;
|
43
|
-
@apply bg-primary-500/10 dark:bg-primary-500/10;
|
44
|
-
}
|
45
|
-
@utility nui-card-info {
|
46
|
-
@apply border border-info-500 dark:border-info-500;
|
47
|
-
@apply bg-info-500/10 dark:bg-info-500/10;
|
48
|
-
}
|
49
|
-
@utility nui-card-success {
|
50
|
-
@apply border border-success-500 dark:border-success-500;
|
51
|
-
@apply bg-success-500/10 dark:bg-success-500/10;
|
52
|
-
}
|
53
|
-
@utility nui-card-warning {
|
54
|
-
@apply border border-warning-500 dark:border-warning-500;
|
55
|
-
@apply bg-warning-500/10 dark:bg-warning-500/10;
|
56
|
-
}
|
57
|
-
@utility nui-card-danger {
|
58
|
-
@apply border border-danger-500 dark:border-danger-500;
|
59
|
-
@apply bg-danger-500/10 dark:bg-danger-500/10;
|
60
|
-
}
|
61
|
-
@utility nui-card-rounded-sm {
|
62
|
-
@apply rounded-md;
|
63
|
-
}
|
64
|
-
@utility nui-card-rounded-md {
|
65
|
-
@apply rounded-lg;
|
66
|
-
}
|
67
|
-
@utility nui-card-rounded-lg {
|
68
|
-
@apply rounded-xl;
|
69
|
-
}
|