@uxf/ui 11.19.0 → 11.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/_file-input-base/file-input-base.js +1 -1
  2. package/_input-with-popover/input-with-popover.d.ts +1 -4
  3. package/_input-with-popover/input-with-popover.js +15 -12
  4. package/alert-bubble/alert-bubble.d.ts +2 -2
  5. package/alert-bubble/alert-bubble.js +1 -1
  6. package/avatar-file-input/avatar-file-input.d.ts +1 -1
  7. package/avatar-file-input/avatar-file-input.js +4 -4
  8. package/button/button.d.ts +1 -1
  9. package/button/button.js +2 -2
  10. package/button-list/button-list.js +2 -2
  11. package/calendar/calendar-day-cell.js +4 -4
  12. package/checkbox/checkbox.d.ts +1 -1
  13. package/checkbox/checkbox.js +2 -2
  14. package/checkbox-input/checkbox-input.d.ts +1 -1
  15. package/checkbox-input/checkbox-input.js +1 -1
  16. package/chip/chip.d.ts +1 -1
  17. package/chip/chip.js +2 -2
  18. package/color-radio/color-radio.js +2 -2
  19. package/combobox/README.md +5 -4
  20. package/combobox/combobox.d.ts +40 -14
  21. package/combobox/combobox.js +64 -13
  22. package/combobox/combobox.stories.d.ts +2 -5
  23. package/combobox/index.d.ts +1 -1
  24. package/css/alert-bubble.css +8 -16
  25. package/css/avatar-file-input.css +13 -24
  26. package/css/avatar.css +1 -5
  27. package/css/badge.css +1 -5
  28. package/css/button-list.css +4 -18
  29. package/css/button.css +21 -89
  30. package/css/calendar.css +23 -41
  31. package/css/checkbox-button.css +54 -55
  32. package/css/checkbox-input.css +2 -4
  33. package/css/checkbox.css +47 -59
  34. package/css/chip.css +80 -140
  35. package/css/color-radio-group.css +2 -5
  36. package/css/color-radio.css +1 -5
  37. package/css/combobox.css +7 -0
  38. package/css/date-picker.css +2 -4
  39. package/css/dialog.css +2 -5
  40. package/css/dropdown.css +54 -40
  41. package/css/dropzone.css +4 -9
  42. package/css/file-input.css +5 -21
  43. package/css/flash-messages.css +20 -8
  44. package/css/input-with-popover.css +1 -5
  45. package/css/input.css +40 -55
  46. package/css/label.css +1 -5
  47. package/css/list-item.css +10 -13
  48. package/css/loader.css +4 -4
  49. package/css/message.css +2 -8
  50. package/css/multi-combobox.css +81 -56
  51. package/css/multi-select.css +98 -13
  52. package/css/pagination.css +5 -20
  53. package/css/radio-group.css +51 -92
  54. package/css/radio.css +49 -58
  55. package/css/select.css +11 -0
  56. package/css/tabs.css +12 -36
  57. package/css/text-link.css +3 -6
  58. package/css/textarea.css +16 -22
  59. package/css/toggle.css +20 -40
  60. package/dropdown/dropdown.d.ts +1 -1
  61. package/dropdown/dropdown.js +3 -3
  62. package/dropzone/dropzone-input.js +2 -2
  63. package/file-input/file-input.js +4 -4
  64. package/flash-messages/flash-message.d.ts +3 -2
  65. package/flash-messages/flash-message.js +11 -12
  66. package/flash-messages/flash-messages.js +22 -3
  67. package/flash-messages/flash-messages.stories.js +15 -1
  68. package/icon/icon.d.ts +1 -0
  69. package/icon/icon.js +3 -3
  70. package/icon/index.d.ts +1 -0
  71. package/image-gallery/components/close-button.js +1 -1
  72. package/image-gallery/components/next-button.js +1 -1
  73. package/image-gallery/components/prev-button.js +1 -1
  74. package/image-gallery/use-image.js +2 -2
  75. package/input/README.md +1 -1
  76. package/input/index.d.ts +2 -0
  77. package/input/index.js +2 -0
  78. package/input/input-arrow-icon.d.ts +8 -0
  79. package/input/input-arrow-icon.js +16 -0
  80. package/input/input.d.ts +3 -2
  81. package/input/input.js +8 -8
  82. package/input/input.stories.d.ts +1 -0
  83. package/list-item/list-item.d.ts +1 -1
  84. package/list-item/list-item.js +2 -2
  85. package/message/message.d.ts +1 -1
  86. package/multi-combobox/README.md +5 -2
  87. package/multi-combobox/multi-combobox.d.ts +2 -2
  88. package/multi-combobox/multi-combobox.js +118 -32
  89. package/multi-combobox/multi-combobox.stories.js +4 -6
  90. package/multi-combobox/types.d.ts +3 -1
  91. package/multi-select/README.md +5 -3
  92. package/multi-select/multi-select.d.ts +2 -2
  93. package/multi-select/multi-select.js +79 -23
  94. package/multi-select/multi-select.stories.js +1 -2
  95. package/multi-select/types.d.ts +3 -1
  96. package/package.json +4 -3
  97. package/pagination/pagination.js +2 -2
  98. package/radio/radio.d.ts +1 -1
  99. package/radio/radio.js +2 -2
  100. package/radio-group/radio-group.d.ts +2 -2
  101. package/radio-group/radio-group.js +1 -1
  102. package/raster-image/empty-image.d.ts +9 -0
  103. package/raster-image/empty-image.js +13 -0
  104. package/raster-image/img-sources.d.ts +17 -0
  105. package/raster-image/img-sources.js +45 -0
  106. package/raster-image/raster-image.d.ts +18 -13
  107. package/raster-image/raster-image.js +19 -20
  108. package/raster-image/raster-image.stories.d.ts +2 -1
  109. package/raster-image/responsive-img-sources.d.ts +15 -0
  110. package/raster-image/responsive-img-sources.js +20 -0
  111. package/select/README.md +5 -3
  112. package/select/select.d.ts +38 -13
  113. package/select/select.js +91 -13
  114. package/select/select.stories.js +3 -1
  115. package/tabs/tabs.js +2 -2
  116. package/text-input/text-input.js +4 -4
  117. package/text-link/text-link.d.ts +1 -1
  118. package/text-link/text-link.js +2 -2
  119. package/textarea/textarea.js +6 -6
  120. package/toggle/toggle.d.ts +1 -1
  121. package/tooltip/tooltip.js +2 -2
  122. package/utils/files/get-file-icon.d.ts +1 -1
  123. package/_select-base/_select-base.d.ts +0 -58
  124. package/_select-base/_select-base.js +0 -107
  125. package/_select-base/index.d.ts +0 -2
  126. package/_select-base/index.js +0 -5
  127. package/css/select-base.css +0 -50
  128. package/multi-combobox/_multi-combobox-base.d.ts +0 -8
  129. package/multi-combobox/_multi-combobox-base.js +0 -141
  130. package/multi-select/_multi-select-base.d.ts +0 -8
  131. package/multi-select/_multi-select-base.js +0 -78
