@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
@@ -21,7 +21,7 @@
21
21
  color: var(--color-on-surface);
22
22
  background-color: var(--color-surface);
23
23
  border: 1px solid currentColor;
24
- border-radius: 0.5rem;
24
+ border-radius: var(--radius-sm);
25
25
  outline: none;
26
26
  transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
27
27
  }
@@ -61,7 +61,7 @@
61
61
  padding: 0.75rem 1rem;
62
62
  background-color: var(--color-surface);
63
63
  border: 1px solid currentColor;
64
- border-radius: 0.5rem;
64
+ border-radius: var(--radius-sm);
65
65
  }
66
66
 
67
67
  .time-input-segment {
@@ -73,7 +73,7 @@
73
73
  color: var(--color-on-surface);
74
74
  background-color: transparent;
75
75
  border: none;
76
- border-radius: 0.25rem;
76
+ border-radius: var(--radius-xs);
77
77
  outline: none;
78
78
  transition: background-color 150ms ease-in-out;
79
79
  }
@@ -94,7 +94,7 @@
94
94
  display: inline-flex;
95
95
  margin-left: 0.5rem;
96
96
  background-color: var(--color-surface-container);
97
- border-radius: 0.375rem;
97
+ border-radius: var(--radius-xs);
98
98
  padding: 0.125rem;
99
99
  }
100
100
 
@@ -105,7 +105,7 @@
105
105
  color: var(--color-on-surface-variant);
106
106
  background-color: transparent;
107
107
  border: none;
108
- border-radius: 0.25rem;
108
+ border-radius: var(--radius-xs);
109
109
  cursor: pointer;
110
110
  transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
111
111
  }
@@ -123,7 +123,7 @@
123
123
  .time-input-sm .time-input-field {
124
124
  padding: 0.5rem 2rem 0.5rem 0.75rem;
125
125
  font-size: 0.875rem;
126
- border-radius: 0.375rem;
126
+ border-radius: var(--radius-xs);
127
127
  }
128
128
 
129
129
  .time-input-sm .time-input-segment {
@@ -134,7 +134,7 @@
134
134
  .time-input-lg .time-input-field {
135
135
  padding: 1rem 3rem 1rem 1.25rem;
136
136
  font-size: 1.125rem;
137
- border-radius: 0.625rem;
137
+ border-radius: var(--radius-sm);
138
138
  }
139
139
 
140
140
  .time-input-lg .time-input-segment {
@@ -148,7 +148,7 @@
148
148
  background-color: var(--color-surface-container);
149
149
  border: none;
150
150
  border-bottom: 2px solid var(--color-outline);
151
- border-radius: 0.5rem 0.5rem 0 0;
151
+ border-radius: var(--radius-sm) var(--radius-sm) 0 0;
152
152
  }
153
153
 
154
154
  .time-input-filled .time-input-field:focus,
@@ -246,7 +246,7 @@
246
246
  padding: 0.5rem;
247
247
  background-color: var(--color-surface);
248
248
  border: 1px solid var(--color-outline-variant);
249
- border-radius: 0.5rem;
249
+ border-radius: var(--radius-sm);
250
250
  box-shadow: var(--shadow-md);
251
251
  }
252
252
 
@@ -275,7 +275,7 @@
275
275
  color: var(--color-on-surface);
276
276
  background-color: transparent;
277
277
  border: none;
278
- border-radius: 0.25rem;
278
+ border-radius: var(--radius-xs);
279
279
  cursor: pointer;
280
280
  transition: background-color 150ms ease-in-out;
281
281
  }
@@ -45,7 +45,7 @@
45
45
  height: 2.5rem;
46
46
  background-color: var(--color-surface);
47
47
  border: 2px solid var(--color-outline-variant);
48
- border-radius: 50%;
48
+ border-radius: var(--radius-full);
49
49
  flex-shrink: 0;
50
50
  z-index: 1;
51
51
  }
@@ -59,7 +59,7 @@
59
59
  width: 0.75rem;
60
60
  height: 0.75rem;
61
61
  background-color: var(--color-outline-variant);
62
- border-radius: 50%;
62
+ border-radius: var(--radius-full);
63
63
  }
64
64
 
65
65
  /* Timeline Content */
