@duskmoon-dev/core 1.15.0 → 1.16.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 (126) hide show
  1. package/dist/cjs/tailwind-plugin.cjs +38 -79
  2. package/dist/components/accordion.css +7 -7
  3. package/dist/components/alert.css +2 -2
  4. package/dist/components/appbar.css +5 -5
  5. package/dist/components/autocomplete.css +7 -7
  6. package/dist/components/avatar.css +5 -5
  7. package/dist/components/badge.css +3 -3
  8. package/dist/components/bottom-navigation.css +7 -7
  9. package/dist/components/bottomsheet.css +12 -12
  10. package/dist/components/button.css +19 -19
  11. package/dist/components/card.css +9 -2
  12. package/dist/components/cascader.css +9 -9
  13. package/dist/components/checkbox.css +1 -1
  14. package/dist/components/chip.css +12 -10
  15. package/dist/components/circle-menu.css +324 -0
  16. package/dist/components/code-block.css +133 -0
  17. package/dist/components/collapse.css +9 -9
  18. package/dist/components/datepicker.css +22 -22
  19. package/dist/components/dialog.css +5 -5
  20. package/dist/components/drawer.css +13 -13
  21. package/dist/components/file-upload.css +12 -12
  22. package/dist/components/form-group.css +162 -1
  23. package/dist/components/form.css +159 -22
  24. package/dist/components/index.css +1026 -385
  25. package/dist/components/input.css +23 -14
  26. package/dist/components/list.css +3 -3
  27. package/dist/components/markdown-body.css +6 -6
  28. package/dist/components/modal.css +7 -7
  29. package/dist/components/multi-select.css +16 -16
  30. package/dist/components/navigation.css +20 -20
  31. package/dist/components/nested-menu.css +5 -5
  32. package/dist/components/otp-input.css +5 -5
  33. package/dist/components/pin-input.css +5 -5
  34. package/dist/components/popover.css +15 -15
  35. package/dist/components/progress.css +2 -2
  36. package/dist/components/radio.css +2 -2
  37. package/dist/components/rating.css +1 -1
  38. package/dist/components/segment-control.css +6 -6
  39. package/dist/components/select.css +7 -7
  40. package/dist/components/skeleton.css +11 -11
  41. package/dist/components/slider.css +16 -16
  42. package/dist/components/snackbar.css +5 -5
  43. package/dist/components/stepper.css +9 -9
  44. package/dist/components/switch.css +1 -1
  45. package/dist/components/table.css +3 -3
  46. package/dist/components/textarea.css +5 -5
  47. package/dist/components/theme-controller.css +4 -4
  48. package/dist/components/time-input.css +10 -10
  49. package/dist/components/timeline.css +6 -6
  50. package/dist/components/toast.css +3 -3
  51. package/dist/components/toggle.css +8 -8
  52. package/dist/components/tooltip.css +1 -1
  53. package/dist/components/tree-select.css +14 -14
  54. package/dist/esm/components/accordion.js +7 -7
  55. package/dist/esm/components/alert.js +2 -2
  56. package/dist/esm/components/appbar.js +5 -5
  57. package/dist/esm/components/autocomplete.js +7 -7
  58. package/dist/esm/components/avatar.js +5 -5
  59. package/dist/esm/components/badge.js +3 -3
  60. package/dist/esm/components/bottom-navigation.js +7 -7
  61. package/dist/esm/components/bottomsheet.js +12 -12
  62. package/dist/esm/components/button.js +19 -19
  63. package/dist/esm/components/card.js +9 -2
  64. package/dist/esm/components/cascader.js +9 -9
  65. package/dist/esm/components/checkbox.js +1 -1
  66. package/dist/esm/components/chip.js +12 -10
  67. package/dist/esm/components/circle-menu.js +331 -0
  68. package/dist/esm/components/code-block.js +140 -0
  69. package/dist/esm/components/collapse.js +9 -9
  70. package/dist/esm/components/datepicker.js +22 -22
  71. package/dist/esm/components/dialog.js +5 -5
  72. package/dist/esm/components/drawer.js +13 -13
  73. package/dist/esm/components/file-upload.js +12 -12
  74. package/dist/esm/components/form-group.js +162 -1
  75. package/dist/esm/components/form.js +159 -22
  76. package/dist/esm/components/input.js +23 -14
  77. package/dist/esm/components/list.js +3 -3
  78. package/dist/esm/components/markdown-body.js +6 -6
  79. package/dist/esm/components/modal.js +7 -7
  80. package/dist/esm/components/multi-select.js +16 -16
  81. package/dist/esm/components/navigation.js +20 -20
  82. package/dist/esm/components/nested-menu.js +5 -5
  83. package/dist/esm/components/otp-input.js +5 -5
  84. package/dist/esm/components/pin-input.js +5 -5
  85. package/dist/esm/components/popover.js +15 -15
  86. package/dist/esm/components/progress.js +2 -2
  87. package/dist/esm/components/radio.js +2 -2
  88. package/dist/esm/components/rating.js +1 -1
  89. package/dist/esm/components/segment-control.js +6 -6
  90. package/dist/esm/components/select.js +7 -7
  91. package/dist/esm/components/skeleton.js +11 -11
  92. package/dist/esm/components/slider.js +16 -16
  93. package/dist/esm/components/snackbar.js +5 -5
  94. package/dist/esm/components/stepper.js +9 -9
  95. package/dist/esm/components/switch.js +1 -1
  96. package/dist/esm/components/table.js +3 -3
  97. package/dist/esm/components/textarea.js +5 -5
  98. package/dist/esm/components/theme-controller.js +4 -4
  99. package/dist/esm/components/time-input.js +10 -10
  100. package/dist/esm/components/timeline.js +6 -6
  101. package/dist/esm/components/toast.js +3 -3
  102. package/dist/esm/components/toggle.js +8 -8
  103. package/dist/esm/components/tooltip.js +1 -1
  104. package/dist/esm/components/tree-select.js +14 -14
  105. package/dist/esm/tailwind-plugin.js +38 -79
  106. package/dist/index.css +1435 -1137
  107. package/dist/index.min.css +1 -1
  108. package/dist/themes/{forest.css → generated/forest.css} +26 -94
  109. package/dist/themes/generated/moonlight.css +77 -0
  110. package/dist/themes/{ocean.css → generated/ocean.css} +26 -103
  111. package/dist/themes/generated/spacing.css +36 -0
  112. package/dist/themes/{sunset.css → generated/sunset.css} +26 -95
  113. package/dist/themes/generated/sunshine.css +77 -0
  114. package/dist/types/tailwind-plugin.d.ts +1 -0
  115. package/dist/types/tailwind-plugin.d.ts.map +1 -1
  116. package/dist/types/themes/generated/ts/types.d.ts +76 -0
  117. package/dist/types/themes/generated/ts/types.d.ts.map +1 -0
  118. package/dist/types/types/index.d.ts +1 -1
  119. package/dist/types/types/index.d.ts.map +1 -1
  120. package/dist/types/types/plugin.d.ts +1 -1
  121. package/dist/types/types/plugin.d.ts.map +1 -1
  122. package/dist/types/types/theme.d.ts +5 -152
  123. package/dist/types/types/theme.d.ts.map +1 -1
  124. package/package.json +11 -6
  125. package/dist/themes/moonlight.css +0 -271
  126. package/dist/themes/sunshine.css +0 -252