@@ -18,9 +18,7 @@
18
18
  width: theme("width.20");
19
19
 
20
20
  &:hover .uxf-avatar-file-input__input-empty {
21
- :root .light & {
22
- --bg-color: theme("colors.lightBorder/.25");
23
- }
21
+ --bg-color: theme("colors.lightBorder/.25");
24
22
 
25
23
  :root .dark & {
26
24
  --bg-color: theme("colors.darkBorder/.25");
@@ -28,11 +26,9 @@
28
26
  }
29
27
 
30
28
  &.is-invalid .uxf-avatar-file-input__input-empty {
31
- :root .light & {
32
- --bg-color: theme("colors.error.DEFAULT/.05");
33
- --border-color: var(--color);
34
- --color: theme("colors.error.DEFAULT");
35
- }
29
+ --bg-color: theme("colors.error.DEFAULT/.05");
30
+ --border-color: var(--color);
31
+ --color: theme("colors.error.DEFAULT");
36
32
 
37
33
  :root .dark & {
38
34
  --bg-color: theme("colors.error.DEFAULT/.05");
@@ -45,10 +41,8 @@
45
41
  pointer-events: none;
46
42
 
47
43
  .uxf-avatar-file-input__input-empty {
48
- :root .light & {
49
- --border-color: var(--color);
50
- --color: theme("colors.lightBorder");
51
- }
44
+ --border-color: var(--color);
45
+ --color: theme("colors.lightBorder");
52
46
 
53
47
  :root .dark & {
54
48
  --border-color: var(--color);
@@ -68,17 +62,15 @@
68
62
  &:focus-visible + .uxf-avatar-file-input__input-empty {
69
63
  border-width: theme("borderWidth.4");
70
64
 
71
- /* :root .light & {
72
- --bg-color: theme("colors.primary.DEFAULT/.05");
73
- --border-color: var(--color);
74
- --color: theme("colors.primary.DEFAULT");
75
- }
65
+ /* --bg-color: theme("colors.primary.DEFAULT/.05");
66
+ --border-color: var(--color);
67
+ --color: theme("colors.primary.DEFAULT");
76
68
 
77
69
  :root .dark & {
78
70
  --bg-color: theme("colors.primary.DEFAULT/.05");
79
71
  --border-color: var(--color);
80
72
  --color: theme("colors.primary.DEFAULT");
81
- */
73
+ } */
82
74
  }
83
75
  }
84
76
 
@@ -91,6 +83,8 @@
91
83
 
92
84
  &__input-empty {
93
85
  --bg-color: transparent;
86
+ --border-color: theme("colors.lightBorder");
87
+ --color: theme("colors.lightMedium");
94
88
 
95
89
  @apply transition-all duration-75;
96
90
 
@@ -103,14 +97,9 @@
103
97
  justify-content: center;
104
98
  width: 100%;
105
99
 
106
- :root .light & {
107
- --color: theme("colors.lightMedium");
108
- --border-color: theme("colors.lightBorder");
109
- }
110
-
111
100
  :root .dark & {
112
- --color: theme("colors.darkMedium");
113
101
  --border-color: theme("colors.darkBorder");
102
+ --color: theme("colors.darkMedium");
114
103
  }
115
104
  }
116
105
 
package/css/avatar.css CHANGED
@@ -1,14 +1,10 @@
1
1
  .uxf-avatar {
2
- @apply relative inline-flex size-10 items-center justify-center rounded-full;
2
+ @apply relative inline-flex size-10 items-center justify-center rounded-full bg-gray-200 text-gray-700;
3
3
 
4
4
  &__image {
5
5
  @apply rounded-inherit absolute left-0 top-0 block size-full object-cover;
6
6
  }
7
7
 
8
- :root .light & {
9
- @apply bg-gray-200 text-gray-700;
10
- }
11
-
12
8
  :root .dark & {
13
9
  @apply bg-gray-800 text-gray-200;
14
10
  }
package/css/badge.css CHANGED
@@ -1,5 +1,5 @@
1
1
  .uxf-badge {
2
- @apply inline-flex items-center justify-center font-bold;
2
+ @apply bg-primary inline-flex items-center justify-center font-bold text-white;
3
3
 
4
4
  &--size-small {
5
5
  @apply h-6 min-w-[24px] rounded-[12px] px-1.5 text-sm;
@@ -13,10 +13,6 @@
13
13
  @apply h-10 min-w-[40px] rounded-[20px] px-2 text-lg;
14
14
  }
15
15
 
16
- :root .light & {
17
- @apply bg-primary text-white;
18
- }
19
-
20
16
  :root .dark & {
21
17
  @apply bg-white text-gray-900;
22
18
  }
@@ -8,11 +8,7 @@
8
8
  }
9
9
 
10
10
  &__menu-items {
11
- @apply z-dropdown absolute right-0 mt-2 w-40 divide-y rounded-md shadow-lg ring-1 focus:outline-none;
12
-
13
- :root .light & {
14
- @apply divide-gray-100 bg-white ring-black/5;
15
- }
11
+ @apply z-dropdown absolute right-0 mt-2 w-40 divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black/5 focus:outline-none;
16
12
 
17
13
  :root .dark & {
18
14
  @apply divide-gray-700 bg-gray-900 ring-white/10;
@@ -28,22 +24,14 @@
28
24
  }
29
25
 
30
26
  &__menu-button {
31
- @apply is-hoverable:hover:cursor-pointer flex space-x-3 px-3 py-2 text-sm;
32
-
33
- :root .light & {
34
- @apply text-black hover:text-gray-800;
35
- }
27
+ @apply is-hoverable:hover:cursor-pointer flex space-x-3 px-3 py-2 text-sm text-black hover:text-gray-800;
36
28
 
37
29
  :root .dark & {
38
30
  @apply text-white hover:text-gray-200;
39
31
  }
40
32
 
41
33
  &-icon {
42
- @apply w-3;
43
-
44
- :root .light & {
45
- @apply text-lightMedium;
46
- }
34
+ @apply text-lightMedium w-3;
47
35
 
48
36
  :root .dark & {
49
37
  @apply text-darkMedium;
@@ -51,9 +39,7 @@
51
39
  }
52
40
 
53
41
  &.is-disabled {
54
- :root .light & {
55
- @apply text-lightLow;
56
- }
42
+ @apply text-lightLow;
57
43
 
58
44
  :root .dark & {
59
45
  @apply text-darkLow;
package/css/button.css CHANGED
@@ -132,22 +132,14 @@
132
132
  }
133
133
 
134
134
  &--variant-outlined {
135
- @apply border;
136
-
137
- :root .light & {
138
- @apply bg-white;
139
- }
135
+ @apply border bg-white;
140
136
 
141
137
  :root .dark & {
142
138
  @apply bg-lightHigh;
143
139
  }
144
140
 
145
141
  &.uxf-button--color-default {
146
- @apply focus-visible:ring-primary;
147
-
148
- :root .light & {
149
- @apply border-primary text-primary is-hoverable:border-primary-700 is-hoverable:text-primary-700;
150
- }
142
+ @apply focus-visible:ring-primary border-primary text-primary is-hoverable:border-primary-700 is-hoverable:text-primary-700;
151
143
 
152
144
  :root .dark & {
153
145
  @apply border-primary text-primary is-hoverable:border-primary-300 is-hoverable:text-primary-300;
@@ -155,11 +147,7 @@
155
147
  }
156
148
 
157
149
  &.uxf-button--color-success {
158
- @apply focus-visible:ring-success;
159
-
160
- :root .light & {
161
- @apply border-success text-success is-hoverable:border-success-700 is-hoverable:text-success-700;
162
- }
150
+ @apply focus-visible:ring-success border-success text-success is-hoverable:border-success-700 is-hoverable:text-success-700;
163
151
 
164
152
  :root .dark & {
165
153
  @apply border-success text-success is-hoverable:border-success-300 is-hoverable:text-success-300;
@@ -167,11 +155,7 @@
167
155
  }
168
156
 
169
157
  &.uxf-button--color-warning {
170
- @apply focus-visible:ring-warning;
171
-
172
- :root .light & {
173
- @apply border-warning text-warning is-hoverable:border-warning-700 is-hoverable:text-warning-700;
174
- }
158
+ @apply focus-visible:ring-warning border-warning text-warning is-hoverable:border-warning-700 is-hoverable:text-warning-700;
175
159
 
176
160
  :root .dark & {
177
161
  @apply border-warning text-warning is-hoverable:border-warning-300 is-hoverable:text-warning-300;
@@ -179,11 +163,7 @@
179
163
  }
180
164
 
181
165
  &.uxf-button--color-error {
182
- @apply focus-visible:ring-error;
183
-
184
- :root .light & {
185
- @apply border-error text-error is-hoverable:border-error-700 is-hoverable:text-error-700;
186
- }
166
+ @apply focus-visible:ring-error border-error text-error is-hoverable:border-error-700 is-hoverable:text-error-700;
187
167
 
188
168
  :root .dark & {
189
169
  @apply border-error text-error is-hoverable:border-error-300 is-hoverable:text-error-300;
@@ -191,9 +171,7 @@
191
171
  }
192
172
 
193
173
  &.is-disabled {
194
- :root .light & {
195
- @apply text-lightLow border-gray-300 bg-gray-300;
196
- }
174
+ @apply text-lightLow border-gray-300 bg-gray-300;
197
175
 
198
176
  :root .dark & {
199
177
  @apply text-darkLow border-gray-700 bg-gray-700;
@@ -209,20 +187,14 @@
209
187
  }
210
188
 
211
189
  &.uxf-button--color-default {
212
- @apply focus-visible:ring-primary;
213
-
214
- :root .light & {
215
- @apply bg-primary is-hoverable:bg-primary-700;
216
- }
190
+ @apply focus-visible:ring-primary bg-primary is-hoverable:bg-primary-700;
217
191
 
218
192
  :root .dark & {
219
193
  @apply bg-primary is-hoverable:bg-primary-400;
220
194
  }
221
195
 
222
196
  &.is-disabled {
223
- :root .light & {
224
- @apply text-lightLow bg-gray-300;
225
- }
197
+ @apply text-lightLow bg-gray-300;
226
198
 
227
199
  :root .dark & {
228
200
  @apply bg-gray-600 text-gray-400;
@@ -231,20 +203,14 @@
231
203
  }
232
204
 
233
205
  &.uxf-button--color-success {
234
- @apply focus-visible:ring-success;
235
-
236
- :root .light & {
237
- @apply bg-success is-hoverable:bg-success-700;
238
- }
206
+ @apply focus-visible:ring-success bg-success is-hoverable:bg-success-700;
239
207
 
240
208
  :root .dark & {
241
209
  @apply bg-success is-hoverable:bg-success-400;
242
210
  }
243
211
 
244
212
  &.is-disabled {
245
- :root .light & {
246
- @apply text-lightLow bg-gray-300;
247
- }
213
+ @apply text-lightLow bg-gray-300;
248
214
 
249
215
  :root .dark & {
250
216
  @apply bg-gray-600 text-gray-400;
@@ -253,20 +219,14 @@
253
219
  }
254
220
 
255
221
  &.uxf-button--color-error {
256
- @apply focus-visible:ring-error;
257
-
258
- :root .light & {
259
- @apply bg-error is-hoverable:bg-error-700;
260
- }
222
+ @apply focus-visible:ring-error bg-error is-hoverable:bg-error-700;
261
223
 
262
224
  :root .dark & {
263
225
  @apply bg-error is-hoverable:bg-error-400;
264
226
  }
265
227
 
266
228
  &.is-disabled {
267
- :root .light & {
268
- @apply text-lightLow bg-gray-300;
269
- }
229
+ @apply text-lightLow bg-gray-300;
270
230
 
271
231
  :root .dark & {
272
232
  @apply bg-gray-600 text-gray-400;
@@ -275,20 +235,14 @@
275
235
  }
276
236
 
277
237
  &.uxf-button--color-warning {
278
- @apply focus-visible:ring-warning;
279
-
280
- :root .light & {
281
- @apply bg-warning is-hoverable:bg-warning-700;
282
- }
238
+ @apply focus-visible:ring-warning bg-warning is-hoverable:bg-warning-700;
283
239
 
284
240
  :root .dark & {
285
241
  @apply bg-warning is-hoverable:bg-warning-400;
286
242
  }
287
243
 
288
244
  &.is-disabled {
289
- :root .light & {
290
- @apply text-lightLow bg-gray-300;
291
- }
245
+ @apply text-lightLow bg-gray-300;
292
246
 
293
247
  :root .dark & {
294
248
  @apply bg-gray-600 text-gray-400;
@@ -298,20 +252,14 @@
298
252
  }
299
253
 
300
254
  &--variant-white {
301
- @apply focus-visible:ring-primary border;
302
-
303
- :root .light & {
304
- @apply border-lightBorder text-lightMedium is-hoverable:bg-gray-100 bg-white;
305
- }
255
+ @apply focus-visible:ring-primary border-lightBorder text-lightMedium is-hoverable:bg-gray-100 border bg-white;
306
256
 
307
257
  :root .dark & {
308
258
  @apply border-darkBorder bg-lightHigh text-darkMedium is-hoverable:bg-gray-800 is-hoverable:text-darkHigh;
309
259
  }
310
260
 
311
261
  &.is-disabled {
312
- :root .light & {
313
- @apply text-lightLow;
314
- }
262
+ @apply text-lightLow;
315
263
 
316
264
  :root .dark & {
317
265
  @apply border-darkBorder text-darkLow;
@@ -323,9 +271,7 @@
323
271
  @apply shadow-none;
324
272
 
325
273
  &.uxf-button--color-default {
326
- :root .light & {
327
- @apply text-lightMedium is-hoverable:text-lightHigh;
328
- }
274
+ @apply text-lightMedium is-hoverable:text-lightHigh;
329
275
 
330
276
  :root .dark & {
331
277
  @apply text-darkMedium is-hoverable:text-darkHigh;
@@ -333,11 +279,7 @@
333
279
  }
334
280
 
335
281
  &.uxf-button--color-success {
336
- @apply text-success;
337
-
338
- :root .light & {
339
- @apply is-hoverable:text-success-700;
340
- }
282
+ @apply text-success is-hoverable:text-success-700;
341
283
 
342
284
  :root .dark & {
343
285
  @apply is-hoverable:text-success-300;
@@ -345,11 +287,7 @@
345
287
  }
346
288
 
347
289
  &.uxf-button--color-error {
348
- @apply text-error;
349
-
350
- :root .light & {
351
- @apply is-hoverable:text-error-700;
352
- }
290
+ @apply text-error is-hoverable:text-error-700;
353
291
 
354
292
  :root .dark & {
355
293
  @apply is-hoverable:text-error-300;
@@ -357,11 +295,7 @@
357
295
  }
358
296
 
359
297
  &.uxf-button--color-warning {
360
- @apply text-warning;
361
-
362
- :root .light & {
363
- @apply is-hoverable:text-warning-700;
364
- }
298
+ @apply text-warning is-hoverable:text-warning-700;
365
299
 
366
300
  :root .dark & {
367
301
  @apply is-hoverable:text-warning-300;
@@ -369,9 +303,7 @@
369
303
  }
370
304
 
371
305
  &.is-disabled {
372
- :root .light & {
373
- @apply text-lightLow;
374
- }
306
+ @apply text-lightLow;
375
307
 
376
308
  :root .dark & {
377
309
  @apply text-darkLow;
package/css/calendar.css CHANGED
@@ -1,7 +1,7 @@
1
1
  .uxf-calendar {
2
2
  &__cell {
3
- --bg-color: unset;
4
- --color: unset;
3
+ --bg-color: theme("backgroundColor.white");
4
+ --color: theme("colors.lightMedium");
5
5
  --compensated-radii: calc(theme("borderRadius.md") - theme("spacing.px"));
6
6
 
7
7
  align-items: center;
@@ -17,20 +17,13 @@
17
17
  position: relative;
18
18
  text-align: center;
19
19
 
20
- :root .light & {
21
- --bg-color: theme("backgroundColor.white");
22
- --color: theme("colors.lightMedium");
23
- }
24
-
25
20
  :root .dark & {
26
21
  --bg-color: theme("backgroundColor.gray.900");
27
22
  --color: theme("colors.darkMedium");
28
23
  }
29
24
 
30
25
  &:hover {
31
- :root .light & {
32
- --bg-color: theme("backgroundColor.gray.50");
33
- }
26
+ --bg-color: theme("backgroundColor.gray.50");
34
27
 
35
28
  :root .dark & {
36
29
  --bg-color: theme("backgroundColor.gray.950");
@@ -48,11 +41,9 @@
48
41
  }
49
42
 
50
43
  &.is-disabled {
51
- cursor: auto;
44
+ --bg-color: theme("backgroundColor.gray.100");
52
45
 
53
- :root .light & {
54
- --bg-color: theme("backgroundColor.gray.100");
55
- }
46
+ cursor: auto;
56
47
 
57
48
  :root .dark & {
58
49
  --bg-color: theme("backgroundColor.gray.800");
@@ -68,14 +59,17 @@
68
59
  }
69
60
 
70
61
  &--selected {
71
- :root .light &,
62
+ --bg-color: theme("backgroundColor.primary.500");
63
+ --color: theme("colors.white");
64
+
72
65
  :root .dark & {
73
66
  --bg-color: theme("backgroundColor.primary.500");
74
67
  --color: theme("colors.white");
75
68
  }
76
69
 
77
70
  &:hover {
78
- :root .light &,
71
+ --bg-color: theme("backgroundColor.primary.500");
72
+
79
73
  :root .dark & {
80
74
  --bg-color: theme("backgroundColor.primary.500");
81
75
  }
@@ -104,7 +98,11 @@
104
98
 
105
99
  &--today {
106
100
  .uxf-calendar__cell__inner {
101
+ --bg-color: theme("backgroundColor.lightHigh");
102
+ --color: theme("colors.white");
103
+
107
104
  align-items: center;
105
+ border: 2px solid theme("colors.lightMedium");
108
106
  border-radius: 999px;
109
107
  display: inline-flex;
110
108
  height: 32px;
@@ -112,13 +110,6 @@
112
110
  position: relative;
113
111
  width: 32px;
114
112
 
115
- :root .light & {
116
- --bg-color: theme("backgroundColor.lightHigh");
117
- --color: theme("colors.white");
118
-
119
- border: 2px solid theme("colors.lightMedium");
120
- }
121
-
122
113
  :root .dark & {
123
114
  --bg-color: theme("backgroundColor.transparent");
124
115
  --color: theme("colors.white");
@@ -130,10 +121,11 @@
130
121
  &.uxf-calendar__cell--selected {
131
122
  .uxf-calendar__cell__inner {
132
123
  background-color: theme("backgroundColor.transparent");
124
+ border-color: theme("colors.white");
133
125
  color: theme("colors.white");
134
126
 
135
- :root .light & {
136
- border-color: theme("colors.white");
127
+ :root .dark & {
128
+ border-color: theme("colors.darkMedium");
137
129
  }
138
130
  }
139
131
  }
@@ -155,10 +147,8 @@
155
147
  }
156
148
 
157
149
  &--not-current-month {
158
- :root .light & {
159
- --bg-color: theme("backgroundColor.gray.100");
160
- --color: theme("colors.lightLow");
161
- }
150
+ --bg-color: theme("backgroundColor.gray.100");
151
+ --color: theme("colors.lightLow");
162
152
 
163
153
  :root .dark & {
164
154
  --bg-color: theme("backgroundColor.gray.800");
@@ -200,6 +190,7 @@
200
190
  }
201
191
 
202
192
  &__weekdays {
193
+ color: theme("colors.lightLow");
203
194
  column-gap: 1px;
204
195
  display: grid;
205
196
  font-size: 10px;
@@ -210,10 +201,6 @@
210
201
  text-align: center;
211
202
  text-transform: uppercase;
212
203
 
213
- :root .light & {
214
- color: theme("colors.lightLow");
215
- }
216
-
217
204
  :root .dark & {
218
205
  color: theme("colors.darkLow");
219
206
  }
@@ -232,16 +219,13 @@
232
219
  &__decade,
233
220
  &__hours,
234
221
  &__minutes {
222
+ background-color: theme("backgroundColor.lightBorder");
235
223
  border-radius: 6px;
236
224
  display: grid;
237
225
  gap: 1px;
238
226
  padding: 1px;
239
227
  text-align: center;
240
228
 
241
- :root .light & {
242
- background-color: theme("backgroundColor.lightBorder");
243
- }
244
-
245
229
  :root .dark & {
246
230
  background-color: theme("backgroundColor.darkBorder");
247
231
  }
@@ -269,14 +253,12 @@
269
253
  margin-bottom: theme("spacing.4");
270
254
 
271
255
  &__title {
256
+ @apply text-lightMedium is-hoverable:text-lightHigh;
257
+
272
258
  font-size: 14px;
273
259
  font-weight: theme("fontWeight.medium");
274
260
  text-align: center;
275
261
 
276
- :root .light & {
277
- @apply text-lightMedium is-hoverable:text-lightHigh;
278
- }
279
-
280
262
  :root .dark & {
281
263
  @apply text-darkMedium is-hoverable:text-darkHigh;
282
264
  }