@@ -92,7 +92,7 @@
92
92
  .timeline-card {
93
93
  padding: 1rem;
94
94
  background-color: var(--color-surface-container);
95
- border-radius: 0.75rem;
95
+ border-radius: var(--radius-md);
96
96
  margin-top: 0.5rem;
97
97
  }
98
98
 
@@ -147,7 +147,7 @@
147
147
  }
148
148
 
149
149
  .timeline-item.completed .timeline-marker-icon {
150
- color: var(--color-on-primary);
150
+ color: var(--color-primary-content);
151
151
  }
152
152
 
153
153
  /* Active State */
@@ -159,8 +159,8 @@
159
159
 
160
160
  .timeline-item.active .timeline-marker-icon,
161
161
  .timeline-item.active .timeline-marker-dot {
162
- color: var(--color-on-primary);
163
- background-color: var(--color-on-primary);
162
+ color: var(--color-primary-content);
163
+ background-color: var(--color-primary-content);
164
164
  }
165
165
 
166
166
  /* Size Variants */
@@ -65,7 +65,7 @@
65
65
  background-color: var(--color-surface);
66
66
  color: var(--color-on-surface);
67
67
  border: 1px solid var(--color-outline);
68
- border-radius: 0.75rem;
68
+ border-radius: var(--radius-md);
69
69
  box-shadow: var(--shadow-lg);
70
70
  pointer-events: auto;
71
71
  opacity: 0;
@@ -135,7 +135,7 @@
135
135
  color: var(--color-on-surface-variant);
136
136
  background-color: transparent;
137
137
  border: none;
138
- border-radius: 0.25rem;
138
+ border-radius: var(--radius-xs);
139
139
  cursor: pointer;
140
140
  transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
141
141
  flex-shrink: 0;
@@ -293,7 +293,7 @@
293
293
  left: 0;
294
294
  height: 3px;
295
295
  background-color: currentColor;
296
- border-radius: 0 0 0.75rem 0.75rem;
296
+ border-radius: 0 0 var(--radius-md) var(--radius-md);
297
297
  animation: toast-progress linear forwards;
298
298
  }
299
299
 
@@ -18,7 +18,7 @@
18
18
  color: var(--color-on-surface);
19
19
  background-color: transparent;
20
20
  border: 1px solid currentColor;
21
- border-radius: 0.5rem;
21
+ border-radius: var(--radius-sm);
22
22
  cursor: pointer;
23
23
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
24
24
  user-select: none;
@@ -149,7 +149,7 @@
149
149
  align-items: center;
150
150
  gap: 0;
151
151
  border: 1px solid var(--color-outline);
152
- border-radius: 0.5rem;
152
+ border-radius: var(--radius-sm);
153
153
  padding: 0.25rem;
154
154
  background-color: color-mix(in oklch, var(--color-surface-variant) 30%, transparent);
155
155
  }
@@ -157,7 +157,7 @@
157
157
  /* Toggle buttons in group */
158
158
  .toggle-group .toggle-btn {
159
159
  border: none;
160
- border-radius: 0.375rem;
160
+ border-radius: var(--radius-xs);
161
161
  margin: 0;
162
162
  }
163
163
 
@@ -208,14 +208,14 @@
208
208
  gap: 0;
209
209
  background-color: var(--color-surface);
210
210
  border: 1px solid var(--color-outline-variant);
211
- border-radius: 0.5rem;
211
+ border-radius: var(--radius-sm);
212
212
  padding: 0.25rem;
213
213
  }
214
214
 
215
215
  .toggle-segmented .toggle-btn {
216
216
  border: none;
217
217
  background-color: transparent;
218
- border-radius: 0.375rem;
218
+ border-radius: var(--radius-xs);
219
219
  }
220
220
 
221
221
  .toggle-segmented .toggle-btn.toggle-btn-active,
@@ -227,7 +227,7 @@
227
227
 
228
228
  /* Chip-like toggle */
229
229
  .toggle-chip {
230
- border-radius: 1rem;
230
+ border-radius: var(--radius-lg);
231
231
  padding: 0.5rem 1rem;
232
232
  }
233
233
 
@@ -272,7 +272,7 @@
272
272
  width: 0.5rem;
273
273
  height: 0.5rem;
274
274
  background-color: var(--color-error);