@@ -14,7 +14,7 @@
14
14
  background-color: var(--color-surface);
15
15
  color: var(--color-on-surface);
16
16
  border: 1px solid currentColor;
17
- border-radius: 0.5rem;
17
+ border-radius: var(--radius-sm);
18
18
  transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
19
19
  }
20
20
 
@@ -65,7 +65,7 @@
65
65
  padding: 0.375rem 0.625rem;
66
66
  font-size: 0.75rem;
67
67
  line-height: 1rem;
68
- border-radius: 0.25rem;
68
+ border-radius: var(--radius-xs);
69
69
  height: 1.75rem;
70
70
  }
71
71
 
@@ -73,7 +73,7 @@
73
73
  padding: 0.5rem 0.75rem;
74
74
  font-size: 0.875rem;
75
75
  line-height: 1.25rem;
76
- border-radius: 0.375rem;
76
+ border-radius: var(--radius-xs);
77
77
  height: 2.25rem;
78
78
  }
79
79
 
@@ -81,7 +81,7 @@
81
81
  padding: 1rem 1.25rem;
82
82
  font-size: 1.125rem;
83
83
  line-height: 1.75rem;
84
- border-radius: 0.625rem;
84
+ border-radius: var(--radius-sm);
85
85
  height: 3.5rem;
