@shuriken-ui/tailwind 4.0.0-alpha.5 → 4.0.0-alpha.7
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 +55 -0
- package/lib/css/focus.css +2 -9
- package/lib/css/mark.css +0 -2
- package/lib/css/mask.css +0 -2
- package/lib/css/slimscroll.css +8 -5
- package/lib/index.css +8 -52
- package/lib/theme.css +40 -31
- package/package.json +2 -2
- package/lib/css/accordion.css +0 -175
- package/lib/css/autocomplete.css +0 -510
- package/lib/css/avatar-group.css +0 -137
- package/lib/css/avatar.css +0 -737
- package/lib/css/breadcrumb.css +0 -62
- package/lib/css/button-action.css +0 -107
- package/lib/css/button-close.css +0 -116
- package/lib/css/button-group.css +0 -235
- package/lib/css/button-icon.css +0 -96
- package/lib/css/button.css +0 -564
- package/lib/css/card.css +0 -68
- package/lib/css/checkbox.css +0 -98
- package/lib/css/dropdown-divider.css +0 -5
- package/lib/css/dropdown-item.css +0 -61
- package/lib/css/dropdown.css +0 -101
- package/lib/css/fullscreen-dropfile.css +0 -62
- package/lib/css/heading.css +0 -77
- package/lib/css/icon-box.css +0 -304
- package/lib/css/input-file-regular.css +0 -254
- package/lib/css/input-file.css +0 -223
- package/lib/css/input-help-text.css +0 -6
- package/lib/css/input-number.css +0 -468
- package/lib/css/input.css +0 -402
- package/lib/css/kbd.css +0 -93
- package/lib/css/label.css +0 -5
- package/lib/css/link.css +0 -7
- package/lib/css/list.css +0 -23
- package/lib/css/listbox.css +0 -510
- package/lib/css/message-text.css +0 -71
- package/lib/css/message.css +0 -243
- package/lib/css/modal.css +0 -50
- package/lib/css/pagination.css +0 -92
- package/lib/css/paragraph.css +0 -77
- package/lib/css/placeholder-page.css +0 -43
- package/lib/css/placeload.css +0 -11
- package/lib/css/progress-circle.css +0 -17
- package/lib/css/progress.css +0 -105
- package/lib/css/prose.css +0 -22
- package/lib/css/radio.css +0 -72
- package/lib/css/select.css +0 -403
- package/lib/css/snack.css +0 -100
- package/lib/css/switch-ball.css +0 -93
- package/lib/css/switch-thin.css +0 -75
- package/lib/css/tab-slider.css +0 -189
- package/lib/css/tabs.css +0 -173
- package/lib/css/tag.css +0 -311
- package/lib/css/text.css +0 -77
- package/lib/css/textarea.css +0 -227
- package/lib/css/theme-switch.css +0 -64
- package/lib/css/theme-toggle.css +0 -61
- package/lib/css/toast.css +0 -131
- package/lib/css/tooltip.css +0 -98
package/lib/css/tag.css
DELETED
@@ -1,311 +0,0 @@
|
|
1
|
-
/* @utility nui-tag */
|
2
|
-
|
3
|
-
@utility nui-tag {
|
4
|
-
@apply inline-block px-3 font-sans transition-all duration-300;
|
5
|
-
}
|
6
|
-
@utility nui-tag-sm {
|
7
|
-
@apply py-1;
|
8
|
-
@apply text-[0.65rem];
|
9
|
-
}
|
10
|
-
@utility nui-tag-md {
|
11
|
-
@apply py-1.5;
|
12
|
-
@apply text-xs;
|
13
|
-
}
|
14
|
-
@utility nui-tag-rounded-sm {
|
15
|
-
@apply rounded-sm;
|
16
|
-
}
|
17
|
-
@utility nui-tag-rounded-md {
|
18
|
-
@apply rounded-md;
|
19
|
-
}
|
20
|
-
@utility nui-tag-rounded-lg {
|
21
|
-
@apply rounded-lg;
|
22
|
-
}
|
23
|
-
@utility nui-tag-rounded-full {
|
24
|
-
@apply rounded-full;
|
25
|
-
}
|
26
|
-
@utility nui-tag-solid {
|
27
|
-
&.nui-tag-default {
|
28
|
-
@apply text-muted-600 dark:text-muted-300;
|
29
|
-
@apply bg-white dark:bg-muted-800;
|
30
|
-
@apply border border-muted-300 dark:border-muted-700;
|
31
|
-
|
32
|
-
&.nui-tag-shadow {
|
33
|
-
@apply shadow-xl;
|
34
|
-
}
|
35
|
-
|
36
|
-
&.nui-tag-shadow-hover {
|
37
|
-
@apply hover:shadow-xl;
|
38
|
-
}
|
39
|
-
}
|
40
|
-
|
41
|
-
&.nui-tag-default-contrast {
|
42
|
-
@apply text-muted-600 dark:text-muted-100;
|
43
|
-
@apply bg-white dark:bg-muted-950;
|
44
|
-
@apply border border-muted-300 dark:border-muted-800;
|
45
|
-
|
46
|
-
&.nui-tag-shadow {
|
47
|
-
@apply shadow-xl;
|
48
|
-
}
|
49
|
-
|
50
|
-
&.nui-tag-shadow-hover {
|
51
|
-
@apply hover:shadow-xl;
|
52
|
-
}
|
53
|
-
}
|
54
|
-
|
55
|
-
&.nui-tag-muted {
|
56
|
-
@apply text-muted-500 dark:text-muted-200;
|
57
|
-
@apply bg-muted-100 dark:bg-muted-800;
|
58
|
-
@apply border border-muted-100 dark:border-muted-800;
|
59
|
-
|
60
|
-
&.nui-tag-shadow {
|
61
|
-
@apply shadow-xl;
|
62
|
-
}
|
63
|
-
|
64
|
-
&.nui-tag-shadow-hover {
|
65
|
-
@apply hover:shadow-xl;
|
66
|
-
}
|
67
|
-
}
|
68
|
-
|
69
|
-
&.nui-tag-muted-contrast {
|
70
|
-
@apply text-muted-500 dark:text-muted-200;
|
71
|
-
@apply bg-muted-100 dark:bg-muted-950;
|
72
|
-
@apply border border-muted-100 dark:border-muted-950;
|
73
|
-
|
74
|
-
&.nui-tag-shadow {
|
75
|
-
@apply shadow-xl;
|
76
|
-
}
|
77
|
-
|
78
|
-
&.nui-tag-shadow-hover {
|
79
|
-
@apply hover:shadow-xl;
|
80
|
-
}
|
81
|
-
}
|
82
|
-
|
83
|
-
&.nui-tag-light {
|
84
|
-
@apply text-muted-500 dark:text-muted-100;
|
85
|
-
@apply bg-muted-200 dark:bg-muted-700;
|
86
|
-
@apply border border-muted-200 dark:border-muted-700;
|
87
|
-
|
88
|
-
&.nui-tag-shadow {
|
89
|
-
@apply shadow-xl;
|
90
|
-
}
|
91
|
-
|
92
|
-
&.nui-tag-shadow-hover {
|
93
|
-
@apply hover:shadow-xl;
|
94
|
-
}
|
95
|
-
}
|
96
|
-
|
97
|
-
&.nui-tag-dark {
|
98
|
-
@apply text-muted-100 dark:text-muted-900;
|
99
|
-
@apply bg-muted-900 dark:bg-muted-100;
|
100
|
-
@apply border border-muted-900 dark:border-muted-100;
|
101
|
-
|
102
|
-
&.nui-tag-shadow {
|
103
|
-
@apply shadow-xl;
|
104
|
-
}
|
105
|
-
|
106
|
-
&.nui-tag-shadow-hover {
|
107
|
-
@apply hover:shadow-xl;
|
108
|
-
}
|
109
|
-
}
|
110
|
-
|
111
|
-
&.nui-tag-black {
|
112
|
-
@apply text-white dark:text-black;
|
113
|
-
@apply bg-black dark:bg-white;
|
114
|
-
@apply border border-black dark:border-white;
|
115
|
-
|
116
|
-
&.nui-tag-shadow {
|
117
|
-
@apply shadow-xl;
|
118
|
-
}
|
119
|
-
|
120
|
-
&.nui-tag-shadow-hover {
|
121
|
-
@apply hover:shadow-xl;
|
122
|
-
}
|
123
|
-
}
|
124
|
-
|
125
|
-
&.nui-tag-primary {
|
126
|
-
@apply text-white dark:text-white;
|
127
|
-
@apply bg-primary-500 dark:bg-primary-500;
|
128
|
-
@apply border border-primary-500 dark:border-primary-500;
|
129
|
-
|
130
|
-
&.nui-tag-shadow {
|
131
|
-
@apply shadow-xl shadow-primary-500/30 shadow-primary-500/20;
|
132
|
-
}
|
133
|
-
|
134
|
-
&.nui-tag-shadow-hover {
|
135
|
-
@apply hover:shadow-xl hover:shadow-primary-500/30 hover:shadow-primary-500/20;
|
136
|
-
}
|
137
|
-
}
|
138
|
-
|
139
|
-
&.nui-tag-info {
|
140
|
-
@apply text-white dark:text-white;
|
141
|
-
@apply bg-info-500 dark:bg-info-500;
|
142
|
-
@apply border border-info-500 dark:border-info-500;
|
143
|
-
|
144
|
-
&.nui-tag-shadow {
|
145
|
-
@apply shadow-xl shadow-info-500/30 shadow-info-500/20;
|
146
|
-
}
|
147
|
-
|
148
|
-
&.nui-tag-shadow-hover {
|
149
|
-
@apply hover:shadow-xl hover:shadow-info-500/30 hover:shadow-info-500/20;
|
150
|
-
}
|
151
|
-
}
|
152
|
-
|
153
|
-
&.nui-tag-success {
|
154
|
-
@apply text-white dark:text-white;
|
155
|
-
@apply bg-success-500 dark:bg-success-500;
|
156
|
-
@apply border border-success-500 dark:border-success-500;
|
157
|
-
|
158
|
-
&.nui-tag-shadow {
|
159
|
-
@apply shadow-xl shadow-success-500/30 shadow-success-500/20;
|
160
|
-
}
|
161
|
-
|
162
|
-
&.nui-tag-shadow-hover {
|
163
|
-
@apply hover:shadow-xl hover:shadow-success-500/30 hover:shadow-success-500/20;
|
164
|
-
}
|
165
|
-
}
|
166
|
-
|
167
|
-
&.nui-tag-warning {
|
168
|
-
@apply text-white dark:text-white;
|
169
|
-
@apply bg-warning-500 dark:bg-warning-500;
|
170
|
-
@apply border border-warning-500 dark:border-warning-500;
|
171
|
-
|
172
|
-
&.nui-tag-shadow {
|
173
|
-
@apply shadow-xl shadow-warning-500/30 shadow-warning-500/20;
|
174
|
-
}
|
175
|
-
|
176
|
-
&.nui-tag-shadow-hover {
|
177
|
-
@apply hover:shadow-xl hover:shadow-warning-500/30 hover:shadow-warning-500/20;
|
178
|
-
}
|
179
|
-
}
|
180
|
-
|
181
|
-
&.nui-tag-danger {
|
182
|
-
@apply text-white dark:text-white;
|
183
|
-
@apply bg-danger-500 dark:bg-danger-500;
|
184
|
-
@apply border border-danger-500 dark:border-danger-500;
|
185
|
-
|
186
|
-
&.nui-tag-shadow {
|
187
|
-
@apply shadow-xl shadow-danger-500/30 shadow-danger-500/20;
|
188
|
-
}
|
189
|
-
|
190
|
-
&.nui-tag-shadow-hover {
|
191
|
-
@apply hover:shadow-xl hover:shadow-danger-500/30 hover:shadow-danger-500/20;
|
192
|
-
}
|
193
|
-
}
|
194
|
-
}
|
195
|
-
@utility nui-tag-pastel {
|
196
|
-
&.nui-tag-default, &.nui-tag-default-contrast {
|
197
|
-
@apply text-muted-500 dark:text-muted-100;
|
198
|
-
@apply bg-muted-100 dark:bg-muted-100/10;
|
199
|
-
@apply border border-muted-100 dark:border-muted-100/10;
|
200
|
-
}
|
201
|
-
|
202
|
-
&.nui-tag-muted, &.nui-tag-muted-contrast {
|
203
|
-
@apply text-muted-500 dark:text-muted-200;
|
204
|
-
@apply bg-muted-100 dark:bg-muted-800;
|
205
|
-
@apply border border-muted-100 dark:border-muted-800;
|
206
|
-
}
|
207
|
-
|
208
|
-
&.nui-tag-light {
|
209
|
-
@apply text-muted-800 dark:text-muted-100;
|
210
|
-
@apply bg-white/30 dark:bg-white/20;
|
211
|
-
@apply border border-white/30 dark:border-white/20;
|
212
|
-
}
|
213
|
-
|
214
|
-
&.nui-tag-dark {
|
215
|
-
@apply text-muted-100 dark:text-muted-900;
|
216
|
-
@apply bg-muted-900 dark:bg-muted-100;
|
217
|
-
@apply border border-muted-900 dark:border-muted-100;
|
218
|
-
}
|
219
|
-
|
220
|
-
&.nui-tag-black {
|
221
|
-
@apply text-white dark:text-black;
|
222
|
-
@apply bg-black dark:bg-white;
|
223
|
-
@apply border border-black dark:border-white;
|
224
|
-
}
|
225
|
-
|
226
|
-
&.nui-tag-primary {
|
227
|
-
@apply text-primary-500 dark:text-primary-500;
|
228
|
-
@apply bg-primary-500/20 dark:bg-primary-500/10;
|
229
|
-
@apply border border-primary-500/20 dark:border-primary-500/10;
|
230
|
-
}
|
231
|
-
|
232
|
-
&.nui-tag-info {
|
233
|
-
@apply text-info-500 dark:text-info-500;
|
234
|
-
@apply bg-info-500/20 dark:bg-info-500/10;
|
235
|
-
@apply border border-info-500/20 dark:border-info-500/10;
|
236
|
-
}
|
237
|
-
|
238
|
-
&.nui-tag-success {
|
239
|
-
@apply text-success-500 dark:text-success-500;
|
240
|
-
@apply bg-success-500/20 dark:bg-success-500/10;
|
241
|
-
@apply border border-success-500/20 dark:border-success-500/10;
|
242
|
-
}
|
243
|
-
|
244
|
-
&.nui-tag-warning {
|
245
|
-
@apply text-warning-500 dark:text-warning-500;
|
246
|
-
@apply bg-warning-500/20 dark:bg-warning-500/10;
|
247
|
-
@apply border border-warning-500/20 dark:border-warning-500/10;
|
248
|
-
}
|
249
|
-
|
250
|
-
&.nui-tag-danger {
|
251
|
-
@apply text-danger-500 dark:text-danger-500;
|
252
|
-
@apply bg-danger-500/20 dark:bg-danger-500/10;
|
253
|
-
@apply border border-danger-500/20 dark:border-danger-500/10;
|
254
|
-
}
|
255
|
-
}
|
256
|
-
@utility nui-tag-outline {
|
257
|
-
&.nui-tag-default, &.nui-tag-default-contrast {
|
258
|
-
@apply text-muted-500 dark:text-muted-100;
|
259
|
-
@apply border border-muted-500 dark:border-muted-100;
|
260
|
-
}
|
261
|
-
|
262
|
-
&.nui-tag-muted, &.nui-tag-muted-contrast {
|
263
|
-
@apply text-muted-400 dark:text-muted-100;
|
264
|
-
@apply border border-muted-400 dark:border-muted-100;
|
265
|
-
}
|
266
|
-
|
267
|
-
&.nui-tag-light {
|
268
|
-
@apply text-muted-100 dark:text-muted-100;
|
269
|
-
@apply border border-muted-100 dark:border-muted-100;
|
270
|
-
}
|
271
|
-
|
272
|
-
&.nui-tag-dark {
|
273
|
-
@apply text-muted-900 dark:text-muted-100;
|
274
|
-
@apply border border-muted-900 dark:border-muted-100;
|
275
|
-
}
|
276
|
-
|
277
|
-
&.nui-tag-black {
|
278
|
-
@apply text-black dark:text-white;
|
279
|
-
@apply border border-black dark:border-white;
|
280
|
-
}
|
281
|
-
|
282
|
-
&.nui-tag-primary {
|
283
|
-
@apply text-primary-500 dark:text-primary-500;
|
284
|
-
@apply border border-primary-500 dark:border-primary-500;
|
285
|
-
@apply bg-transparent dark:bg-transparent;
|
286
|
-
}
|
287
|
-
|
288
|
-
&.nui-tag-info {
|
289
|
-
@apply text-info-500 dark:text-info-500;
|
290
|
-
@apply border border-info-500 dark:border-info-500;
|
291
|
-
@apply bg-transparent dark:bg-transparent;
|
292
|
-
}
|
293
|
-
|
294
|
-
&.nui-tag-success {
|
295
|
-
@apply text-success-500 dark:text-success-500;
|
296
|
-
@apply border border-success-500 dark:border-success-500;
|
297
|
-
@apply bg-transparent dark:bg-transparent;
|
298
|
-
}
|
299
|
-
|
300
|
-
&.nui-tag-warning {
|
301
|
-
@apply text-warning-500 dark:text-warning-500;
|
302
|
-
@apply border border-warning-500 dark:border-warning-500;
|
303
|
-
@apply bg-transparent dark:bg-transparent;
|
304
|
-
}
|
305
|
-
|
306
|
-
&.nui-tag-danger {
|
307
|
-
@apply text-danger-500 dark:text-danger-500;
|
308
|
-
@apply border border-danger-500 dark:border-danger-500;
|
309
|
-
@apply bg-transparent dark:bg-transparent;
|
310
|
-
}
|
311
|
-
}
|
package/lib/css/text.css
DELETED
@@ -1,77 +0,0 @@
|
|
1
|
-
/* @utility nui-text */
|
2
|
-
|
3
|
-
@utility nui-text {
|
4
|
-
@apply font-sans;
|
5
|
-
}
|
6
|
-
@utility nui-text-content-xs {
|
7
|
-
@apply text-xs;
|
8
|
-
}
|
9
|
-
@utility nui-text-content-sm {
|
10
|
-
@apply text-sm;
|
11
|
-
}
|
12
|
-
@utility nui-text-content-md {
|
13
|
-
@apply text-base;
|
14
|
-
}
|
15
|
-
@utility nui-text-content-lg {
|
16
|
-
@apply text-lg;
|
17
|
-
}
|
18
|
-
@utility nui-text-content-xl {
|
19
|
-
@apply text-xl;
|
20
|
-
}
|
21
|
-
@utility nui-text-content-2xl {
|
22
|
-
@apply text-2xl;
|
23
|
-
}
|
24
|
-
@utility nui-text-content-3xl {
|
25
|
-
@apply text-3xl;
|
26
|
-
}
|
27
|
-
@utility nui-text-content-4xl {
|
28
|
-
@apply text-4xl;
|
29
|
-
}
|
30
|
-
@utility nui-text-content-5xl {
|
31
|
-
@apply text-5xl;
|
32
|
-
}
|
33
|
-
@utility nui-text-content-6xl {
|
34
|
-
@apply text-6xl;
|
35
|
-
}
|
36
|
-
@utility nui-text-content-7xl {
|
37
|
-
@apply text-7xl;
|
38
|
-
}
|
39
|
-
@utility nui-text-content-8xl {
|
40
|
-
@apply text-8xl;
|
41
|
-
}
|
42
|
-
@utility nui-text-content-9xl {
|
43
|
-
@apply text-9xl;
|
44
|
-
}
|
45
|
-
@utility nui-text-weight-light {
|
46
|
-
@apply font-light;
|
47
|
-
}
|
48
|
-
@utility nui-text-weight-normal {
|
49
|
-
@apply font-normal;
|
50
|
-
}
|
51
|
-
@utility nui-text-weight-medium {
|
52
|
-
@apply font-medium;
|
53
|
-
}
|
54
|
-
@utility nui-text-weight-semibold {
|
55
|
-
@apply font-semibold;
|
56
|
-
}
|
57
|
-
@utility nui-text-weight-bold {
|
58
|
-
@apply font-bold;
|
59
|
-
}
|
60
|
-
@utility nui-text-weight-extrabold {
|
61
|
-
@apply font-extrabold;
|
62
|
-
}
|
63
|
-
@utility nui-text-lead-none {
|
64
|
-
@apply leading-none;
|
65
|
-
}
|
66
|
-
@utility nui-text-lead-normal {
|
67
|
-
@apply leading-normal;
|
68
|
-
}
|
69
|
-
@utility nui-text-lead-tight {
|
70
|
-
@apply leading-tight;
|
71
|
-
}
|
72
|
-
@utility nui-text-lead-snug {
|
73
|
-
@apply leading-snug;
|
74
|
-
}
|
75
|
-
@utility nui-text-lead-loose {
|
76
|
-
@apply leading-loose;
|
77
|
-
}
|
package/lib/css/textarea.css
DELETED
@@ -1,227 +0,0 @@
|
|
1
|
-
/* @utility nui-textarea */
|
2
|
-
|
3
|
-
@utility nui-textarea-wrapper {
|
4
|
-
@apply relative;
|
5
|
-
|
6
|
-
.nui-textarea-label, .nui-label-float {
|
7
|
-
@apply nui-label;
|
8
|
-
}
|
9
|
-
|
10
|
-
&:not(.nui-textarea-loading) {
|
11
|
-
.nui-textarea:placeholder-shown ~ .nui-label-float {
|
12
|
-
@apply text-muted-300 dark:text-muted-600;
|
13
|
-
}
|
14
|
-
}
|
15
|
-
|
16
|
-
&:not(.nui-has-addon) {
|
17
|
-
.nui-textarea {
|
18
|
-
@apply p-2;
|
19
|
-
}
|
20
|
-
}
|
21
|
-
}
|
22
|
-
@utility nui-label-float {
|
23
|
-
@apply h-5 absolute inline-flex items-center select-none pointer-events-none;
|
24
|
-
@apply font-sans text-primary-500 leading-none;
|
25
|
-
@apply transition-all duration-300;
|
26
|
-
}
|
27
|
-
@utility nui-textarea-outer {
|
28
|
-
@apply relative flex flex-col;
|
29
|
-
}
|
30
|
-
@utility nui-textarea {
|
31
|
-
@apply nui-focus w-full enabled:cursor-text cursor-not-allowed;
|
32
|
-
|
33
|
-
&:focus-visible ~ .nui-label-float {
|
34
|
-
@apply !text-primary-500 dark:!text-primary-500;
|
35
|
-
}
|
36
|
-
|
37
|
-
&.nui-textarea-focus {
|
38
|
-
@apply focus:!border-primary-500 dark:focus:!border-primary-500;
|
39
|
-
@apply transition-colors duration-300;
|
40
|
-
}
|
41
|
-
}
|
42
|
-
@utility nui-textarea-placeload {
|
43
|
-
@apply absolute start-0 top-4 flex h-full w-full flex-col space-y-2 px-3;
|
44
|
-
|
45
|
-
.nui-placeload {
|
46
|
-
@apply h-3 w-full rounded;
|
47
|
-
|
48
|
-
&:first-child {
|
49
|
-
@apply max-w-[85%];
|
50
|
-
}
|
51
|
-
|
52
|
-
&:nth-child(2) {
|
53
|
-
@apply max-w-[65%];
|
54
|
-
}
|
55
|
-
|
56
|
-
&:nth-child(3) {
|
57
|
-
@apply max-w-[35%];
|
58
|
-
}
|
59
|
-
}
|
60
|
-
}
|
61
|
-
@utility nui-textarea-rounded-sm {
|
62
|
-
.nui-textarea {
|
63
|
-
@apply rounded-md;
|
64
|
-
}
|
65
|
-
|
66
|
-
.nui-textarea-addon {
|
67
|
-
@apply rounded-b-md;
|
68
|
-
}
|
69
|
-
}
|
70
|
-
@utility nui-textarea-rounded-md {
|
71
|
-
.nui-textarea {
|
72
|
-
@apply rounded-lg;
|
73
|
-
}
|
74
|
-
|
75
|
-
.nui-textarea-addon {
|
76
|
-
@apply rounded-b-lg;
|
77
|
-
}
|
78
|
-
}
|
79
|
-
@utility nui-textarea-rounded-lg {
|
80
|
-
.nui-textarea {
|
81
|
-
@apply rounded-xl;
|
82
|
-
}
|
83
|
-
|
84
|
-
.nui-textarea-addon {
|
85
|
-
@apply rounded-b-xl;
|
86
|
-
}
|
87
|
-
}
|
88
|
-
@utility nui-textarea-default {
|
89
|
-
.nui-textarea {
|
90
|
-
@apply text-muted-600 dark:text-muted-200;
|
91
|
-
@apply placeholder:text-muted-300 dark:placeholder:text-muted-500;
|
92
|
-
@apply bg-white dark:bg-muted-900;
|
93
|
-
@apply border border-muted-300 dark:border-muted-700;
|
94
|
-
@apply hover:border-muted-300 dark:hover:border-muted-700;
|
95
|
-
}
|
96
|
-
}
|
97
|
-
@utility nui-textarea-default-contrast {
|
98
|
-
.nui-textarea {
|
99
|
-
@apply text-muted-600 dark:text-muted-200;
|
100
|
-
@apply placeholder:text-muted-300 dark:placeholder:text-muted-600;
|
101
|
-
@apply bg-white dark:bg-muted-950;
|
102
|
-
@apply border border-muted-300 dark:border-muted-800;
|
103
|
-
@apply hover:border-muted-300 dark:hover:border-muted-800;
|
104
|
-
}
|
105
|
-
}
|
106
|
-
@utility nui-textarea-muted {
|
107
|
-
.nui-textarea {
|
108
|
-
@apply text-muted-600 dark:text-muted-200;
|
109
|
-
@apply placeholder:text-muted-300 dark:placeholder:text-muted-500;
|
110
|
-
@apply bg-muted-100 dark:bg-muted-900;
|
111
|
-
@apply border border-muted-100 dark:border-muted-700;
|
112
|
-
@apply hover:border-muted-100 dark:hover:border-muted-700;
|
113
|
-
}
|
114
|
-
}
|
115
|
-
@utility nui-textarea-muted-contrast {
|
116
|
-
.nui-textarea {
|
117
|
-
@apply text-muted-600 dark:text-muted-200;
|
118
|
-
@apply placeholder:text-muted-300 dark:placeholder:text-muted-600;
|
119
|
-
@apply bg-muted-100 dark:bg-muted-950;
|
120
|
-
@apply border border-muted-100 dark:border-muted-800;
|
121
|
-
@apply hover:border-muted-100 dark:hover:border-muted-800;
|
122
|
-
}
|
123
|
-
}
|
124
|
-
@utility nui-textarea-loading {
|
125
|
-
.nui-textarea {
|
126
|
-
@apply !text-transparent placeholder:!text-transparent dark:placeholder:!text-transparent;
|
127
|
-
}
|
128
|
-
|
129
|
-
.nui-textarea:placeholder-shown ~ .nui-label-float {
|
130
|
-
@apply text-transparent;
|
131
|
-
}
|
132
|
-
}
|
133
|
-
@utility nui-textarea-label-float {
|
134
|
-
.nui-textarea {
|
135
|
-
@apply placeholder:text-transparent dark:placeholder:text-transparent;
|
136
|
-
}
|
137
|
-
}
|
138
|
-
@utility nui-textarea-error {
|
139
|
-
.nui-textarea {
|
140
|
-
@apply !border-danger-500 dark:!border-danger-500;
|
141
|
-
}
|
142
|
-
}
|
143
|
-
@utility nui-textarea-no-resize {
|
144
|
-
.nui-textarea {
|
145
|
-
@apply resize-none;
|
146
|
-
}
|
147
|
-
}
|
148
|
-
@utility nui-textarea-sm {
|
149
|
-
@apply min-h-[2rem] text-xs;
|
150
|
-
|
151
|
-
.nui-textarea-label {
|
152
|
-
@apply pb-1 text-xs;
|
153
|
-
}
|
154
|
-
}
|
155
|
-
@utility nui-textarea-md {
|
156
|
-
@apply min-h-[2.5rem] text-sm;
|
157
|
-
|
158
|
-
.nui-textarea-label {
|
159
|
-
@apply pb-1 text-sm;
|
160
|
-
}
|
161
|
-
}
|
162
|
-
@utility nui-textarea-lg {
|
163
|
-
@apply min-h-[3rem] text-sm;
|
164
|
-
|
165
|
-
.nui-textarea-label {
|
166
|
-
@apply pb-1 text-sm;
|
167
|
-
}
|
168
|
-
}
|
169
|
-
@utility nui-has-addon {
|
170
|
-
.nui-textarea {
|
171
|
-
@apply px-2 pb-14 pt-2;
|
172
|
-
}
|
173
|
-
|
174
|
-
.nui-textarea-addon {
|
175
|
-
@apply absolute bottom-0 start-0 flex items-center justify-between;
|
176
|
-
@apply w-full h-12 p-2;
|
177
|
-
@apply bg-muted-50 dark:bg-muted-900/50;
|
178
|
-
@apply border border-muted-300 dark:border-muted-700;
|
179
|
-
}
|
180
|
-
|
181
|
-
.nui-textarea-addon-start {
|
182
|
-
@apply flex items-center gap-2;
|
183
|
-
}
|
184
|
-
|
185
|
-
.nui-textarea-addon-end {
|
186
|
-
@apply flex items-center justify-end gap-2;
|
187
|
-
}
|
188
|
-
}
|
189
|
-
@utility nui-textarea-label-float {
|
190
|
-
.nui-label-float {
|
191
|
-
@apply start-3 -ms-3 -mt-7 text-xs;
|
192
|
-
}
|
193
|
-
|
194
|
-
.nui-textarea:focus-visible ~ .nui-label-float {
|
195
|
-
@apply !-ms-3 !-mt-6;
|
196
|
-
}
|
197
|
-
|
198
|
-
.nui-textarea:placeholder-shown ~ .nui-label-float {
|
199
|
-
@apply ms-0 mt-[0.35rem];
|
200
|
-
}
|
201
|
-
}
|
202
|
-
@utility nui-textarea-label-float {
|
203
|
-
.nui-label-float {
|
204
|
-
@apply start-3 -ms-3 -mt-8 text-xs;
|
205
|
-
}
|
206
|
-
|
207
|
-
.nui-textarea:focus-visible ~ .nui-label-float {
|
208
|
-
@apply !-ms-3 !-mt-7 !text-xs;
|
209
|
-
}
|
210
|
-
|
211
|
-
.nui-textarea:placeholder-shown ~ .nui-label-float {
|
212
|
-
@apply ms-0 mt-2.5 text-[0.825rem];
|
213
|
-
}
|
214
|
-
}
|
215
|
-
@utility nui-textarea-label-float {
|
216
|
-
.nui-label-float {
|
217
|
-
@apply start-3 -ms-3 -mt-8 text-xs;
|
218
|
-
}
|
219
|
-
|
220
|
-
.nui-textarea:focus-visible ~ .nui-label-float {
|
221
|
-
@apply !-ms-3 !-mt-7 !text-xs;
|
222
|
-
}
|
223
|
-
|
224
|
-
.nui-textarea:placeholder-shown ~ .nui-label-float {
|
225
|
-
@apply ms-0 mt-3 text-[0.825rem];
|
226
|
-
}
|
227
|
-
}
|
package/lib/css/theme-switch.css
DELETED
@@ -1,64 +0,0 @@
|
|
1
|
-
/* @utility nui-theme-switch */
|
2
|
-
|
3
|
-
@utility nui-theme-switch {
|
4
|
-
@apply relative block h-6 w-14 scale-[0.8] rounded-full;
|
5
|
-
@apply bg-muted-200 dark:bg-muted-700;
|
6
|
-
|
7
|
-
.nui-theme-switch-input:checked ~ .nui-theme-switch-inner {
|
8
|
-
@apply ms-[45%] rotate-[360deg];
|
9
|
-
}
|
10
|
-
|
11
|
-
.nui-theme-switch-input:not(:checked) ~ .nui-theme-switch-inner .nui-sun {
|
12
|
-
@apply block;
|
13
|
-
}
|
14
|
-
|
15
|
-
.nui-theme-switch-input:checked ~ .nui-theme-switch-inner .nui-sun {
|
16
|
-
@apply hidden;
|
17
|
-
}
|
18
|
-
|
19
|
-
.nui-theme-switch-input:not(:checked) ~ .nui-theme-switch-inner .nui-moon {
|
20
|
-
@apply hidden;
|
21
|
-
}
|
22
|
-
|
23
|
-
.nui-theme-switch-input:checked ~ .nui-theme-switch-inner .nui-moon {
|
24
|
-
@apply block;
|
25
|
-
}
|
26
|
-
|
27
|
-
&:not(nui-theme-switch-inverted) {
|
28
|
-
@apply ring-offset-muted-500 dark:ring-offset-muted-900;
|
29
|
-
|
30
|
-
.nui-theme-switch-inner {
|
31
|
-
@apply border border-muted-300 dark:border-muted-700;
|
32
|
-
@apply bg-white dark:bg-muted-800;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
}
|
36
|
-
@utility nui-theme-switch-input {
|
37
|
-
@apply absolute start-0 top-0 z-10 h-full w-full cursor-pointer opacity-0;
|
38
|
-
}
|
39
|
-
@utility nui-theme-switch-inner {
|
40
|
-
@apply absolute -start-1 -top-2 -ms-1 flex items-center justify-center peer-checked:ms-[45%] peer-checked:rotate-[360deg];
|
41
|
-
@apply h-10 w-10 rounded-full;
|
42
|
-
@apply bg-white dark:bg-muted-900;
|
43
|
-
@apply border border-muted-200 dark:border-muted-800;
|
44
|
-
@apply transition-all duration-300;
|
45
|
-
}
|
46
|
-
@utility nui-sun {
|
47
|
-
@apply pointer-events-none;
|
48
|
-
@apply text-yellow-400 dark:text-yellow-400;
|
49
|
-
@apply h-6 w-6;
|
50
|
-
@apply transition-all duration-300;
|
51
|
-
}
|
52
|
-
@utility nui-moon {
|
53
|
-
@apply pointer-events-none;
|
54
|
-
@apply text-yellow-400 dark:text-yellow-400;
|
55
|
-
@apply h-6 w-6;
|
56
|
-
@apply transition-all duration-300;
|
57
|
-
}
|
58
|
-
@utility nui-theme-switch-inverted {
|
59
|
-
@apply ring-offset-muted-500 dark:ring-offset-muted-400;
|
60
|
-
|
61
|
-
.nui-theme-switch-inner {
|
62
|
-
@apply bg-primary-700 dark:bg-primary-700;
|
63
|
-
}
|
64
|
-
}
|