275
- border-radius: 50%;
275
+ border-radius: var(--radius-full);
276
276
  border: 2px solid var(--color-surface);
277
277
  }
278
278
 
@@ -306,7 +306,7 @@
306
306
  margin-left: -0.5rem;
307
307
  border: 2px solid currentColor;
308
308
  border-top-color: transparent;
309
- border-radius: 50%;
309
+ border-radius: var(--radius-full);
310
310
  animation: toggle-spin 0.6s linear infinite;
311
311
  }
312
312
 
@@ -21,7 +21,7 @@
21
21
  white-space: nowrap;
22
22
  background-color: var(--color-on-surface);
23
23
  color: var(--color-surface);
24
- border-radius: 0.25rem;
24
+ border-radius: var(--radius-xs);
25
25
  box-shadow: var(--shadow-md);
26
26
  opacity: 0;
27
27
  visibility: hidden;
@@ -24,7 +24,7 @@
24
24
  color: var(--color-on-surface);
25
25
  background-color: var(--color-surface);
26
26
  border: 1px solid currentColor;
27
- border-radius: 0.5rem;
27
+ border-radius: var(--radius-sm);
28
28
  cursor: pointer;
29
29
  transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
30
30
  }
@@ -105,7 +105,7 @@
105
105
  color: var(--color-on-surface-variant);
106
106
  background-color: transparent;
107
107
  border: none;
108
- border-radius: 50%;
108
+ border-radius: var(--radius-full);
109
109
  cursor: pointer;
110
110
  flex-shrink: 0;
111
111
  transition: background-color 150ms ease-in-out;
@@ -133,7 +133,7 @@
133
133
  padding: 0.5rem;
134
134
  background-color: var(--color-surface);
135
135
  border: 1px solid var(--color-outline-variant);
136
- border-radius: 0.5rem;
136
+ border-radius: var(--radius-sm);
137
137
  box-shadow: var(--shadow-md);
138
138
  overflow-y: auto;
139
139
  }
@@ -185,7 +185,7 @@
185
185
  color: var(--color-on-surface);
186
186
  background-color: var(--color-surface-container);
187
187
  border: none;
188
- border-radius: 0.375rem;
188
+ border-radius: var(--radius-xs);
189
189
  outline: none;
190
190
  }
191
191
 
@@ -208,7 +208,7 @@
208
208
  font-size: 0.875rem;
209
209
  color: var(--color-on-surface);
210
210
  background-color: transparent;
211
- border-radius: 0.375rem;
211
+ border-radius: var(--radius-xs);
212
212
  cursor: pointer;
213
213
  transition: background-color 150ms ease-in-out;
214
214
  }
@@ -242,7 +242,7 @@
242
242
  color: var(--color-on-surface-variant);
243
243
  background-color: transparent;
244
244
  border: none;
245
- border-radius: 0.25rem;
245
+ border-radius: var(--radius-xs);
246
246
  cursor: pointer;
247
247
  flex-shrink: 0;
248
248
  transition: transform 150ms ease-in-out;
@@ -314,7 +314,7 @@
314
314
  height: 1rem;
315
315
  background-color: transparent;
316
316
  border: 2px solid var(--color-on-surface-variant);
317
- border-radius: 0.125rem;
317
+ border-radius: var(--radius-xs);
318
318
  transition: background-color 150ms ease-in-out, border-color 150ms ease-in-out;
319
319
  }
320
320
 
@@ -328,7 +328,7 @@
328
328
  display: block;
329
329
  width: 0.375rem;
330
330
  height: 0.625rem;
331
- border: 2px solid var(--color-on-primary);
331
+ border: 2px solid var(--color-primary-content);
332
332
  border-width: 0 2px 2px 0;
333
333
  transform: rotate(45deg) translateY(-1px);
334
334
  }
@@ -345,13 +345,13 @@
345
345
  .tree-select-sm .tree-select-trigger {
346
346
  padding: 0.5rem 0.75rem;
347
347
  font-size: 0.875rem;
348
- border-radius: 0.375rem;
348
+ border-radius: var(--radius-xs);
349
349
  }
350
350
 
351
351
  .tree-select-lg .tree-select-trigger {
352
352
  padding: 1rem 1.25rem;
353
353
  font-size: 1.125rem;
354
- border-radius: 0.625rem;
354
+ border-radius: var(--radius-sm);
355
355
  }