86
86
  }
87
87
 
@@ -102,7 +102,7 @@
102
102
  background-color: var(--color-surface-container);
103
103
  border-color: transparent;
104
104
  border-bottom: 2px solid var(--color-outline);
105
- border-radius: 0.5rem 0.5rem 0 0;
105
+ border-radius: var(--radius-sm) var(--radius-sm) 0 0;
106
106
  }
107
107
 
108
108
  .input-filled:focus-visible {
@@ -130,13 +130,13 @@
130
130
  }
131
131
 
132
132
  .input-group > .input:first-child {
133
- border-top-left-radius: 0.5rem;
134
- border-bottom-left-radius: 0.5rem;
133
+ border-top-left-radius: var(--radius-sm);
134
+ border-bottom-left-radius: var(--radius-sm);
135
135
  }
136
136
 
137
137
  .input-group > .input:last-child {
138
- border-top-right-radius: 0.5rem;
139
- border-bottom-right-radius: 0.5rem;
138
+ border-top-right-radius: var(--radius-sm);
139
+ border-bottom-right-radius: var(--radius-sm);
140
140
  }
141
141
 
142
142
  .input-group-text {
@@ -150,14 +150,14 @@
150
150
  }
151
151
 
152
152
  .input-group-text:first-child {
153
- border-top-left-radius: 0.5rem;
154
- border-bottom-left-radius: 0.5rem;
153
+ border-top-left-radius: var(--radius-sm);
154
+ border-bottom-left-radius: var(--radius-sm);
155
155
  border-right: none;
156
156
  }
157
157
 
158
158
  .input-group-text:last-child {
159
- border-top-right-radius: 0.5rem;
160
- border-bottom-right-radius: 0.5rem;
159
+ border-top-right-radius: var(--radius-sm);
160
+ border-bottom-right-radius: var(--radius-sm);
161
161
  border-left: none;
162
162
  }
163
163
 
@@ -168,7 +168,7 @@
168
168
  padding: 0;
169
169
  background-color: var(--color-surface);
170
170
  border: 1px solid var(--color-outline);
171
- border-radius: 0.5rem;
171
+ border-radius: var(--radius-sm);
172
172
  overflow: hidden;
173
173
  cursor: pointer;
174
174
  }
@@ -191,4 +191,13 @@
191
191
  box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent);
192
192
  outline: none;
193
193
  }
194
+
195
+ /* Reduce Motion */
196
+ @media (prefers-reduced-motion: reduce) {
197
+ .input,
198
+ .input-filled,
199
+ .file-input {
200
+ transition: none;
201
+ }
202
+ }
194
203
  }
@@ -39,8 +39,8 @@
39
39
  }
40
40
 
41
41
  .list-item:focus-visible {
42
- outline: 2px solid var(--color-primary);
43
- outline-offset: -2px;
42
+ outline: none;
43
+ box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent);
44
44
  background-color: var(--color-surface-container);
45
45
  }
46
46
 
