@shuriken-ui/tailwind 3.1.3 → 4.0.0-alpha.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. package/package.json +41 -90
  2. package/src/css/accordion.css +175 -0
  3. package/src/css/autocomplete.css +511 -0
  4. package/src/css/avatar-group.css +138 -0
  5. package/src/css/avatar.css +738 -0
  6. package/src/css/breadcrumb.css +63 -0
  7. package/src/css/button-action.css +108 -0
  8. package/src/css/button-close.css +117 -0
  9. package/src/css/button-group.css +236 -0
  10. package/src/css/button-icon.css +97 -0
  11. package/src/css/button.css +565 -0
  12. package/src/css/card.css +69 -0
  13. package/src/css/checkbox.css +99 -0
  14. package/src/css/dropdown-divider.css +6 -0
  15. package/src/css/dropdown-item.css +62 -0
  16. package/src/css/dropdown.css +102 -0
  17. package/src/css/focus.css +12 -0
  18. package/src/css/fullscreen-dropfile.css +63 -0
  19. package/src/css/heading.css +78 -0
  20. package/src/css/icon-box.css +305 -0
  21. package/src/css/input-file-regular.css +255 -0
  22. package/src/css/input-file.css +224 -0
  23. package/src/css/input-help-text.css +7 -0
  24. package/src/css/input-number.css +469 -0
  25. package/src/css/input.css +402 -0
  26. package/src/css/kbd.css +94 -0
  27. package/src/css/label.css +6 -0
  28. package/src/css/link.css +8 -0
  29. package/src/css/list.css +23 -0
  30. package/src/css/listbox.css +511 -0
  31. package/src/css/mark.css +7 -0
  32. package/src/css/mask.css +23 -0
  33. package/src/css/message-text.css +72 -0
  34. package/src/css/message.css +245 -0
  35. package/src/css/modal.css +51 -0
  36. package/src/css/pagination.css +93 -0
  37. package/src/css/paragraph.css +78 -0
  38. package/src/css/placeholder-page.css +44 -0
  39. package/src/css/placeload.css +13 -0
  40. package/src/css/progress-circle.css +18 -0
  41. package/src/css/progress.css +90 -0
  42. package/src/css/prose.css +22 -0
  43. package/src/css/radio.css +73 -0
  44. package/src/css/select.css +404 -0
  45. package/src/css/slimscroll.css +32 -0
  46. package/src/css/snack.css +101 -0
  47. package/src/css/switch-ball.css +94 -0
  48. package/src/css/switch-thin.css +76 -0
  49. package/src/css/tab-slider.css +190 -0
  50. package/src/css/tabs.css +175 -0
  51. package/src/css/tag.css +312 -0
  52. package/src/css/text.css +78 -0
  53. package/src/css/textarea.css +228 -0
  54. package/src/css/theme-switch.css +65 -0
  55. package/src/css/theme-toggle.css +62 -0
  56. package/src/css/toast.css +132 -0
  57. package/src/css/tooltip.css +99 -0
  58. package/src/index.css +58 -0
  59. package/src/theme.css +80 -0
  60. package/dist/colors.cjs +0 -2
  61. package/dist/colors.d.cts +0 -2
  62. package/dist/colors.d.mts +0 -2
  63. package/dist/colors.d.ts +0 -2
  64. package/dist/colors.mjs +0 -1
  65. package/dist/config.cjs +0 -18
  66. package/dist/config.d.cts +0 -6
  67. package/dist/config.d.mts +0 -6
  68. package/dist/config.d.ts +0 -6
  69. package/dist/config.mjs +0 -16
  70. package/dist/index.cjs +0 -25
  71. package/dist/index.d.cts +0 -11
  72. package/dist/index.d.mts +0 -11
  73. package/dist/index.d.ts +0 -11
  74. package/dist/index.mjs +0 -21
  75. package/dist/plugins/index.cjs +0 -21074
  76. package/dist/plugins/index.d.cts +0 -308
  77. package/dist/plugins/index.d.mts +0 -308
  78. package/dist/plugins/index.d.ts +0 -308
  79. package/dist/plugins/index.mjs +0 -21008
  80. package/dist/preset.cjs +0 -53
  81. package/dist/preset.d.cts +0 -3
  82. package/dist/preset.d.mts +0 -3
  83. package/dist/preset.d.ts +0 -3
  84. package/dist/preset.mjs +0 -44
  85. package/dist/shared/tailwind.6e316a50.d.cts +0 -49966
  86. package/dist/shared/tailwind.6e316a50.d.mts +0 -49966
  87. package/dist/shared/tailwind.6e316a50.d.ts +0 -49966
  88. package/dist/themes.cjs +0 -119
  89. package/dist/themes.d.cts +0 -187
  90. package/dist/themes.d.mts +0 -187
  91. package/dist/themes.d.ts +0 -187
  92. package/dist/themes.mjs +0 -113