356
356
 
357
357
  /* Outlined Variant (Default) */
@@ -365,7 +365,7 @@
365
365
  background-color: var(--color-surface-container);
366
366
  border: none;
367
367
  border-bottom: 2px solid var(--color-outline);
368
- border-radius: 0.5rem 0.5rem 0 0;
368
+ border-radius: var(--radius-sm) var(--radius-sm) 0 0;
369
369
  }
370
370
 
371
371
  .tree-select-filled .tree-select-trigger:focus {
@@ -458,7 +458,7 @@
458
458
  height: 1rem;
459
459
  border: 2px solid var(--color-outline);
460
460
  border-top-color: var(--color-primary);
461
- border-radius: 50%;
461
+ border-radius: var(--radius-full);
462
462
  animation: tree-select-spin 0.8s linear infinite;
463
463
  }
464
464
 
@@ -482,7 +482,7 @@
482
482
  font-size: 0.75rem;
483
483
  background-color: var(--color-primary-container);
484
484
  color: var(--color-on-primary-container);
485
- border-radius: 1rem;
485
+ border-radius: var(--radius-lg);
486
486
  }
487
487
 
488
488
  .tree-select-tag-remove {
@@ -495,7 +495,7 @@
495
495
  color: inherit;
496
496
  background-color: transparent;
497
497
  border: none;
498
- border-radius: 50%;
498
+ border-radius: var(--radius-full);
499
499
  cursor: pointer;
500
500
  opacity: 0.7;
501
501
  }
@@ -9,7 +9,7 @@ export const css = `/**
9
9
  .accordion {
10
10
  display: flex;
11
11
  flex-direction: column;
12
- border-radius: 0.75rem;
12
+ border-radius: var(--radius-md);
13
13
  overflow: hidden;
14
14
  }
15
15
 
@@ -22,13 +22,13 @@ export const css = `/**
22
22
 
23
23
  .accordion-item:first-child {
24
24
  margin-top: 0;
25
- border-top-left-radius: 0.75rem;
26
- border-top-right-radius: 0.75rem;
25
+ border-top-left-radius: var(--radius-md);
26
+ border-top-right-radius: var(--radius-md);
27
27
  }
28
28
 
29
29
  .accordion-item:last-child {
30
- border-bottom-left-radius: 0.75rem;
31
- border-bottom-right-radius: 0.75rem;
30
+ border-bottom-left-radius: var(--radius-md);
31
+ border-bottom-right-radius: var(--radius-md);
32
32
  }
33
33
 
34
34
  /* Accordion Header */
@@ -54,7 +54,7 @@ export const css = `/**
54
54
  .accordion-header:focus-visible {
55
55
  outline: none;
56
56
  background-color: var(--color-surface-container);
57
- box-shadow: inset 0 0 0 2px var(--color-primary);
57
+ box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent);
58
58
  }
59
59
 
60
60
  .accordion-item.open .accordion-header {
@@ -139,7 +139,7 @@ export const css = `/**
139
139
  /* Separated Variant */
140
140
  .accordion-separated .accordion-item {
141
141
  margin-top: 0.5rem;
142
- border-radius: 0.75rem;
142
+ border-radius: var(--radius-md);
143
143
  }
144
144
 