@@ -87,7 +87,7 @@
87
87
  /* List Variants */
88
88
  .list-bordered {
89
89
  border: 1px solid var(--color-outline);
90
- border-radius: 0.5rem;
90
+ border-radius: var(--radius-sm);
91
91
  padding: 0;
92
92
  }
93
93
 
@@ -80,8 +80,8 @@
80
80
  }
81
81
 
82
82
  .markdown-body a:focus-visible {
83
- outline: 2px solid var(--color-primary);
84
- outline-offset: 2px;
83
+ outline: none;
84
+ box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent);
85
85
  }
86
86
 
87
87
  /* Emphasis */
@@ -175,7 +175,7 @@
175
175
  padding-block: 0.2em;
176
176
  padding-inline: 0.4em;
177
177
  background-color: var(--color-surface-container-high);
178
- border-radius: 6px;
178
+ border-radius: var(--radius-xs);
179
179
  }
180
180
 
181
181
  /* Code blocks */
@@ -187,7 +187,7 @@
187
187
  margin-block-end: 1rem;
188
188
  overflow-x: auto;
189
189
  background-color: var(--color-surface-container);
190
- border-radius: 6px;
190
+ border-radius: var(--radius-xs);
191
191
  }
192
192
 
193
193
  /* Reset code inside pre */
@@ -206,7 +206,7 @@
206
206
  padding-inline: 0.4em;
207
207
  background-color: var(--color-surface-container);
208
208
  border: 1px solid var(--color-outline-variant);
209
- border-radius: 6px;
209
+ border-radius: var(--radius-xs);
210
210
  box-shadow: inset 0 -1px 0 var(--color-outline-variant);
211
211
  }
212
212
 
@@ -363,7 +363,7 @@
363
363
  color: var(--color-on-tertiary-container);
364
364
  padding-block: 0.1em;
365
365
  padding-inline: 0.2em;
366
- border-radius: 2px;
366
+ border-radius: var(--radius-xs);
367
367
  }
368
368
 
369
369
  /* Details/Summary */
@@ -34,7 +34,7 @@
34
34
  padding: 1.5rem;
35
35
  background-color: var(--color-surface);
36
36
  color: var(--color-on-surface);
37
- border-radius: 1rem;
37
+ border-radius: var(--radius-lg);
38
38
  box-shadow: var(--shadow-2xl);
39
39
  overflow-y: auto;
40
40
  transform: scale(0.95);
@@ -51,7 +51,7 @@
51
51
  position: fixed;
52
52
  inset: 0;
53
53
  z-index: -1;
54
- background-color: rgb(0 0 0 / 0.5);
54
+ background-color: color-mix(in srgb, var(--color-scrim) 50%, transparent);
55
55
  cursor: pointer;
56
56
  }
57
57
 
@@ -133,7 +133,7 @@
133
133
  color: var(--color-on-surface-variant);
134
134
  background-color: transparent;
135
135
  border: none;
136
- border-radius: 50%;
136
+ border-radius: var(--radius-full);
137
137
  cursor: pointer;
138
138
  transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
139
139
  }
@@ -144,8 +144,8 @@
144
144
  }
145
145
 
146
146
  .modal-close:focus-visible {
147
- outline: 2px solid var(--color-primary);
148
- outline-offset: 2px;
147
+ outline: none;
148
+ box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent);
149
149
  }
150
150
 
151
151
  /* Modal Header */
@@ -183,7 +183,7 @@
183
183
  max-width: 100%;
184
184
  max-height: 90vh;
185
185
  margin: 0;
186
- border-radius: 1rem 1rem 0 0;
186
+ border-radius: var(--radius-lg) var(--radius-lg) 0 0;
187
187
  }
188
188
  }
189
189
 
@@ -237,7 +237,7 @@
237
237
  display: flex;
238
238
  align-items: center;
239
239
  justify-content: center;
