@rark-ui/themes 1.2.0 → 1.2.1

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.
Files changed (82) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/default/crafts/message.js +1 -1
  3. package/dist/default/crafts/toast.js +1 -1
  4. package/dist/razer/index.css +4 -4
  5. package/package.json +6 -7
  6. package/src/default/crafts/badge.ts +56 -56
  7. package/src/default/crafts/button.ts +68 -68
  8. package/src/default/crafts/checkbox.ts +75 -75
  9. package/src/default/crafts/collapsible.ts +61 -61
  10. package/src/default/crafts/date-picker.ts +261 -261
  11. package/src/default/crafts/dialog.ts +103 -103
  12. package/src/default/crafts/editable.ts +108 -108
  13. package/src/default/crafts/floating-panel.ts +71 -71
  14. package/src/default/crafts/hotkey.ts +24 -24
  15. package/src/default/crafts/hover-card.ts +83 -83
  16. package/src/default/crafts/icon.ts +15 -15
  17. package/src/default/crafts/index.ts +62 -62
  18. package/src/default/crafts/input.ts +50 -50
  19. package/src/default/crafts/menu.ts +118 -118
  20. package/src/default/crafts/message.ts +66 -66
  21. package/src/default/crafts/number-input.ts +51 -51
  22. package/src/default/crafts/pagination.ts +120 -120
  23. package/src/default/crafts/popover.ts +74 -74
  24. package/src/default/crafts/progress.ts +131 -131
  25. package/src/default/crafts/radio-group.ts +100 -100
  26. package/src/default/crafts/rating-group.ts +46 -46
  27. package/src/default/crafts/scroll-area.ts +116 -116
  28. package/src/default/crafts/select.ts +122 -122
  29. package/src/default/crafts/skeleton.ts +23 -23
  30. package/src/default/crafts/slider.ts +93 -93
  31. package/src/default/crafts/spin.ts +64 -64
  32. package/src/default/crafts/switch.ts +71 -71
  33. package/src/default/crafts/tabs.ts +122 -122
  34. package/src/default/crafts/tags-input.ts +81 -81
  35. package/src/default/crafts/toast.ts +70 -70
  36. package/src/default/crafts/toggle-group.ts +57 -57
  37. package/src/default/crafts/toggle.ts +34 -34
  38. package/src/default/crafts/tooltip.ts +63 -63
  39. package/src/default/crafts/tree.ts +165 -165
  40. package/src/default/index.ts +4 -4
  41. package/src/razer/components/arrow.css +19 -19
  42. package/src/razer/components/badge.css +12 -12
  43. package/src/razer/components/button.css +39 -39
  44. package/src/razer/components/checkbox.css +39 -39
  45. package/src/razer/components/collapsible.css +16 -16
  46. package/src/razer/components/date-picker.css +46 -46
  47. package/src/razer/components/dialog.css +28 -28
  48. package/src/razer/components/editable.css +26 -26
  49. package/src/razer/components/floating-panel.css +10 -10
  50. package/src/razer/components/hotkey.css +4 -4
  51. package/src/razer/components/hover-card.css +14 -14
  52. package/src/razer/components/input.css +29 -29
  53. package/src/razer/components/menu.css +47 -47
  54. package/src/razer/components/message.css +41 -41
  55. package/src/razer/components/number-input.css +8 -8
  56. package/src/razer/components/pagination.css +13 -13
  57. package/src/razer/components/popover.css +19 -19
  58. package/src/razer/components/progress.css +78 -78
  59. package/src/razer/components/radio-group.css +44 -44
  60. package/src/razer/components/rating-group.css +26 -26
  61. package/src/razer/components/scroll-area.css +13 -13
  62. package/src/razer/components/select.css +31 -31
  63. package/src/razer/components/skeleton.css +10 -10
  64. package/src/razer/components/slider.css +27 -27
  65. package/src/razer/components/spin.css +14 -14
  66. package/src/razer/components/switch.css +24 -24
  67. package/src/razer/components/tabs.css +10 -10
  68. package/src/razer/components/tags-input.css +16 -16
  69. package/src/razer/components/toast.css +41 -41
  70. package/src/razer/components/toggle-group.css +19 -19
  71. package/src/razer/components/toggle.css +16 -16
  72. package/src/razer/components/tooltip.css +16 -16
  73. package/src/razer/components/tree.css +18 -18
  74. package/src/razer/components/virtual.css +16 -16
  75. package/src/razer/crafts/index.ts +16 -16
  76. package/src/razer/index.ts +4 -4
  77. package/src/razer/preset.css +261 -261
  78. package/src/shared/css/animation-easing.css +21 -21
  79. package/src/shared/css/animations.css +252 -252
  80. package/src/shared/css/index.css +2 -2
  81. package/src/shared/css/static.css +31 -31
  82. package/src/shared/utils/tv.ts +91 -91