145
145
  .accordion-separated .accordion-item:first-child {
@@ -11,7 +11,7 @@ export const css = `/**
11
11
  align-items: flex-start;
12
12
  gap: 0.75rem;
13
13
  padding: 1rem;
14
- border-radius: 0.5rem;
14
+ border-radius: var(--radius-sm);
15
15
  background-color: var(--color-surface-container);
16
16
  color: var(--color-on-surface);
17
17
  border: 1px solid var(--color-outline);
@@ -61,7 +61,7 @@ export const css = `/**
61
61
  opacity: 0.7;
62
62
  background-color: transparent;
63
63
  border: none;
64
- border-radius: 0.25rem;
64
+ border-radius: var(--radius-xs);
65
65
  cursor: pointer;
66
66
  transition: opacity 150ms ease-in-out;
67
67
  flex-shrink: 0;
@@ -92,7 +92,7 @@ export const css = `/**
92
92
  color: var(--color-on-surface);
93
93
  background-color: transparent;
94
94
  border: none;
95
- border-radius: 50%;
95
+ border-radius: var(--radius-full);
96
96
  cursor: pointer;
97
97
  transition: background-color 150ms ease-in-out;
98
98
  flex-shrink: 0;
@@ -155,7 +155,7 @@ export const css = `/**
155
155
  color: var(--color-on-surface-variant);
156
156
  background-color: transparent;
157
157
  border: none;
158
- border-radius: 50%;
158
+ border-radius: var(--radius-full);
159
159
  cursor: pointer;
160
160
  transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
161
161
  }
@@ -271,7 +271,7 @@ export const css = `/**
271
271
  color: var(--color-on-surface);
272
272
  background-color: transparent;
273
273
  border: none;
274
- border-radius: 50%;
274
+ border-radius: var(--radius-full);
275
275
  cursor: pointer;
276
276
  transition: background-color 150ms ease-in-out;
277
277
  flex-shrink: 0;
@@ -296,7 +296,7 @@ export const css = `/**
296
296
  color: var(--color-on-surface);
297
297
  background-color: var(--color-surface-container);
298
298
  border: none;
299
- border-radius: 9999px;
299
+ border-radius: var(--radius-full);
300
300
  transition: background-color 150ms ease-in-out;
301
301
  }
302
302
 
@@ -554,7 +554,7 @@ export const css = `/**
554
554
  color: var(--color-on-surface);
555
555
  background-color: var(--color-surface-container);
556
556
  border: none;
557
- border-radius: 9999px;
557
+ border-radius: var(--radius-full);
558
558
  transition: background-color 150ms ease-in-out;
559
559
  }
560
560
 
@@ -21,7 +21,7 @@ export const css = `/**
21
21
  color: var(--color-on-surface);
22
22
  background-color: var(--color-surface);
23
23
  border: 1px solid currentColor;
24
- border-radius: 0.5rem;
24
+ border-radius: var(--radius-sm);
25
25
  transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
26
26
  }
27
27
 
@@ -48,7 +48,7 @@ export const css = `/**
48
48
  margin-top: 0.25rem;
49
49
  background-color: var(--color-surface);
50
50
  border: 1px solid var(--color-outline);
51
- border-radius: 0.5rem;
51
+ border-radius: var(--radius-sm);
52
52
  box-shadow: var(--shadow-lg);
53
53
  overflow-y: auto;
54
54
  opacity: 0;
@@ -130,7 +130,7 @@ export const css = `/**
130
130
  background-color: var(--color-primary-container);
131
131
  color: var(--color-on-primary-container);
132
132
  font-weight: 600;
133
- border-radius: 0.125rem;
133
+ border-radius: var(--radius-xs);
134
134
  }
135
135
 
136
136
  /* Group Header */
@@ -176,7 +176,7 @@ export const css = `/**
176
176
  color: var(--color-on-surface-variant);
177
177
  background-color: transparent;
178
178
  border: none;
179
- border-radius: 50%;
179
+ border-radius: var(--radius-full);
180
180
  cursor: pointer;
181
181
  transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
182
182
  }
@@ -201,7 +201,7 @@ export const css = `/**
201
201
  min-height: 2.75rem;
202
202
  background-color: var(--color-surface);
203
203
  border: 1px solid var(--color-outline);
204
- border-radius: 0.5rem;
204
+ border-radius: var(--radius-sm);
205
205
  }
206
206
 
207
207
  .autocomplete-tags:focus-within {
@@ -217,7 +217,7 @@ export const css = `/**
217
217
  font-size: 0.75rem;
218
218
  background-color: var(--color-primary-container);
219
219
  color: var(--color-on-primary-container);
220
- border-radius: 0.25rem;
220
+ border-radius: var(--radius-xs);
221
221
  }
222
222
 
223
223
  .autocomplete-tag-remove {
@@ -230,7 +230,7 @@ export const css = `/**
230
230
  background-color: transparent;
231
231
  border: none;
232
232
  cursor: pointer;
233
- border-radius: 50%;
233
+ border-radius: var(--radius-full);
234
234
  transition: background-color 150ms ease-in-out;
235
235
  }
236
236
 
@@ -13,7 +13,7 @@ export const css = `/**
13
13
  position: relative;
14
14
  width: 3rem;
15
15
  height: 3rem;
16
- border-radius: 50%;
16
+ border-radius: var(--radius-full);
17
17
  overflow: hidden;
18
18
  background-color: var(--color-surface-container);
19
19
  color: var(--color-on-surface);
@@ -71,7 +71,7 @@ export const css = `/**
71
71
 
72
72
  /* Shape Variants */
73
73
  .avatar-rounded {
74
- border-radius: 0.5rem;
74
+ border-radius: var(--radius-sm);
75
75
  }
76
76
 
77
77
  .avatar-square {
@@ -116,8 +116,8 @@ export const css = `/**
116
116
 
117
117
  /* Ring */
118
118
  .avatar-ring {
119
- outline: 2px solid var(--color-primary);
120
- outline-offset: 2px;
119
+ outline: none;
120
+ box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent);
121
121
  }
122
122
 
123
123
  .avatar-ring-primary {
@@ -143,7 +143,7 @@ export const css = `/**
143
143
  height: 25%;
144
144
  min-width: 0.5rem;
145
145
  min-height: 0.5rem;
146
- border-radius: 50%;
146
+ border-radius: var(--radius-full);
147
147
  border: 2px solid var(--color-surface);
148
148
  }
149
149
 
@@ -15,7 +15,7 @@ export const css = `/**
15
15
  font-weight: 500;
16
16
  line-height: 1rem;
17
17
  white-space: nowrap;
18
- border-radius: 9999px;
18
+ border-radius: var(--radius-full);
19
19
  background-color: var(--color-surface-container);
20
20
  color: var(--color-on-surface);
21
21
  }
@@ -165,7 +165,7 @@ export const css = `/**
165
165
  transform: translateY(-50%);
166
166
  width: 0.375rem;
167
167
  height: 0.375rem;
168
- border-radius: 50%;
168
+ border-radius: var(--radius-full);
169
169
  background-color: currentColor;
170
170
  }
171
171
 
@@ -174,7 +174,7 @@ export const css = `/**
174
174
  width: 0.5rem;
175
175
  height: 0.5rem;
176
176
  padding: 0;
177
- border-radius: 50%;
177
+ border-radius: var(--radius-full);
178
178
  }
179
179
  }
180
180
  `;
@@ -18,7 +18,7 @@ export const css = `/**
18
18
  min-height: 5rem;
19
19
  padding-bottom: env(safe-area-inset-bottom, 0);
20
20
  background-color: var(--color-surface);
21
- box-shadow: 0 -1px 3px 0 rgb(0 0 0 / 0.1);
21
+ box-shadow: 0 -1px 3px 0 color-mix(in srgb, var(--color-shadow) 10%, transparent);
22
22
  }
23
23
 
24
24
  /* Navigation Item */
@@ -49,8 +49,8 @@ export const css = `/**
49
49
  }
50
50
 
51
51
  .bottom-nav-item:focus-visible .bottom-nav-indicator {
52
- outline: 2px solid var(--color-primary);
53
- outline-offset: 2px;
52
+ outline: none;
53
+ box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent);
54
54
  }
55
55
 
56
56
  /* Active State */
@@ -66,7 +66,7 @@ export const css = `/**
66
66
  justify-content: center;
67
67
  width: 4rem;
68
68
  height: 2rem;
69
- border-radius: 1rem;
69
+ border-radius: var(--radius-lg);
70
70
  transition: background-color 150ms ease-in-out;
71
71
  }
72
72
 
@@ -112,9 +112,9 @@ export const css = `/**
112
112
  font-size: 0.625rem;
113
113
  font-weight: 600;
114
114
  line-height: 1rem;
115
- color: var(--color-on-error);
115
+ color: var(--color-error-content);
116
116
  background-color: var(--color-error);
117
- border-radius: 9999px;
117
+ border-radius: var(--radius-full);
118
118
  text-align: center;
119
119
  }
120
120
 
@@ -129,7 +129,7 @@ export const css = `/**
129
129
 
130
130
  /* Variants */
131
131
  .bottom-nav-elevated {
132
- box-shadow: 0 -4px 6px -1px rgb(0 0 0 / 0.1);
132
+ box-shadow: 0 -4px 6px -1px color-mix(in srgb, var(--color-shadow) 10%, transparent);
133
133
  }
134
134
 
135
135
  .bottom-nav-bordered {