240
- border-radius: 50%;
240
+ border-radius: var(--radius-full);
241
241
  font-size: 2rem;
242
242
  }
243
243
 
@@ -25,7 +25,7 @@
25
25
  color: var(--color-on-surface);
26
26
  background-color: var(--color-surface);
27
27
  border: 1px solid currentColor;
28
- border-radius: 0.5rem;
28
+ border-radius: var(--radius-sm);
29
29
  cursor: pointer;
30
30
  transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
31
31
  }
@@ -67,7 +67,7 @@
67
67
  line-height: 1.25rem;
68
68
  background-color: var(--color-surface-container-high);
69
69
  color: var(--color-on-surface);
70
- border-radius: 1rem;
70
+ border-radius: var(--radius-lg);
71
71
  }
72
72
 
73
73
  .multi-select-tag-text {
@@ -87,7 +87,7 @@
87
87
  color: inherit;
88
88
  background-color: transparent;
89
89
  border: none;
90
- border-radius: 50%;
90
+ border-radius: var(--radius-full);
91
91
  cursor: pointer;
92
92
  opacity: 0.7;
93
93
  transition: opacity 150ms ease-in-out, background-color 150ms ease-in-out;
@@ -119,7 +119,7 @@
119
119
  line-height: 1.25rem;
120
120
  background-color: var(--color-surface-container);
121
121
  color: var(--color-on-surface-variant);
122
- border-radius: 1rem;
122
+ border-radius: var(--radius-lg);
123
123
  }
124
124
 
125
125
  /* Inline Search Input */
@@ -167,7 +167,7 @@
167
167
  color: var(--color-on-surface-variant);
168
168
  background-color: transparent;
169
169
  border: none;
170
- border-radius: 50%;
170
+ border-radius: var(--radius-full);
171
171
  cursor: pointer;
172
172
  flex-shrink: 0;
173
173
  transition: background-color 150ms ease-in-out;
@@ -189,7 +189,7 @@
189
189
  margin-top: 0.25rem;
190
190
  background-color: var(--color-surface);
191
191
  border: 1px solid var(--color-outline-variant);
192
- border-radius: 0.5rem;
192
+ border-radius: var(--radius-sm);
193
193
  box-shadow: var(--shadow-md);
194
194
  overflow: hidden;
195
195
  }
@@ -226,7 +226,7 @@
226
226
  color: var(--color-on-surface);
227
227
  background-color: var(--color-surface-container);
228
228
  border: none;
229
- border-radius: 0.375rem;
229
+ border-radius: var(--radius-xs);
230
230
  outline: none;
231
231
  }
232
232
 
@@ -257,7 +257,7 @@
257
257
  color: var(--color-on-surface);
258
258
  background-color: transparent;
259
259
  border: none;
260
- border-radius: 0.375rem;
260
+ border-radius: var(--radius-xs);
261
261
  cursor: pointer;
262
262
  text-align: left;
263
263
  transition: background-color 150ms ease-in-out;
@@ -298,7 +298,7 @@
298
298
  height: 1rem;
299
299
  background-color: transparent;
300
300
  border: 2px solid var(--color-on-surface-variant);
301
- border-radius: 0.125rem;
301
+ border-radius: var(--radius-xs);
302
302
  flex-shrink: 0;
303
303
  }
304
304
 
@@ -308,7 +308,7 @@
308
308
  }
309
309
 
310
310
  .multi-select-option-selected .multi-select-option-checkbox svg {
311
- color: var(--color-on-primary);
311
+ color: var(--color-primary-content);
312
312
  }
313
313
 
314
314
  /* Option Icon */
@@ -371,7 +371,7 @@
371
371
  color: var(--color-primary);
372
372
  background-color: transparent;
373
373
  border: none;
374
- border-radius: 0.375rem;
374
+ border-radius: var(--radius-xs);
375
375
  cursor: pointer;
376
376
  transition: background-color 150ms ease-in-out;
377
377
  }