@@ -0,0 +1,245 @@
1
+ /* generated using "pnpm jiti scripts/generate-utilities.ts" */
2
+ /* @utility nui-message */
3
+
4
+ @utility nui-message {
5
+ @apply relative flex gap-2 border;
6
+ }
7
+ @utility nui-message-icon-outer {
8
+ @apply flex h-10 w-10 shrink-0 items-center justify-center;
9
+
10
+ .nui-message-icon {
11
+ @apply h-5 w-5;
12
+ @apply text-white dark:text-white;
13
+ }
14
+ }
15
+ @utility nui-message-inner-text {
16
+ @apply inline-flex items-center leading-normal;
17
+ @apply font-sans text-sm;
18
+ @apply text-muted-800 dark:text-muted-200;
19
+ }
20
+ @utility nui-message-close-wrapper {
21
+ @apply absolute top-[-0.5rem] end-[-0.5rem] flex items-center justify-center bg-white dark:bg-muted-950 border border-muted-200 dark:border-muted-800 rounded-full h-8 w-8;
22
+ }
23
+ @utility nui-message-close {
24
+ @apply nui-focus flex cursor-pointer items-center justify-center shrink-0 h-6 w-6 rounded-full;
25
+ @apply text-muted-800 dark:text-muted-800;
26
+ @apply transition-colors duration-200;
27
+
28
+ .nui-close-icon {
29
+ @apply h-4 w-4;
30
+ }
31
+ }
32
+ @utility nui-has-text {
33
+ @apply py-2 ps-2 pe-6;
34
+ }
35
+ @utility nui-has-icon {
36
+ @apply py-1 ps-1 pe-6;
37
+ }
38
+ @utility nui-message-rounded-sm {
39
+ @apply rounded-md;
40
+
41
+ .nui-message-icon-outer {
42
+ @apply rounded-md;
43
+ }
44
+ }
45
+ @utility nui-message-rounded-md {
46
+ @apply rounded-lg;
47
+
48
+ .nui-message-icon-outer {
49
+ @apply rounded-lg;
50
+ }
51
+ }
52
+ @utility nui-message-rounded-lg {
53
+ @apply rounded-xl;
54
+
55
+ .nui-message-icon-outer {
56
+ @apply rounded-xl;
57
+ }
58
+ }
59
+ @utility nui-message-rounded-full {
60
+ @apply rounded-full;
61
+
62
+ .nui-message-icon-outer {
63
+ @apply rounded-full;
64
+ }
65
+ }
66
+ @utility nui-message-default {
67
+ @apply border-muted-200 dark:border-muted-700;
68
+ @apply bg-white dark:bg-muted-800;
69
+
70
+ .nui-message-icon-outer {
71
+ @apply text-white dark:text-white;
72
+ @apply bg-muted-600 dark:bg-muted-900;
73
+ }
74
+
75
+ .nui-message-inner-text {
76
+ @apply text-muted-500 dark:text-muted-400;
77
+ }
78
+
79
+ .nui-message-close {
80
+ @apply text-muted-500 dark:text-muted-500;
81
+ @apply hover:enabled:bg-muted-300/50 dark:hover:enabled:bg-muted-500/30;
82
+ @apply focus-visible:bg-muted-300/50 dark:focus-visible:bg-muted-500/30;
83
+ @apply active:enabled:bg-muted-300/20 dark:active:enabled:bg-muted-500/20;
84
+ }
85
+ }
86
+ @utility nui-message-default-contrast {
87
+ @apply border-muted-200 dark:border-muted-800;
88
+ @apply bg-white dark:bg-muted-950;
89
+
90
+ .nui-message-icon-outer {
91
+ @apply text-white dark:text-white;
92
+ @apply bg-muted-600 dark:bg-muted-900;
93
+ }
94
+
95
+ .nui-message-inner-text {
96
+ @apply text-muted-500 dark:text-muted-400;
97
+ }
98
+
99
+ .nui-message-close {
100
+ @apply text-muted-500 dark:text-muted-500;
101
+ @apply hover:enabled:bg-muted-300/50 dark:hover:enabled:bg-muted-500/30;
102
+ @apply focus-visible:bg-muted-300/50 dark:focus-visible:bg-muted-500/30;
103
+ @apply active:enabled:bg-muted-300/20 dark:active:enabled:bg-muted-500/20;
104
+ }
105
+ }
106
+ @utility nui-message-muted {
107
+ @apply border-muted-200 dark:border-muted-700;
108
+ @apply bg-muted-100 dark:bg-muted-500/10;
109
+
110
+ .nui-message-icon-outer {
111
+ @apply text-white dark:text-white;
112
+ @apply bg-muted-400 dark:bg-muted-900;
113
+ }
114
+
115
+ .nui-message-inner-text {
116
+ @apply text-muted-500 dark:text-muted-500;
117
+ }
118
+
119
+ .nui-message-close {
120
+ @apply text-muted-500 dark:text-muted-500;
121
+ @apply hover:enabled:bg-muted-300/50 dark:hover:enabled:bg-muted-500/30;
122
+ @apply focus-visible:bg-muted-300/50 dark:focus-visible:bg-muted-500/30;
123
+ @apply active:enabled:bg-muted-300/20 dark:active:enabled:bg-muted-500/20;
124
+ }
125
+ }
126
+ @utility nui-message-muted-contrast {
127
+ @apply border-muted-200 dark:border-muted-800;
128
+ @apply bg-muted-100 dark:bg-muted-950;
129
+
130
+ .nui-message-icon-outer {
131
+ @apply text-white dark:text-white;
132
+ @apply bg-muted-400 dark:bg-muted-900;
133
+ }
134
+
135
+ .nui-message-inner-text {
136
+ @apply text-muted-500 dark:text-muted-500;
137
+ }
138
+
139
+ .nui-message-close {
140
+ @apply text-muted-500 dark:text-muted-500;
141
+ @apply hover:enabled:bg-muted-300/50 dark:hover:enabled:bg-muted-500/30;
142
+ @apply focus-visible:bg-muted-300/50 dark:focus-visible:bg-muted-500/30;
143
+ @apply active:enabled:bg-muted-300/20 dark:active:enabled:bg-muted-500/20;
144
+ }
145
+ }
146
+ @utility nui-message-primary {
147
+ @apply border-primary-200 dark:border-primary-700;
148
+ @apply bg-primary-100 dark:bg-primary-500/10;
149
+
150
+ .nui-message-icon-outer {
151
+ @apply text-white dark:text-white;
152
+ @apply bg-primary-500 dark:bg-primary-500;
153
+ }
154
+
155
+ .nui-message-inner-text {
156
+ @apply text-primary-500 dark:text-primary-500;
157
+ }
158
+
159
+ .nui-message-close {
160
+ @apply text-primary-500 dark:text-primary-500;
161
+ @apply hover:enabled:bg-primary-300/50 dark:hover:enabled:bg-primary-500/30;
162
+ @apply focus-visible:bg-primary-300/50 dark:focus-visible:bg-primary-500/30;
163
+ @apply active:enabled:bg-primary-300/20 dark:active:enabled:bg-primary-500/20;
164
+ }
165
+ }
166
+ @utility nui-message-info {
167
+ @apply border-info-200 dark:border-info-700;
168
+ @apply bg-info-100 dark:bg-info-500/10;
169
+
170
+ .nui-message-icon-outer {
171
+ @apply text-white dark:text-white;
172
+ @apply bg-info-500 dark:bg-info-500;
173
+ }
174
+
175
+ .nui-message-inner-text {
176
+ @apply text-info-500 dark:text-info-500;
177
+ }
178
+
179
+ .nui-message-close {
180
+ @apply text-info-500 dark:text-info-500;
181
+ @apply hover:enabled:bg-info-300/50 dark:hover:enabled:bg-info-500/30;
182
+ @apply focus-visible:bg-info-300/50 dark:focus-visible:bg-info-500/30;
183
+ @apply active:enabled:bg-info-300/20 dark:active:enabled:bg-info-500/20;
184
+ }
185
+ }
186
+ @utility nui-message-success {
187
+ @apply border-success-200 dark:border-success-700;
188
+ @apply bg-success-100 dark:bg-success-500/10;
189
+
190
+ .nui-message-icon-outer {
191
+ @apply text-white dark:text-white;
192
+ @apply bg-success-500 dark:bg-success-500;
193
+ }
194
+
195
+ .nui-message-inner-text {
196
+ @apply text-success-500 dark:text-success-500;
197
+ }
198
+
199
+ .nui-message-close {
200
+ @apply text-success-500 dark:text-success-500;
201
+ @apply hover:enabled:bg-success-300/50 dark:hover:enabled:bg-success-500/30;
202
+ @apply focus-visible:bg-success-300/50 dark:focus-visible:bg-success-500/30;
203
+ @apply active:enabled:bg-success-300/20 dark:active:enabled:bg-success-500/20;
204
+ }
205
+ }
206
+ @utility nui-message-warning {
207
+ @apply border-warning-200 dark:border-warning-700;
208
+ @apply bg-warning-100 dark:bg-warning-500/10;
209
+
210
+ .nui-message-icon-outer {
211
+ @apply text-white dark:text-white;
212
+ @apply bg-warning-500 dark:bg-warning-500;
213
+ }
214
+
215
+ .nui-message-inner-text {
216
+ @apply text-warning-500 dark:text-warning-500;
217
+ }
218
+
219
+ .nui-message-close {
220
+ @apply text-warning-500 dark:text-warning-500;
221
+ @apply hover:enabled:bg-warning-300/50 dark:hover:enabled:bg-warning-500/30;
222
+ @apply focus-visible:bg-warning-300/50 dark:focus-visible:bg-warning-500/30;
223
+ @apply active:enabled:bg-warning-300/20 dark:active:enabled:bg-warning-500/20;
224
+ }
225
+ }
226
+ @utility nui-message-danger {
227
+ @apply border-danger-200 dark:border-danger-700;
228
+ @apply bg-danger-100 dark:bg-danger-500/10;
229
+
230
+ .nui-message-icon-outer {
231
+ @apply text-white dark:text-white;
232
+ @apply bg-danger-500 dark:bg-danger-500;
233
+ }
234
+
235
+ .nui-message-inner-text {
236
+ @apply text-danger-500 dark:text-danger-500;
237
+ }
238
+
239
+ .nui-message-close {
240
+ @apply text-danger-500 dark:text-danger-500;
241
+ @apply hover:enabled:bg-danger-300/50 dark:hover:enabled:bg-danger-500/30;
242
+ @apply focus-visible:bg-danger-300/50 dark:focus-visible:bg-danger-500/30;
243
+ @apply active:enabled:bg-danger-300/20 dark:active:enabled:bg-danger-500/20;
244
+ }
245
+ }
@@ -0,0 +1,51 @@
1
+ /* generated using "pnpm jiti scripts/generate-utilities.ts" */
2
+ /* @utility nui-modal */
3
+
4
+ @utility nui-modal {
5
+ @apply fixed inset-0 z-[9999] flex items-center justify-center;
6
+ }
7
+ @utility nui-modal-inner {
8
+ @apply relative z-[9999];
9
+ }
10
+ @utility nui-modal-backdrop {
11
+ @apply bg-muted-800/70 dark:bg-muted-900/80 fixed inset-0;
12
+ }
13
+ @utility nui-modal-content {
14
+ @apply fixed inset-0;
15
+ }
16
+ @utility nui-modal-content-inner {
17
+ @apply flex w-full min-h-full items-center justify-center p-4 text-center;
18
+ }
19
+ @utility nui-modal-content-panel {
20
+ @apply w-full text-start align-middle transition-all;
21
+ }
22
+ @utility nui-modal-sm {
23
+ .nui-modal-content-panel {
24
+ @apply max-w-sm;
25
+ }
26
+ }
27
+ @utility nui-modal-md {
28
+ .nui-modal-content-panel {
29
+ @apply max-w-md;
30
+ }
31
+ }
32
+ @utility nui-modal-lg {
33
+ .nui-modal-content-panel {
34
+ @apply max-w-xl;
35
+ }
36
+ }
37
+ @utility nui-modal-xl {
38
+ .nui-modal-content-panel {
39
+ @apply max-w-2xl;
40
+ }
41
+ }
42
+ @utility nui-modal-2xl {
43
+ .nui-modal-content-panel {
44
+ @apply max-w-3xl;
45
+ }
46
+ }
47
+ @utility nui-modal-3xl {
48
+ .nui-modal-content-panel {
49
+ @apply max-w-5xl;
50
+ }
51
+ }
@@ -0,0 +1,93 @@
1
+ /* generated using "pnpm jiti scripts/generate-utilities.ts" */
2
+ /* @utility nui-pagination */
3
+
4
+ @utility nui-pagination {
5
+ @apply inline-flex w-full flex-col md:flex-row md:justify-between;
6
+
7
+ &.nui-pagination-rounded-sm .nui-pagination-list, &.nui-pagination-rounded-sm .nui-pagination-buttons, &.nui-pagination-rounded-sm .nui-pagination-buttons .nui-pagination-button, &.nui-pagination-rounded-sm .nui-pagination-link, &.nui-pagination-rounded-sm .nui-pagination-ellipsis {
8
+ @apply rounded-md;
9
+ }
10
+
11
+ &.nui-pagination-rounded-md .nui-pagination-list, &.nui-pagination-rounded-md .nui-pagination-buttons, &.nui-pagination-rounded-md .nui-pagination-buttons .nui-pagination-button, &.nui-pagination-rounded-md .nui-pagination-link, &.nui-pagination-rounded-md .nui-pagination-ellipsis {
12
+ @apply rounded-lg;
13
+ }
14
+
15
+ &.nui-pagination-rounded-lg .nui-pagination-list, &.nui-pagination-rounded-lg .nui-pagination-buttons, &.nui-pagination-rounded-lg .nui-pagination-buttons .nui-pagination-button, &.nui-pagination-rounded-lg .nui-pagination-link, &.nui-pagination-rounded-lg .nui-pagination-ellipsis {
16
+ @apply rounded-xl;
17
+ }
18
+
19
+ &.nui-pagination-rounded-full .nui-pagination-list, &.nui-pagination-rounded-full .nui-pagination-buttons, &.nui-pagination-rounded-full .nui-pagination-buttons .nui-pagination-button, &.nui-pagination-rounded-full .nui-pagination-link, &.nui-pagination-rounded-full .nui-pagination-ellipsis {
20
+ @apply rounded-full;
21
+ }
22
+ }
23
+ @utility nui-pagination-list {
24
+ @apply inline-flex flex-wrap gap-2 md:gap-1 p-1 mb-4 md:mb-0;
25
+ @apply bg-muted-100 dark:bg-muted-700;
26
+ @apply border border-muted-200 dark:border-muted-600;
27
+ }
28
+ @utility nui-pagination-buttons {
29
+ @apply flex items-center justify-end gap-1 border p-1;
30
+ @apply bg-muted-100 dark:bg-muted-700;
31
+ @apply border-muted-200 dark:border-muted-600;
32
+
33
+ .nui-pagination-button {
34
+ @apply nui-focus flex h-10 w-full items-center justify-center md:w-10;
35
+ @apply font-sans text-sm;
36
+ @apply text-muted-500 dark:text-muted-400;
37
+ @apply hover:text-muted-700 dark:hover:text-muted-400;
38
+ @apply bg-white dark:bg-muted-800;
39
+ @apply hover:bg-muted-100 dark:hover:bg-muted-900;
40
+ @apply border-muted-200 dark:border-muted-700;
41
+ @apply transition-all duration-300;
42
+
43
+ .nui-pagination-button-icon {
44
+ @apply block h-4 w-4;
45
+ }
46
+ }
47
+ }
48
+ @utility nui-pagination-link {
49
+ @apply nui-focus flex items-center justify-center mb-0 inline-flex flex-wrap gap-2 md:gap-1;
50
+ @apply h-10 px-4;
51
+ @apply font-sans text-sm;
52
+ @apply bg-muted-100 dark:bg-muted-700;
53
+ @apply border border-muted-200 dark:border-muted-600;
54
+
55
+ &:not(.nui-active) {
56
+ @apply text-muted-500 dark:text-muted-400;
57
+ @apply hover:text-muted-700 dark:hover:text-muted-400;
58
+ @apply bg-white dark:bg-muted-800;
59
+ @apply hover:bg-muted-100 dark:hover:bg-muted-900;
60
+ @apply border-muted-200 dark:border-muted-700;
61
+ }
62
+ }
63
+ @utility nui-pagination-primary {
64
+ .nui-pagination-link.nui-active {
65
+ @apply text-primary-invert dark:text-primary-invert;
66
+ @apply bg-primary-500 dark:bg-primary-500;
67
+ @apply border-primary-500 dark:border-primary-500;
68
+ @apply shadow-sm shadow-primary-500/50 dark:shadow-primary-500/20;
69
+ }
70
+ }
71
+ @utility nui-pagination-dark {
72
+ .nui-pagination-link.nui-active {
73
+ @apply text-muted-100 dark:text-muted-900;
74
+ @apply bg-muted-900 dark:bg-muted-100;
75
+ @apply border-muted-900 dark:border-muted-100;
76
+ @apply shadow-sm shadow-muted-300/30 dark:shadow-muted-800/20;
77
+ }
78
+ }
79
+ @utility nui-pagination-black {
80
+ .nui-pagination-link.nui-active {
81
+ @apply text-white dark:text-black;
82
+ @apply bg-black dark:bg-white;
83
+ @apply border-black dark:border-white;
84
+ @apply shadow-sm shadow-muted-300/30 dark:shadow-muted-800/20;
85
+ }
86
+ }
87
+ @utility nui-pagination-ellipsis {
88
+ @apply select-none flex h-10 w-10 items-center justify-center;
89
+ @apply font-sans text-sm;
90
+ @apply text-muted-500 dark:text-muted-400;
91
+ @apply bg-white dark:bg-muted-800;
92
+ @apply border-muted-200 dark:border-muted-700;
93
+ }
@@ -0,0 +1,78 @@
1
+ /* generated using "pnpm jiti scripts/generate-utilities.ts" */
2
+ /* @utility nui-paragraph */
3
+
4
+ @utility nui-paragraph {
5
+ @apply font-sans;
6
+ }
7
+ @utility nui-paragraph-xs {
8
+ @apply text-xs;
9
+ }
10
+ @utility nui-paragraph-sm {
11
+ @apply text-sm;
12
+ }
13
+ @utility nui-paragraph-md {
14
+ @apply text-base;
15
+ }
16
+ @utility nui-paragraph-lg {
17
+ @apply text-lg;
18
+ }
19
+ @utility nui-paragraph-xl {
20
+ @apply text-xl;
21
+ }
22
+ @utility nui-paragraph-2xl {
23
+ @apply text-2xl;
24
+ }
25
+ @utility nui-paragraph-3xl {
26
+ @apply text-3xl;
27
+ }
28
+ @utility nui-paragraph-4xl {
29
+ @apply text-4xl;
30
+ }
31
+ @utility nui-paragraph-5xl {
32
+ @apply text-5xl;
33
+ }
34
+ @utility nui-paragraph-6xl {
35
+ @apply text-6xl;
36
+ }
37
+ @utility nui-paragraph-7xl {
38
+ @apply text-7xl;
39
+ }
40
+ @utility nui-paragraph-8xl {
41
+ @apply text-8xl;
42
+ }
43
+ @utility nui-paragraph-9xl {
44
+ @apply text-9xl;
45
+ }
46
+ @utility nui-weight-light {
47
+ @apply font-light;
48
+ }
49
+ @utility nui-weight-normal {
50
+ @apply font-normal;
51
+ }
52
+ @utility nui-weight-medium {
53
+ @apply font-medium;
54
+ }
55
+ @utility nui-weight-semibold {
56
+ @apply font-semibold;
57
+ }
58
+ @utility nui-weight-bold {
59
+ @apply font-bold;
60
+ }
61
+ @utility nui-weight-extrabold {
62
+ @apply font-extrabold;
63
+ }
64
+ @utility nui-lead-none {
65
+ @apply leading-none;
66
+ }
67
+ @utility nui-lead-normal {
68
+ @apply leading-normal;
69
+ }
70
+ @utility nui-lead-tight {
71
+ @apply leading-tight;
72
+ }
73
+ @utility nui-lead-snug {
74
+ @apply leading-snug;
75
+ }
76
+ @utility nui-lead-loose {
77
+ @apply leading-loose;
78
+ }
@@ -0,0 +1,44 @@
1
+ /* generated using "pnpm jiti scripts/generate-utilities.ts" */
2
+ /* @utility nui-placeholder-page */
3
+
4
+ @utility nui-placeholder-page {
5
+ @apply flex min-h-[400px] items-center justify-center;
6
+
7
+ &.nui-placeholder-xs .nui-placeholder-page-img {
8
+ @apply max-w-xs;
9
+ }
10
+
11
+ &.nui-placeholder-sm .nui-placeholder-page-img {
12
+ @apply max-w-sm;
13
+ }
14
+
15
+ &.nui-placeholder-md .nui-placeholder-page-img {
16
+ @apply max-w-md;
17
+ }
18
+
19
+ &.nui-placeholder-lg .nui-placeholder-page-img {
20
+ @apply max-w-lg;
21
+ }
22
+
23
+ &.nui-placeholder-xl .nui-placeholder-page-img {
24
+ @apply max-w-xl;
25
+ }
26
+ }
27
+ @utility nui-placeholder-page-inner {
28
+ @apply mx-auto w-full text-center;
29
+ }
30
+ @utility nui-placeholder-page-img {
31
+ @apply mx-auto block;
32
+ }
33
+ @utility nui-placeholder-page-content {
34
+ @apply mx-auto max-w-sm;
35
+ }
36
+ @utility nui-placeholder-page-actions {
37
+ @apply mt-4 flex justify-center gap-2;
38
+ }
39
+ @utility nui-placeholder-page-title {
40
+ @apply text-muted-800 dark:text-white mb-1 mt-4;
41
+ }
42
+ @utility nui-placeholder-page-subtitle {
43
+ @apply text-muted-400 dark:text-muted-400;
44
+ }
@@ -0,0 +1,13 @@
1
+ /* generated using "pnpm jiti scripts/generate-utilities.ts" */
2
+ /* @utility nui-placeload */
3
+
4
+ @utility nui-placeload {
5
+ position: relative;
6
+ background: linear-gradient( to right, rgb(0 0 0 / 7%) 8% ,rgb(0 0 0 / 15%) 18%, rgb(0 0 0 / 7%) 33%);
7
+ background-size: 1200px 104px;
8
+ }
9
+ .dark .nui-placeload {
10
+ position: relative;
11
+ background: linear-gradient(to right, rgb(255 255 255 / 15%) 8%, rgb(255 255 255 / 24%) 18%, rgb(255 255 255 / 15%) 33%);
12
+ background-size: 1200px 104px;
13
+ }
@@ -0,0 +1,18 @@
1
+ /* generated using "pnpm jiti scripts/generate-utilities.ts" */
2
+ /* @utility nui-progress-circle */
3
+
4
+ @utility nui-progress-circle {
5
+ @apply relative inline-flex items-center justify-center;
6
+
7
+ circle:nth-child(2) {
8
+ @apply stroke-current transition-all duration-500;
9
+ }
10
+
11
+ &.nui-progress-default circle:first-child {
12
+ @apply text-muted-200 dark:text-muted-700 stroke-current;
13
+ }
14
+
15
+ &.nui-progress-contrast circle:first-child {
16
+ @apply text-muted-200 dark:text-muted-200 stroke-current;
17
+ }
18
+ }
@@ -0,0 +1,90 @@
1
+ /* generated using "pnpm jiti scripts/generate-utilities.ts" */
2
+ /* @utility nui-progress */
3
+
4
+ @utility nui-progress {
5
+ @apply relative w-full overflow-hidden;
6
+
7
+ &.nui-progress-rounded-sm, &.nui-progress-rounded-sm .nui-progress-bar {
8
+ @apply rounded;
9
+ }
10
+
11
+ &.nui-progress-rounded-md, &.nui-progress-rounded-md .nui-progress-bar {
12
+ @apply rounded-md;
13
+ }
14
+
15
+ &.nui-progress-rounded-lg, &.nui-progress-rounded-lg .nui-progress-bar {
16
+ @apply rounded-lg;
17
+ }
18
+
19
+ &.nui-progress-rounded-full, &.nui-progress-rounded-full .nui-progress-bar {
20
+ @apply rounded-full;
21
+ }
22
+
23
+ &.nui-progress-indeterminate .nui-progress-bar {
24
+ @apply w-full;
25
+ }
26
+ }
27
+ @utility nui-progress-bar {
28
+ @apply absolute start-0 top-0 h-full transition-all duration-300;
29
+ }
30
+ @utility nui-progress-default {
31
+ @apply bg-muted-200 dark:bg-muted-700;
32
+ }
33
+ @utility nui-progress-contrast {
34
+ @apply bg-muted-200 dark:bg-muted-900;
35
+ }
36
+ @utility nui-progress-xs {
37
+ @apply h-1;
38
+ }
39
+ @utility nui-progress-sm {
40
+ @apply h-2;
41
+ }
42
+ @utility nui-progress-md {
43
+ @apply h-3;
44
+ }
45
+ @utility nui-progress-lg {
46
+ @apply h-3;
47
+ }
48
+ @utility nui-progress-xl {
49
+ @apply h-5;
50
+ }
51
+ @utility nui-progress-primary {
52
+ .nui-progress-bar {
53
+ @apply bg-primary-500;
54
+ }
55
+ }
56
+ @utility nui-progress-info {
57
+ .nui-progress-bar {
58
+ @apply bg-info-500;
59
+ }
60
+ }
61
+ @utility nui-progress-success {
62
+ .nui-progress-bar {
63
+ @apply bg-success-500;
64
+ }
65
+ }
66
+ @utility nui-progress-warning {
67
+ .nui-progress-bar {
68
+ @apply bg-warning-500;
69
+ }
70
+ }
71
+ @utility nui-progress-danger {
72
+ .nui-progress-bar {
73
+ @apply bg-danger-500;
74
+ }
75
+ }
76
+ @utility nui-progress-light {
77
+ .nui-progress-bar {
78
+ @apply bg-muted-500 dark:bg-muted-400;
79
+ }
80
+ }
81
+ @utility nui-progress-dark {
82
+ .nui-progress-bar {
83
+ @apply bg-muted-900 dark:bg-muted-100;
84
+ }
85
+ }
86
+ @utility nui-progress-black {
87
+ .nui-progress-bar {
88
+ @apply bg-black dark:bg-white;
89
+ }
90
+ }
@@ -0,0 +1,22 @@
1
+ /* generated using "pnpm jiti scripts/generate-utilities.ts" */
2
+ /* @utility nui-prose */
3
+
4
+ @utility nui-prose {
5
+ @apply prose prose-primary prose-muted dark:prose-invert;
6
+ @apply prose-table:bg-white dark:prose-table:bg-muted-800;
7
+ @apply prose-table:border-separate prose-table:border-spacing-0 prose-table:border prose-table:border-muted-200 dark:prose-table:border-muted-700;
8
+ @apply prose-th:p-4 prose-td:p-4;
9
+ @apply prose-td:border-t prose-td:border-muted-200 dark:prose-td:border-muted-700;
10
+ }
11
+ @utility nui-prose-rounded-none {
12
+ @apply prose-img:rounded-none prose-pre:rounded-none prose-table:rounded-none;
13
+ }
14
+ @utility nui-prose-rounded-sm {
15
+ @apply prose-img:rounded prose-pre:rounded prose-table:rounded;
16
+ }
17
+ @utility nui-prose-rounded-md {
18
+ @apply prose-img:rounded-md prose-pre:rounded-md prose-table:rounded-md;
19
+ }
20
+ @utility nui-prose-rounded-lg {
21
+ @apply prose-img:rounded-lg prose-pre:rounded-lg prose-table:rounded-lg;
22
+ }