@@ -1,261 +1,261 @@
1
- @import '../shared/css/index.css';
2
-
3
- @custom-variant skin-razer (&:where(html[data-theme-skin=razer], html[data-theme-skin=razer] *));
4
-
5
- @custom-variant surface-dark (&:where([data-theme-surface=dark], [data-theme-surface=dark] *));
6
- @custom-variant surface-light (&:where([data-theme-surface=light], [data-theme-surface=light] *));
7
- @custom-variant surface-razer (&:where([data-theme-surface=razer], [data-theme-surface=razer] *));
8
-
9
- @custom-variant success (&:where([data-type=success], [data-type=success] *));
10
- @custom-variant error (&:where([data-type=error], [data-type=error] *));
11
- @custom-variant warning (&:where([data-type=warning], [data-type=warning] *));
12
- @custom-variant info (&:where([data-type=info], [data-type=info] *));
13
- @custom-variant loading (&:where([data-type=loading], [data-type=loading] *));
14
- @custom-variant arrow-css (&:where([data-arrow-type="css"]));
15
- @custom-variant arrow-svg (&:where([data-arrow-type="svg"]));
16
-
17
- @theme {
18
- /* Spacing */
19
- --spacing: 0.25rem;
20
-
21
- /* Breakpoints */
22
- --break-point-sm: 1024px;
23
- --break-point-md: 1440px;
24
- --break-point-lg: 1920px;
25
- --break-point-xl: 2560px;
26
- --break-point-2xl: 3840px;
27
-
28
- /* Colors */
29
- --color-*: initial;
30
- --color-tw-ring-color: transparent;
31
- --color-rz-green: oklch(76.87% 0.2343 141.32);
32
- --color-rz-green-dark: oklch(47.48% 0.2343 141.32);
33
- --color-rz-green-dark-hover: oklch(59.25% 0.2343 141.32);
34
- --color-rz-green-dark-active: oklch(33.16% 0.2343 141.32);
35
- --color-rz-green-light: oklch(82.23% 0.2343 141.32);
36
- --color-rz-green-border: oklch(45.35% 0.2343 141.32);
37
- --color-rz-green-border-hover: oklch(70.57% 0.2343 141.32);
38
- --color-rz-green-border-active: oklch(45.88% 0.2343 141.32);
39
-
40
- --color-rz-orange: oklch(80.16% 0.1705 73.27);
41
- --color-rz-red: oklch(62.32% 0.2121 25.89);
42
- --color-rz-blue: oklch(69% 0.1282 229.93);
43
-
44
- --color-black: oklch(0% 0 0);
45
- --color-h00: oklch(0% 0 0);
46
- --color-white: oklch(100% 0 0);
47
- --color-hff: oklch(100% 0 0);
48
- --color-h70: oklch(54.52% 0 0);
49
- --color-h4f: oklch(42.76% 0 0);
50
- --color-h9b: oklch(68.95% 0 0);
51
- --color-h83: oklch(61% 0 0);
52
- --color-h37: oklch(33.68% 0 0);
53
- --color-hcc: oklch(84.52% 0 0);
54
- --color-hbb: oklch(79.21% 0 0);
55
- --color-h33: oklch(32.11% 0 0);
56
- --color-h24: oklch(26.03% 0 0);
57
- --color-h8f: oklch(65% 0 0);
58
- --color-h1a: oklch(21.78% 0 0);
59
- --color-ha7: oklch(72.84% 0 0);
60
- --color-h5e: oklch(48.19% 0 0);
61
- --color-h4c: oklch(41.65% 0 0);
62
- --color-h55: oklch(44.95% 0 0);
63
- --color-h54: oklch(44.59% 0 0);
64
- --color-h66: oklch(51.03% 0 0);
65
- --color-h58: oklch(46.04% 0 0);
66
- --color-h28: oklch(27.68% 0 0);
67
- --color-h78: oklch(57.27% 0 0);
68
- --color-h88: oklch(62.68% 0 0);
69
- --color-hee: oklch(94.91% 0 0);
70
- --color-h44: oklch(38.67% 0 0);
71
- --color-h22: oklch(25.2% 0 0);
72
- --color-h16: oklch(20.02% 0 0);
73
- --color-h11: oklch(15.26% 0 0);
74
- --color-h2a: oklch(22.22% 0 0);
75
- --color-h1d: oklch(19.61% 0 0);
76
- --color-h47: oklch(40.64% 0 0);
77
- --color-h90: oklch(65.34% 0 0);
78
-
79
- /* Text */
80
- --text-3xs: 0.5rem;
81
- --text-3xs--line-height: 1.25;
82
- --text-2xs: 0.625rem;
83
- --text-2xs--line-height: 1.25;
84
- --text-xs: 0.75rem;
85
- --text-xs--line-height: 1.25;
86
- --text-sm: 0.875rem;
87
- --text-sm--line-height: 1.25;
88
- --text-base: 1rem;
89
- --text-base--line-height: 1.25;
90
- --text-lg: 1.125rem;
91
- --text-lg--line-height: 1.25;
92
- --text-xl: 1.25rem;
93
- --text-xl--line-height: 1.25;
94
- --text-2xl: 1.5rem;
95
- --text-2xl--line-height: 1.25;
96
- --text-3xl: 2rem;
97
- --text-3xl--line-height: 1.25;
98
-
99
- /* Shadows */
100
- --shadow-glory: 0 0 1.5625rem 0 oklch(86.64% 0.2343 141.32 / 47%);
101
- --shadow-black: 0 0 0.625rem 0 oklch(0% 0 0 / 80%);
102
- --shadow-black-md: 0 0 0.9375rem 0 oklch(0% 0 0 / 80%);
103
-
104
- /* Fonts */
105
- --font-rob: Roboto, var(--font-sans);
106
- --font-rob-regular: Roboto-Regular, var(--font-sans);
107
- --font-rob-medium: Roboto-Medium, var(--font-sans);
108
- --font-rob-bold: Roboto-Bold, var(--font-sans);
109
- --font-rob-black: Roboto-Black, var(--font-sans);
110
- --font-rz: RazerF5, var(--font-sans);
111
- --font-rz-light: RazerF5-Light, var(--font-sans);
112
- --font-rz-medium: RazerF5-Medium, var(--font-sans);
113
- --font-rz-bold: RazerF5-Bold, var(--font-sans);
114
- --font-rz-black: RazerF5-Black, var(--font-sans);
115
-
116
- /* Border Radius */
117
- --radius: 0.125rem; /* 2px */
118
- --radius-md: calc(var(--radius) + 0.125rem); /* 4px */
119
- --radius-lg: calc(var(--radius) + 0.25rem); /* 6px */
120
-
121
- /* Other */
122
- --outline: 2px solid var(--color-rz-green);
123
- --disabled-opacity: var(--opacity-50, 0.5);
124
-
125
- /* RUI Theme*/
126
- --color-rui-parimary: var(--color-rz-green);
127
- --color-rui-parimary-hover: var(--color-rz-green-dark-hover);
128
- --color-rui-parimary-active: var(--color-rz-green-dark-active);
129
-
130
- --color-rui-border: var(--color-h54);
131
-
132
- --color-rui-toggle-text: var(--color-h88);
133
- --color-rui-toggle-text-hover: var(--color-hff);
134
- --color-rui-toggle-text-active: var(--color-hff);
135
-
136
- --color-rui-success: var(--color-rz-green);
137
- --color-rui-error: var(--color-rz-red);
138
- --color-rui-info: var(--color-h88);
139
- --color-rui-warning: var(--color-rz-orange);
140
-
141
- --color-rui-close: var(--color-h88);
142
- --color-rui-close-hover: var(--color-hff);
143
-
144
- --color-rui-separator: var(--color-h00);
145
-
146
- --font-rui-label: var(--font-rob-bold);
147
-
148
- --shadow-rui-popper: 0 0.25rem 0.375rem 0 oklch(0% 0 0 / 80%);
149
- --shadow-rui-popper-top: 0 -0.25rem 0.375rem 0 oklch(0% 0 0 / 80%);
150
- }
151
-
152
- @theme inline {
153
- }
154
-
155
- @theme static {
156
- }
157
-
158
- @layer base {
159
- *,
160
- ::after,
161
- ::before,
162
- ::backdrop,
163
- ::file-selector-button {
164
- border-color: var(--color-gray-200, currentColor);
165
- }
166
-
167
- :root {
168
- font-family: var(--font-roboto, --font-sans);
169
- }
170
-
171
- *:focus-visible {
172
- outline: var(--outline);
173
- outline-offset: 2px;
174
- }
175
- }
176
-
177
- @utility flex-c {
178
- @apply flex justify-center items-center;
179
- }
180
-
181
- @utility flex-ac {
182
- @apply flex justify-around items-center;
183
- }
184
-
185
- @utility flex-bc {
186
- @apply flex justify-between items-center;
187
- }
188
-
189
- @utility flex-col-c {
190
- @apply flex flex-col justify-center items-center;
191
- }
192
-
193
- @utility flex-col-ac {
194
- @apply flex flex-col justify-center items-center;
195
- }
196
-
197
- @utility flex-col-bc {
198
- @apply flex flex-col justify-between items-center;
199
- }
200
-
201
- @utility hide-scrollbar {
202
- &::-webkit-scrollbar {
203
- display: none;
204
- }
205
- }
206
-
207
- @utility webkit-scrollbar {
208
- ::-webkit-scrollbar {
209
- @apply size-[6px];
210
- }
211
-
212
- ::-webkit-scrollbar-track-piece {
213
- @apply bg-transparent rounded-[6px];
214
- }
215
-
216
- ::-webkit-scrollbar-thumb {
217
- @apply h-[30px] bg-h58/40 rounded-[6px] hover:bg-rz-green active:bg-rz-green/70 focus:bg-rz-green/70;
218
- }
219
- }
220
-
221
- @utility webkit-scrollbar-self {
222
- &::-webkit-scrollbar {
223
- @apply size-[6px];
224
- }
225
-
226
- &::-webkit-scrollbar-track-piece {
227
- @apply bg-transparent rounded-[6px];
228
- }
229
-
230
- &::-webkit-scrollbar-thumb {
231
- @apply h-[30px] bg-h58/40 rounded-[6px] hover:bg-rz-green active:bg-rz-green/70 focus:bg-rz-green/70;
232
- }
233
- }
234
-
235
- @utility webkit-small-scrollbar {
236
- ::-webkit-scrollbar {
237
- @apply size-[3px];
238
- }
239
-
240
- ::-webkit-scrollbar-track-piece {
241
- @apply bg-transparent rounded-[1px];
242
- }
243
-
244
- ::-webkit-scrollbar-thumb {
245
- @apply h-[5px] bg-h58/40 rounded-[1px] hover:bg-rz-green active:bg-rz-green/70 focus:bg-rz-green/70;
246
- }
247
- }
248
-
249
- @utility webkit-small-scrollbar-self {
250
- &::-webkit-scrollbar {
251
- @apply size-[3px];
252
- }
253
-
254
- &::-webkit-scrollbar-track-piece {
255
- @apply bg-transparent rounded-[1px];
256
- }
257
-
258
- &::-webkit-scrollbar-thumb {
259
- @apply h-[5px] bg-h58/40 rounded-[1px] hover:bg-rz-green active:bg-rz-green/70 focus:bg-rz-green/70;
260
- }
261
- }
1
+ @import '../shared/css/index.css';
2
+
3
+ @custom-variant skin-razer (&:where(html[data-theme-skin=razer], html[data-theme-skin=razer] *));
4
+
5
+ @custom-variant surface-dark (&:where([data-theme-surface=dark], [data-theme-surface=dark] *));
6
+ @custom-variant surface-light (&:where([data-theme-surface=light], [data-theme-surface=light] *));
7
+ @custom-variant surface-razer (&:where([data-theme-surface=razer], [data-theme-surface=razer] *));
8
+
9
+ @custom-variant success (&:where([data-type=success], [data-type=success] *));
10
+ @custom-variant error (&:where([data-type=error], [data-type=error] *));
11
+ @custom-variant warning (&:where([data-type=warning], [data-type=warning] *));
12
+ @custom-variant info (&:where([data-type=info], [data-type=info] *));
13
+ @custom-variant loading (&:where([data-type=loading], [data-type=loading] *));
14
+ @custom-variant arrow-css (&:where([data-arrow-type="css"]));
15
+ @custom-variant arrow-svg (&:where([data-arrow-type="svg"]));
16
+
17
+ @theme {
18
+ /* Spacing */
19
+ --spacing: 0.25rem;
20
+
21
+ /* Breakpoints */
22
+ --break-point-sm: 1024px;
23
+ --break-point-md: 1440px;
24
+ --break-point-lg: 1920px;
25
+ --break-point-xl: 2560px;
26
+ --break-point-2xl: 3840px;
27
+
28
+ /* Colors */
29
+ --color-*: initial;
30
+ --color-tw-ring-color: transparent;
31
+ --color-rz-green: oklch(76.87% 0.2343 141.32);
32
+ --color-rz-green-dark: oklch(47.48% 0.2343 141.32);
33
+ --color-rz-green-dark-hover: oklch(59.25% 0.2343 141.32);
34
+ --color-rz-green-dark-active: oklch(33.16% 0.2343 141.32);
35
+ --color-rz-green-light: oklch(82.23% 0.2343 141.32);
36
+ --color-rz-green-border: oklch(45.35% 0.2343 141.32);
37
+ --color-rz-green-border-hover: oklch(70.57% 0.2343 141.32);
38
+ --color-rz-green-border-active: oklch(45.88% 0.2343 141.32);
39
+
40
+ --color-rz-orange: oklch(80.16% 0.1705 73.27);
41
+ --color-rz-red: oklch(62.32% 0.2121 25.89);
42
+ --color-rz-blue: oklch(69% 0.1282 229.93);
43
+
44
+ --color-black: oklch(0% 0 0);
45
+ --color-h00: oklch(0% 0 0);
46
+ --color-white: oklch(100% 0 0);
47
+ --color-hff: oklch(100% 0 0);
48
+ --color-h70: oklch(54.52% 0 0);
49
+ --color-h4f: oklch(42.76% 0 0);
50
+ --color-h9b: oklch(68.95% 0 0);
51
+ --color-h83: oklch(61% 0 0);
52
+ --color-h37: oklch(33.68% 0 0);
53
+ --color-hcc: oklch(84.52% 0 0);
54
+ --color-hbb: oklch(79.21% 0 0);
55
+ --color-h33: oklch(32.11% 0 0);
56
+ --color-h24: oklch(26.03% 0 0);
57
+ --color-h8f: oklch(65% 0 0);
58
+ --color-h1a: oklch(21.78% 0 0);
59
+ --color-ha7: oklch(72.84% 0 0);
60
+ --color-h5e: oklch(48.19% 0 0);
61
+ --color-h4c: oklch(41.65% 0 0);
62
+ --color-h55: oklch(44.95% 0 0);
63
+ --color-h54: oklch(44.59% 0 0);
64
+ --color-h66: oklch(51.03% 0 0);
65
+ --color-h58: oklch(46.04% 0 0);
66
+ --color-h28: oklch(27.68% 0 0);
67
+ --color-h78: oklch(57.27% 0 0);
68
+ --color-h88: oklch(62.68% 0 0);
69
+ --color-hee: oklch(94.91% 0 0);
70
+ --color-h44: oklch(38.67% 0 0);
71
+ --color-h22: oklch(25.2% 0 0);
72
+ --color-h16: oklch(20.02% 0 0);
73
+ --color-h11: oklch(15.26% 0 0);
74
+ --color-h2a: oklch(22.22% 0 0);
75
+ --color-h1d: oklch(19.61% 0 0);
76
+ --color-h47: oklch(40.64% 0 0);
77
+ --color-h90: oklch(65.34% 0 0);
78
+
79
+ /* Text */
80
+ --text-3xs: 0.5rem;
81
+ --text-3xs--line-height: 1.25;
82
+ --text-2xs: 0.625rem;
83
+ --text-2xs--line-height: 1.25;
84
+ --text-xs: 0.75rem;
85
+ --text-xs--line-height: 1.25;
86
+ --text-sm: 0.875rem;
87
+ --text-sm--line-height: 1.25;
88
+ --text-base: 1rem;
89
+ --text-base--line-height: 1.25;
90
+ --text-lg: 1.125rem;
91
+ --text-lg--line-height: 1.25;
92
+ --text-xl: 1.25rem;
93
+ --text-xl--line-height: 1.25;
94
+ --text-2xl: 1.5rem;
95
+ --text-2xl--line-height: 1.25;
96
+ --text-3xl: 2rem;
97
+ --text-3xl--line-height: 1.25;
98
+
99
+ /* Shadows */
100
+ --shadow-glory: 0 0 1.5625rem 0 oklch(86.64% 0.2343 141.32 / 47%);
101
+ --shadow-black: 0 0 0.625rem 0 oklch(0% 0 0 / 80%);
102
+ --shadow-black-md: 0 0 0.9375rem 0 oklch(0% 0 0 / 80%);
103
+
104
+ /* Fonts */
105
+ --font-rob: Roboto, var(--font-sans);
106
+ --font-rob-regular: Roboto-Regular, var(--font-sans);
107
+ --font-rob-medium: Roboto-Medium, var(--font-sans);
108
+ --font-rob-bold: Roboto-Bold, var(--font-sans);
109
+ --font-rob-black: Roboto-Black, var(--font-sans);
110
+ --font-rz: RazerF5, var(--font-sans);
111
+ --font-rz-light: RazerF5-Light, var(--font-sans);
112
+ --font-rz-medium: RazerF5-Medium, var(--font-sans);
113
+ --font-rz-bold: RazerF5-Bold, var(--font-sans);
114
+ --font-rz-black: RazerF5-Black, var(--font-sans);
115
+
116
+ /* Border Radius */
117
+ --radius: 0.125rem; /* 2px */
118
+ --radius-md: calc(var(--radius) + 0.125rem); /* 4px */
119
+ --radius-lg: calc(var(--radius) + 0.25rem); /* 6px */
120
+
121
+ /* Other */
122
+ --outline: 2px solid var(--color-rz-green);
123
+ --disabled-opacity: var(--opacity-50, 0.5);
124
+
125
+ /* RUI Theme*/
126
+ --color-rui-parimary: var(--color-rz-green);
127
+ --color-rui-parimary-hover: var(--color-rz-green-dark-hover);
128
+ --color-rui-parimary-active: var(--color-rz-green-dark-active);
129
+
130
+ --color-rui-border: var(--color-h54);
131
+
132
+ --color-rui-toggle-text: var(--color-h88);
133
+ --color-rui-toggle-text-hover: var(--color-hff);
134
+ --color-rui-toggle-text-active: var(--color-hff);
135
+
136
+ --color-rui-success: var(--color-rz-green);
137
+ --color-rui-error: var(--color-rz-red);
138
+ --color-rui-info: var(--color-h88);
139
+ --color-rui-warning: var(--color-rz-orange);
140
+
141
+ --color-rui-close: var(--color-h88);
142
+ --color-rui-close-hover: var(--color-hff);
143
+
144
+ --color-rui-separator: var(--color-h00);
145
+
146
+ --font-rui-label: var(--font-rob-bold);
147
+
148
+ --shadow-rui-popper: 0 0.25rem 0.375rem 0 oklch(0% 0 0 / 80%);
149
+ --shadow-rui-popper-top: 0 -0.25rem 0.375rem 0 oklch(0% 0 0 / 80%);
150
+ }
151
+
152
+ @theme inline {
153
+ }
154
+
155
+ @theme static {
156
+ }
157
+
158
+ @layer base {
159
+ *,
160
+ ::after,
161
+ ::before,
162
+ ::backdrop,
163
+ ::file-selector-button {
164
+ border-color: var(--color-gray-200, currentColor);
165
+ }
166
+
167
+ :root {
168
+ font-family: var(--font-roboto, --font-sans);
169
+ }
170
+
171
+ *:focus-visible {
172
+ outline: var(--outline);
173
+ outline-offset: 2px;
174
+ }
175
+ }
176
+
177
+ @utility flex-c {
178
+ @apply flex justify-center items-center;
179
+ }
180
+
181
+ @utility flex-ac {
182
+ @apply flex justify-around items-center;
183
+ }
184
+
185
+ @utility flex-bc {
186
+ @apply flex justify-between items-center;
187
+ }
188
+
189
+ @utility flex-col-c {
190
+ @apply flex flex-col justify-center items-center;
191
+ }
192
+
193
+ @utility flex-col-ac {
194
+ @apply flex flex-col justify-center items-center;
195
+ }
196
+
197
+ @utility flex-col-bc {
198
+ @apply flex flex-col justify-between items-center;
199
+ }
200
+
201
+ @utility hide-scrollbar {
202
+ &::-webkit-scrollbar {
203
+ display: none;
204
+ }
205
+ }
206
+
207
+ @utility webkit-scrollbar {
208
+ ::-webkit-scrollbar {
209
+ @apply size-[6px];
210
+ }
211
+
212
+ ::-webkit-scrollbar-track-piece {
213
+ @apply bg-transparent rounded-[6px];
214
+ }
215
+
216
+ ::-webkit-scrollbar-thumb {
217
+ @apply h-[30px] bg-h58/40 rounded-[6px] hover:bg-rz-green active:bg-rz-green/70 focus:bg-rz-green/70;
218
+ }
219
+ }
220
+
221
+ @utility webkit-scrollbar-self {
222
+ &::-webkit-scrollbar {
223
+ @apply size-[6px];
224
+ }
225
+
226
+ &::-webkit-scrollbar-track-piece {
227
+ @apply bg-transparent rounded-[6px];
228
+ }
229
+
230
+ &::-webkit-scrollbar-thumb {
231
+ @apply h-[30px] bg-h58/40 rounded-[6px] hover:bg-rz-green active:bg-rz-green/70 focus:bg-rz-green/70;
232
+ }
233
+ }
234
+
235
+ @utility webkit-small-scrollbar {
236
+ ::-webkit-scrollbar {
237
+ @apply size-[3px];
238
+ }
239
+
240
+ ::-webkit-scrollbar-track-piece {
241
+ @apply bg-transparent rounded-[1px];
242
+ }
243
+
244
+ ::-webkit-scrollbar-thumb {
245
+ @apply h-[5px] bg-h58/40 rounded-[1px] hover:bg-rz-green active:bg-rz-green/70 focus:bg-rz-green/70;
246
+ }
247
+ }
248
+
249
+ @utility webkit-small-scrollbar-self {
250
+ &::-webkit-scrollbar {
251
+ @apply size-[3px];
252
+ }
253
+
254
+ &::-webkit-scrollbar-track-piece {
255
+ @apply bg-transparent rounded-[1px];
256
+ }
257
+
258
+ &::-webkit-scrollbar-thumb {
259
+ @apply h-[5px] bg-h58/40 rounded-[1px] hover:bg-rz-green active:bg-rz-green/70 focus:bg-rz-green/70;
260
+ }
261
+ }
@@ -1,21 +1,21 @@
1
- @theme {
2
- /* tw default duration */
3
- --tw-duration: var(--motion-duration);
4
- --default-transition-duration: var(--motion-duration);
5
- --transition-duration: var(--motion-duration);
6
- --tw-timing: var(--motion-timing);
7
- --default-transition-timing-function: var(--motion-timing);
8
- --transition-timing-function: var(--motion-timing);
9
- }
10
-
11
- @property --motion-duration {
12
- syntax: '<time>';
13
- inherits: false;
14
- initial-value: 200ms;
15
- }
16
-
17
- @property --motion-timing {
18
- syntax: '*';
19
- inherits: false;
20
- initial-value: cubic-bezier(0, 0, 0.2, 1);
21
- }
1
+ @theme {
2
+ /* tw default duration */
3
+ --tw-duration: var(--motion-duration);
4
+ --default-transition-duration: var(--motion-duration);
5
+ --transition-duration: var(--motion-duration);
6
+ --tw-timing: var(--motion-timing);
7
+ --default-transition-timing-function: var(--motion-timing);
8
+ --transition-timing-function: var(--motion-timing);
9
+ }
10
+
11
+ @property --motion-duration {
12
+ syntax: '<time>';
13
+ inherits: false;
14
+ initial-value: 200ms;
15
+ }
16
+
17
+ @property --motion-timing {
18
+ syntax: '*';
19
+ inherits: false;
20
+ initial-value: cubic-bezier(0, 0, 0.2, 1);
21
+ }