@@ -392,7 +392,7 @@
392
392
  font-weight: 600;
393
393
  color: var(--color-primary-content);
394
394
  background-color: var(--color-primary);
395
- border-radius: 0.625rem;
395
+ border-radius: var(--radius-sm);
396
396
  }
397
397
 
398
398
  /* Size Variants */
@@ -400,7 +400,7 @@
400
400
  min-height: 2.25rem;
401
401
  padding: 0.375rem 0.5rem;
402
402
  font-size: 0.875rem;
403
- border-radius: 0.375rem;
403
+ border-radius: var(--radius-xs);
404
404
  }
405
405
 
406
406
  .multi-select-sm .multi-select-tag {
@@ -412,7 +412,7 @@
412
412
  min-height: 3.25rem;
413
413
  padding: 0.625rem 1rem;
414
414
  font-size: 1.125rem;
415
- border-radius: 0.625rem;
415
+ border-radius: var(--radius-sm);
416
416
  }
417
417
 
418
418
  /* Outlined Variant (Default) */
@@ -426,7 +426,7 @@
426
426
  background-color: var(--color-surface-container);
427
427
  border: none;
428
428
  border-bottom: 2px solid var(--color-outline);
429
- border-radius: 0.5rem 0.5rem 0 0;
429
+ border-radius: var(--radius-sm) var(--radius-sm) 0 0;
430
430
  }
431
431
 
432
432
  .multi-select-filled .multi-select-trigger:focus-within {
@@ -517,7 +517,7 @@
517
517
  height: 1rem;
518
518
  border: 2px solid var(--color-outline);
519
519
  border-top-color: var(--color-primary);
520
- border-radius: 50%;
520
+ border-radius: var(--radius-full);
521
521
  animation: multi-select-spin 0.8s linear infinite;
522
522
  }
523
523
 
@@ -64,7 +64,7 @@
64
64
  font-size: 0.875rem;
65
65
  color: var(--color-on-surface);
66
66
  text-decoration: none;
67
- border-radius: 0.5rem;
67
+ border-radius: var(--radius-sm);
68
68
  cursor: pointer;
69
69
  transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
70
70
  white-space: nowrap;
@@ -79,8 +79,8 @@
79
79
  .menu li > a:focus-visible,
80
80
  .menu li > button:focus-visible,
81
81
  .menu-item:focus-visible {
82
- outline: 2px solid var(--color-primary);
83
- outline-offset: -2px;
82
+ outline: none;
83
+ box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent);
84
84
  }
85
85
 
86
86
  .menu li > a.active,
@@ -216,9 +216,9 @@
216
216
  }
217
217
 
218
218
  .breadcrumb-link:focus-visible {
219
- outline: 2px solid var(--color-primary);
220
- outline-offset: 2px;
221
- border-radius: 0.25rem;
219
+ outline: none;
220
+ box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent);
221
+ border-radius: var(--radius-xs);
222
222
  }
223
223
 
224
224
  /* Separator - Default shows "/" */
@@ -300,7 +300,7 @@
300
300
  color: var(--color-on-surface-variant);
301
301
  background-color: transparent;
302
302
  border: none;
303
- border-radius: 0.25rem;
303
+ border-radius: var(--radius-xs);
304
304
  cursor: pointer;
305
305
  transition: background-color 150ms ease-in-out;
306
306
  }
@@ -356,7 +356,7 @@
356
356
  .breadcrumbs-contained {
357
357
  padding: 0.75rem 1rem;
358
358
  background-color: var(--color-surface-container);
359
- border-radius: 0.5rem;
359
+ border-radius: var(--radius-sm);
360
360
  }
361
361
 
362
362
  /* No Wrap Variant */
@@ -405,8 +405,8 @@
405
405
  }
406
406
 
407
407
  .tab:focus-visible {
408
- outline: 2px solid var(--color-primary);
409
- outline-offset: -2px;
408
+ outline: none;
409
+ box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent);
410
410
  }
411
411
 
412
412
  .tab.tab-active,
@@ -423,13 +423,13 @@
423
423
  /* Tabs Boxed */
424
424
  .tabs-boxed {
425
425
  background-color: var(--color-surface-container);
426
- border-radius: 0.5rem;
426
+ border-radius: var(--radius-sm);
427
427
  padding: 0.25rem;
428
428
  border: none;
429
429
  }
430
430
 
431
431
  .tabs-boxed .tab {
432
- border-radius: 0.375rem;
432
+ border-radius: var(--radius-xs);
433
433
  border-bottom: none;
434
434
  margin-bottom: 0;
435
435
  }
@@ -449,7 +449,7 @@
449
449
  .tabs-lifted .tab {
450
450
  border: 1px solid transparent;
451
451
  border-bottom: none;
452
- border-radius: 0.5rem 0.5rem 0 0;
452
+ border-radius: var(--radius-sm) var(--radius-sm) 0 0;
453
453
  margin-bottom: -1px;
454
454
  }
455
455
 
@@ -489,7 +489,7 @@
489
489
  padding: 0.5rem;
490
490
  background-color: var(--color-surface);
491
491
  border: 1px solid var(--color-outline);
492
- border-radius: 0.5rem;
492
+ border-radius: var(--radius-sm);
493
493
  box-shadow: var(--shadow-lg);
494
494
  opacity: 0;
495
495
  visibility: hidden;
@@ -556,7 +556,7 @@
556
556
  color: var(--color-on-surface);
557
557
  background-color: transparent;
558
558
  border: 1px solid var(--color-outline);
559
- border-radius: 0.5rem;
559
+ border-radius: var(--radius-sm);
560
560
  cursor: pointer;
561
561
  transition: all 150ms ease-in-out;
562
562
  white-space: nowrap;
@@ -598,8 +598,8 @@
598
598
  .pagination-next:focus-visible,
599
599
  .pagination li > a:focus-visible,
600
600
  .pagination li > button:focus-visible {
601
- outline: 2px solid var(--color-primary);
602
- outline-offset: 2px;
601
+ outline: none;
602
+ box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent);
603
603
  }
604
604
 
605
605
  .pagination-item:disabled,
@@ -657,7 +657,7 @@
657
657
  color: var(--color-on-surface);
658
658
  background-color: var(--color-surface);
659
659
  border: 1px solid var(--color-outline);
660
- border-radius: 0.375rem;
660
+ border-radius: var(--radius-xs);
661
661
  }
662
662
 
663
663
  .pagination-input input:focus {
@@ -711,12 +711,12 @@
711
711
 
712
712
  .pagination-compact .pagination-item:first-child,
713
713
  .pagination-compact .pagination-prev {
714
- border-radius: 0.5rem 0 0 0.5rem;
714
+ border-radius: var(--radius-sm) 0 0 var(--radius-sm);
715
715
  }
716
716
 
717
717
  .pagination-compact .pagination-item:last-child,
718
718
  .pagination-compact .pagination-next {
719
- border-radius: 0 0.5rem 0.5rem 0;
719
+ border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
720
720
  }
721
721
 
722
722
  /* Pagination Responsive */
@@ -61,8 +61,8 @@
61
61
 
62
62
  .nested-menu li > a:focus-visible,
63
63
  .nested-menu li > button:focus-visible {
64
- outline: 2px solid var(--color-primary);
65
- outline-offset: -2px;
64
+ outline: none;
65
+ box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent);
66
66
  }
67
67
 
68
68
  /* Active state */
@@ -126,8 +126,8 @@
126
126
  }
127
127
 
128
128
  .nested-menu summary:focus-visible {
129
- outline: 2px solid var(--color-primary);
130
- outline-offset: -2px;
129
+ outline: none;
130
+ box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent);
131
131
  }
132
132
 
133
133
  /* Chevron indicator */
@@ -223,7 +223,7 @@
223
223
  background-color: var(--color-surface);
224
224
  border: 1px solid var(--color-outline-variant);
225
225
  border-radius: var(--radius-card, 0.75rem);
226
- box-shadow: var(--shadow-sm, 0 1px 2px 0 rgb(0 0 0 / 0.05));
226
+ box-shadow: var(--shadow-sm);
227
227
  }
228
228
 
229
229
  /* Compact — tighter padding throughout */
@@ -22,7 +22,7 @@
22
22
  color: var(--color-on-surface);
23
23
  background-color: var(--color-surface);
24
24
  border: 2px solid currentColor;
25
- border-radius: 0.5rem;
25
+ border-radius: var(--radius-sm);
26
26
  outline: none;
27
27
  transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
28
28
  caret-color: var(--color-primary);
@@ -61,7 +61,7 @@
61
61
  width: 1rem;
62
62
  height: 0.25rem;
63
63
  background-color: var(--color-outline);
64
- border-radius: 0.125rem;
64
+ border-radius: var(--radius-xs);
65
65
  }
66
66
 
67
67
  /* Size Variants */
@@ -69,14 +69,14 @@
69
69
  width: 2.5rem;
70
70
  height: 3rem;
71
71
  font-size: 1.25rem;
72
- border-radius: 0.375rem;
72
+ border-radius: var(--radius-xs);
73
73
  }
74
74
 
75
75
  .otp-input-lg .otp-input-field {
76
76
  width: 3.5rem;
77
77
  height: 4rem;
78
78
  font-size: 1.75rem;
79
- border-radius: 0.625rem;
79
+ border-radius: var(--radius-sm);
80
80
  }
81
81
 
82
82
  /* Compact Gap */
@@ -94,7 +94,7 @@
94
94
  background-color: var(--color-surface-container);
95
95
  border: none;
96
96
  border-bottom: 2px solid var(--color-outline);
97
- border-radius: 0.5rem 0.5rem 0 0;
97
+ border-radius: var(--radius-sm) var(--radius-sm) 0 0;
98
98
  }
99
99
 
100
100
  .otp-input-filled .otp-input-field:focus {
@@ -22,7 +22,7 @@
22
22
  color: var(--color-on-surface);
23
23
  background-color: var(--color-surface);
24
24
  border: 2px solid currentColor;
25
- border-radius: 0.5rem;
25
+ border-radius: var(--radius-sm);
26
26
  outline: none;
27
27
  transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
28
28
  caret-color: var(--color-primary);
@@ -58,14 +58,14 @@
58
58
  width: 2.5rem;
59
59
  height: 3rem;
60
60
  font-size: 1.25rem;
61
- border-radius: 0.375rem;
61
+ border-radius: var(--radius-xs);
62
62
  }
63
63
 
64
64
  .pin-input-lg .pin-input-field {
65
65
  width: 3.5rem;
66
66
  height: 4rem;
67
67
  font-size: 1.75rem;
68
- border-radius: 0.625rem;
68
+ border-radius: var(--radius-sm);
69
69
  }
70
70
 
71
71
  /* Compact Gap */
@@ -78,7 +78,7 @@
78
78
  background-color: var(--color-surface-container);
79
79
  border: none;
80
80
  border-bottom: 2px solid var(--color-outline);
81
- border-radius: 0.5rem 0.5rem 0 0;
81
+ border-radius: var(--radius-sm) var(--radius-sm) 0 0;
82
82
  }
83
83
 
84
84
  .pin-input-filled .pin-input-field:focus {
@@ -90,7 +90,7 @@
90
90
  .pin-input-circle .pin-input-field {
91
91
  width: 3rem;
92
92
  height: 3rem;
93
- border-radius: 50%;
93
+ border-radius: var(--radius-full);
94
94
  }
95
95
 
96
96
  .pin-input-circle.pin-input-sm .pin-input-field {