@ug666/ui-react 0.2.0 → 0.3.0-beta.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 (250) hide show
  1. package/dist/aliases.d.ts +59 -0
  2. package/dist/aliases.d.ts.map +1 -0
  3. package/dist/blocks/feature-grid.d.ts +40 -0
  4. package/dist/blocks/feature-grid.d.ts.map +1 -0
  5. package/dist/blocks/index.cjs +293 -64
  6. package/dist/blocks/index.cjs.map +1 -1
  7. package/dist/blocks/index.d.ts +6 -84
  8. package/dist/blocks/index.d.ts.map +1 -0
  9. package/dist/blocks/index.js +80 -39
  10. package/dist/blocks/index.js.map +1 -1
  11. package/dist/blocks/landing-hero.d.ts +55 -0
  12. package/dist/blocks/landing-hero.d.ts.map +1 -0
  13. package/dist/chunk-AKWJMDCW.js +467 -0
  14. package/dist/chunk-AKWJMDCW.js.map +1 -0
  15. package/dist/chunk-F23X4N6B.js +11 -0
  16. package/dist/chunk-F23X4N6B.js.map +1 -0
  17. package/dist/chunk-HGO3GZ56.js +1777 -0
  18. package/dist/chunk-HGO3GZ56.js.map +1 -0
  19. package/dist/chunk-HXIWD5LQ.js +319 -0
  20. package/dist/chunk-HXIWD5LQ.js.map +1 -0
  21. package/dist/chunk-M6J4PLF4.js +521 -0
  22. package/dist/chunk-M6J4PLF4.js.map +1 -0
  23. package/dist/chunk-N3Z7R6GG.js +139 -0
  24. package/dist/chunk-N3Z7R6GG.js.map +1 -0
  25. package/dist/chunk-UXWCK6M7.js +5757 -0
  26. package/dist/chunk-UXWCK6M7.js.map +1 -0
  27. package/dist/components/accordion.d.ts +59 -0
  28. package/dist/components/accordion.d.ts.map +1 -0
  29. package/dist/components/alert.d.ts +23 -0
  30. package/dist/components/alert.d.ts.map +1 -0
  31. package/dist/components/avatar-group.d.ts +20 -0
  32. package/dist/components/avatar-group.d.ts.map +1 -0
  33. package/dist/components/avatar.d.ts +34 -0
  34. package/dist/components/avatar.d.ts.map +1 -0
  35. package/dist/components/badge.d.ts +17 -0
  36. package/dist/components/badge.d.ts.map +1 -0
  37. package/dist/components/breadcrumb.d.ts +33 -0
  38. package/dist/components/breadcrumb.d.ts.map +1 -0
  39. package/dist/components/button-group.d.ts +26 -0
  40. package/dist/components/button-group.d.ts.map +1 -0
  41. package/dist/components/button.d.ts +43 -0
  42. package/dist/components/button.d.ts.map +1 -0
  43. package/dist/components/card.d.ts +26 -0
  44. package/dist/components/card.d.ts.map +1 -0
  45. package/dist/components/checkbox-group-context.d.ts +14 -0
  46. package/dist/components/checkbox-group-context.d.ts.map +1 -0
  47. package/dist/components/checkbox-group.d.ts +18 -0
  48. package/dist/components/checkbox-group.d.ts.map +1 -0
  49. package/dist/components/checkbox.d.ts +32 -0
  50. package/dist/components/checkbox.d.ts.map +1 -0
  51. package/dist/components/config-provider.d.ts +29 -0
  52. package/dist/components/config-provider.d.ts.map +1 -0
  53. package/dist/components/container.d.ts +27 -0
  54. package/dist/components/container.d.ts.map +1 -0
  55. package/dist/components/context/form-context.d.ts +41 -0
  56. package/dist/components/context/form-context.d.ts.map +1 -0
  57. package/dist/components/context-menu.d.ts +39 -0
  58. package/dist/components/context-menu.d.ts.map +1 -0
  59. package/dist/components/descriptions.d.ts +40 -0
  60. package/dist/components/descriptions.d.ts.map +1 -0
  61. package/dist/components/dialog.d.ts +55 -0
  62. package/dist/components/dialog.d.ts.map +1 -0
  63. package/dist/components/drawer.d.ts +38 -0
  64. package/dist/components/drawer.d.ts.map +1 -0
  65. package/dist/components/dropdown.d.ts +42 -0
  66. package/dist/components/dropdown.d.ts.map +1 -0
  67. package/dist/components/empty-state.d.ts +24 -0
  68. package/dist/components/empty-state.d.ts.map +1 -0
  69. package/dist/components/form.d.ts +127 -0
  70. package/dist/components/form.d.ts.map +1 -0
  71. package/dist/components/icon.d.ts +16 -0
  72. package/dist/components/icon.d.ts.map +1 -0
  73. package/dist/components/index.cjs +6173 -1482
  74. package/dist/components/index.cjs.map +1 -1
  75. package/dist/components/index.d.ts +59 -1096
  76. package/dist/components/index.d.ts.map +1 -0
  77. package/dist/components/index.js +67 -6
  78. package/dist/components/input.d.ts +28 -0
  79. package/dist/components/input.d.ts.map +1 -0
  80. package/dist/components/label.d.ts +18 -0
  81. package/dist/components/label.d.ts.map +1 -0
  82. package/dist/components/layout.d.ts +34 -0
  83. package/dist/components/layout.d.ts.map +1 -0
  84. package/dist/components/link.d.ts +18 -0
  85. package/dist/components/link.d.ts.map +1 -0
  86. package/dist/components/modal.d.ts +46 -0
  87. package/dist/components/modal.d.ts.map +1 -0
  88. package/dist/components/navigation-menu.d.ts +39 -0
  89. package/dist/components/navigation-menu.d.ts.map +1 -0
  90. package/dist/components/number-input.d.ts +35 -0
  91. package/dist/components/number-input.d.ts.map +1 -0
  92. package/dist/components/otp-input.d.ts +35 -0
  93. package/dist/components/otp-input.d.ts.map +1 -0
  94. package/dist/components/pagination.d.ts +16 -0
  95. package/dist/components/pagination.d.ts.map +1 -0
  96. package/dist/components/popover.d.ts +36 -0
  97. package/dist/components/popover.d.ts.map +1 -0
  98. package/dist/components/progress.d.ts +21 -0
  99. package/dist/components/progress.d.ts.map +1 -0
  100. package/dist/components/radio.d.ts +68 -0
  101. package/dist/components/radio.d.ts.map +1 -0
  102. package/dist/components/scrollbar.d.ts +29 -0
  103. package/dist/components/scrollbar.d.ts.map +1 -0
  104. package/dist/components/select.d.ts +48 -0
  105. package/dist/components/select.d.ts.map +1 -0
  106. package/dist/components/separator.d.ts +28 -0
  107. package/dist/components/separator.d.ts.map +1 -0
  108. package/dist/components/sheet.d.ts +24 -0
  109. package/dist/components/sheet.d.ts.map +1 -0
  110. package/dist/components/sidebar.d.ts +48 -0
  111. package/dist/components/sidebar.d.ts.map +1 -0
  112. package/dist/components/skeleton.d.ts +16 -0
  113. package/dist/components/skeleton.d.ts.map +1 -0
  114. package/dist/components/slider.d.ts +44 -0
  115. package/dist/components/slider.d.ts.map +1 -0
  116. package/dist/components/space.d.ts +19 -0
  117. package/dist/components/space.d.ts.map +1 -0
  118. package/dist/components/spinner.d.ts +18 -0
  119. package/dist/components/spinner.d.ts.map +1 -0
  120. package/dist/components/splitter.d.ts +51 -0
  121. package/dist/components/splitter.d.ts.map +1 -0
  122. package/dist/components/statistic.d.ts +30 -0
  123. package/dist/components/statistic.d.ts.map +1 -0
  124. package/dist/components/steps.d.ts +33 -0
  125. package/dist/components/steps.d.ts.map +1 -0
  126. package/dist/components/switch.d.ts +49 -0
  127. package/dist/components/switch.d.ts.map +1 -0
  128. package/dist/components/table.d.ts +32 -0
  129. package/dist/components/table.d.ts.map +1 -0
  130. package/dist/components/tabs.d.ts +27 -0
  131. package/dist/components/tabs.d.ts.map +1 -0
  132. package/dist/components/tag.d.ts +27 -0
  133. package/dist/components/tag.d.ts.map +1 -0
  134. package/dist/components/text.d.ts +16 -0
  135. package/dist/components/text.d.ts.map +1 -0
  136. package/dist/components/textarea.d.ts +26 -0
  137. package/dist/components/textarea.d.ts.map +1 -0
  138. package/dist/components/toast.d.ts +26 -0
  139. package/dist/components/toast.d.ts.map +1 -0
  140. package/dist/components/tooltip.d.ts +29 -0
  141. package/dist/components/tooltip.d.ts.map +1 -0
  142. package/dist/hooks/index.cjs +228 -27
  143. package/dist/hooks/index.cjs.map +1 -1
  144. package/dist/hooks/index.d.ts +19 -231
  145. package/dist/hooks/index.d.ts.map +1 -0
  146. package/dist/hooks/index.js +1 -1
  147. package/dist/hooks/use-click-outside.d.ts +9 -0
  148. package/dist/hooks/use-click-outside.d.ts.map +1 -0
  149. package/dist/hooks/use-copy-to-clipboard.d.ts +12 -0
  150. package/dist/hooks/use-copy-to-clipboard.d.ts.map +1 -0
  151. package/dist/hooks/use-debounce.d.ts +7 -0
  152. package/dist/hooks/use-debounce.d.ts.map +1 -0
  153. package/dist/hooks/use-escape-key.d.ts +10 -0
  154. package/dist/hooks/use-escape-key.d.ts.map +1 -0
  155. package/dist/hooks/use-event-listener.d.ts +28 -0
  156. package/dist/hooks/use-event-listener.d.ts.map +1 -0
  157. package/dist/hooks/use-form.d.ts +48 -0
  158. package/dist/hooks/use-form.d.ts.map +1 -0
  159. package/dist/hooks/use-hotkeys.d.ts +30 -0
  160. package/dist/hooks/use-hotkeys.d.ts.map +1 -0
  161. package/dist/hooks/use-interval.d.ts +19 -0
  162. package/dist/hooks/use-interval.d.ts.map +1 -0
  163. package/dist/hooks/use-local-storage.d.ts +9 -0
  164. package/dist/hooks/use-local-storage.d.ts.map +1 -0
  165. package/dist/hooks/use-media-query.d.ts +8 -0
  166. package/dist/hooks/use-media-query.d.ts.map +1 -0
  167. package/dist/hooks/use-mounted.d.ts +18 -0
  168. package/dist/hooks/use-mounted.d.ts.map +1 -0
  169. package/dist/hooks/use-pagination.d.ts +36 -0
  170. package/dist/hooks/use-pagination.d.ts.map +1 -0
  171. package/dist/hooks/use-timeout.d.ts +19 -0
  172. package/dist/hooks/use-timeout.d.ts.map +1 -0
  173. package/dist/hooks/use-toggle.d.ts +9 -0
  174. package/dist/hooks/use-toggle.d.ts.map +1 -0
  175. package/dist/index.cjs +6475 -1768
  176. package/dist/index.cjs.map +1 -1
  177. package/dist/index.d.ts +73 -294
  178. package/dist/index.d.ts.map +1 -0
  179. package/dist/index.js +64 -184
  180. package/dist/index.js.map +1 -1
  181. package/dist/internal/button-group-context.d.ts +11 -0
  182. package/dist/internal/button-group-context.d.ts.map +1 -0
  183. package/dist/internal/cn.d.ts +8 -0
  184. package/dist/internal/cn.d.ts.map +1 -0
  185. package/dist/internal/use-overlay-focus.d.ts +8 -0
  186. package/dist/internal/use-overlay-focus.d.ts.map +1 -0
  187. package/dist/internal/use-portal-container.d.ts +2 -0
  188. package/dist/internal/use-portal-container.d.ts.map +1 -0
  189. package/dist/labs/file-preview.d.ts +44 -0
  190. package/dist/labs/file-preview.d.ts.map +1 -0
  191. package/dist/labs/index.cjs +191 -1
  192. package/dist/labs/index.cjs.map +1 -1
  193. package/dist/labs/index.d.ts +8 -6
  194. package/dist/labs/index.d.ts.map +1 -0
  195. package/dist/labs/index.js +180 -1
  196. package/dist/labs/index.js.map +1 -1
  197. package/dist/labs/model-card.d.ts +50 -0
  198. package/dist/labs/model-card.d.ts.map +1 -0
  199. package/dist/patterns/admin-shell.d.ts +52 -0
  200. package/dist/patterns/admin-shell.d.ts.map +1 -0
  201. package/dist/patterns/confirm-dialog.d.ts +50 -0
  202. package/dist/patterns/confirm-dialog.d.ts.map +1 -0
  203. package/dist/patterns/copy-field.d.ts +29 -0
  204. package/dist/patterns/copy-field.d.ts.map +1 -0
  205. package/dist/patterns/index.cjs +699 -251
  206. package/dist/patterns/index.cjs.map +1 -1
  207. package/dist/patterns/index.d.ts +5 -158
  208. package/dist/patterns/index.d.ts.map +1 -0
  209. package/dist/patterns/index.js +137 -82
  210. package/dist/patterns/index.js.map +1 -1
  211. package/dist/patterns/page-header.d.ts +37 -0
  212. package/dist/patterns/page-header.d.ts.map +1 -0
  213. package/dist/primitives/index.cjs +1889 -112
  214. package/dist/primitives/index.cjs.map +1 -1
  215. package/dist/primitives/index.d.ts +22 -135
  216. package/dist/primitives/index.d.ts.map +1 -0
  217. package/dist/primitives/index.js +55 -4
  218. package/dist/styles.css +2819 -953
  219. package/dist/theme.cjs +161 -0
  220. package/dist/theme.cjs.map +1 -0
  221. package/dist/theme.d.ts +39 -0
  222. package/dist/theme.d.ts.map +1 -0
  223. package/dist/theme.js +19 -0
  224. package/dist/theme.js.map +1 -0
  225. package/dist/themes/default.css +80 -0
  226. package/dist/themes/mecha.css +195 -0
  227. package/dist/themes/minimal.css +160 -0
  228. package/dist/tokens.css +1173 -18
  229. package/package.json +22 -12
  230. package/dist/blocks/index.d.cts +0 -86
  231. package/dist/button-CaLZig8j.d.cts +0 -22
  232. package/dist/button-CaLZig8j.d.ts +0 -22
  233. package/dist/chunk-2IVRUJKO.js +0 -377
  234. package/dist/chunk-2IVRUJKO.js.map +0 -1
  235. package/dist/chunk-73WQAE3E.js +0 -3003
  236. package/dist/chunk-73WQAE3E.js.map +0 -1
  237. package/dist/chunk-MGXIF756.js +0 -313
  238. package/dist/chunk-MGXIF756.js.map +0 -1
  239. package/dist/chunk-RUDEZA5Q.js +0 -62
  240. package/dist/chunk-RUDEZA5Q.js.map +0 -1
  241. package/dist/chunk-S45GP6IB.js +0 -254
  242. package/dist/chunk-S45GP6IB.js.map +0 -1
  243. package/dist/components/index.d.cts +0 -1097
  244. package/dist/hooks/index.d.cts +0 -232
  245. package/dist/index.d.cts +0 -297
  246. package/dist/labs/index.d.cts +0 -12
  247. package/dist/patterns/index.d.cts +0 -158
  248. package/dist/primitives/index.d.cts +0 -137
  249. package/dist/sidebar-vl00Z2o-.d.cts +0 -93
  250. package/dist/sidebar-vl00Z2o-.d.ts +0 -93
package/dist/tokens.css CHANGED
@@ -1,22 +1,23 @@
1
- /*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
2
- :root {
1
+ /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
2
+ @layer theme, base, components, utilities;
3
+ :where(:root) {
3
4
  --surface-0: 204 33% 98%;
4
5
  --surface-1: 0 0% 100%;
5
6
  --surface-2: 204 26% 96%;
6
7
  --surface-3: 198 24% 92%;
7
8
  --text-primary: 214 32% 12%;
8
9
  --text-secondary: 211 15% 36%;
9
- --text-tertiary: 211 11% 56%;
10
+ --text-tertiary: 211 11% 44%;
10
11
  --text-inverted: 0 0% 100%;
11
12
  --border-strong: 205 18% 72%;
12
13
  --border-base: 206 19% 86%;
13
14
  --border-subtle: 204 24% 92%;
14
- --primary: 186 86% 34%;
15
- --primary-hover: 188 88% 28%;
16
- --primary-active: 190 86% 23%;
15
+ --primary: 174 72% 28%;
16
+ --primary-hover: 174 76% 25%;
17
+ --primary-active: 174 80% 22%;
17
18
  --primary-fg: 0 0% 100%;
18
- --primary-soft: 186 86% 34%;
19
- --primary-soft-fg: 190 86% 23%;
19
+ --primary-soft: 174 72% 28%;
20
+ --primary-soft-fg: 174 80% 22%;
20
21
  --success: 154 66% 34%;
21
22
  --success-hover: 154 72% 28%;
22
23
  --success-fg: 0 0% 100%;
@@ -37,29 +38,155 @@
37
38
  --info-fg: 0 0% 100%;
38
39
  --info-soft: 217 91% 60%;
39
40
  --info-soft-fg: 222 72% 42%;
40
- --ring: 186 86% 34%;
41
+ --link-neutral: var(--text-primary);
42
+ --link-primary: var(--primary-soft-fg);
43
+ --link-success: var(--success-soft-fg);
44
+ --link-warning: 32 90% 32%;
45
+ --link-danger: var(--danger-soft-fg);
46
+ --link-info: var(--info-soft-fg);
47
+ --ring: 174 72% 28%;
41
48
  --shadow-color: 214 32% 12%;
49
+ --shadow-sm: 0 1px 2px 0 hsl(var(--shadow-color) / 0.08);
50
+ --shadow-md: 0 8px 20px -16px hsl(var(--shadow-color) / 0.24), 0 2px 8px -6px hsl(var(--shadow-color) / 0.16);
51
+ --shadow-lg: 0 20px 42px -28px hsl(var(--shadow-color) / 0.34), 0 8px 20px -18px hsl(var(--shadow-color) / 0.22);
52
+ --shadow-xl: 0 28px 56px -32px hsl(var(--shadow-color) / 0.42), 0 12px 28px -24px hsl(var(--shadow-color) / 0.26);
53
+ --shadow-2xl: 0 36px 72px -36px hsl(var(--shadow-color) / 0.46), 0 18px 36px -28px hsl(var(--shadow-color) / 0.3);
54
+ --shadow-glow: 0 0 0 1px hsl(var(--ring) / 0.12), 0 0 24px hsl(var(--ring) / 0.16);
55
+ --radius-control: 0.5rem;
56
+ --radius-panel: 0.625rem;
57
+ --radius-overlay: 0.75rem;
58
+ --radius-sm: calc(var(--radius-control) * 0.75);
59
+ --radius-md: var(--radius-control);
60
+ --radius-lg: var(--radius-panel);
61
+ --radius-xl: var(--radius-overlay);
62
+ --control-height-sm: 2rem;
63
+ --control-height-md: 2.5rem;
64
+ --control-height-lg: 3rem;
65
+ --control-padding-x-sm: 0.75rem;
66
+ --control-padding-x-md: 1rem;
67
+ --control-padding-x-lg: 1.25rem;
68
+ --content-gap: 1rem;
69
+ --section-gap: 2rem;
70
+ --control-border-width: 1px;
71
+ --button-font-size-sm: 0.75rem;
72
+ --button-font-size-md: 0.875rem;
73
+ --button-font-size-lg: 1rem;
74
+ --button-font-weight: 500;
75
+ --button-icon-gap: 0.5rem;
76
+ --button-disabled-opacity: 0.5;
77
+ --button-focus-ring-width: 2px;
78
+ --button-focus-ring-offset: 2px;
79
+ --button-solid-fg: 0 0% 100%;
80
+ --button-primary-solid: hsl(var(--primary));
81
+ @supports (color: color-mix(in lab, red, red)) {
82
+ --button-primary-solid: color-mix(in srgb, hsl(var(--primary)) 58%, black);
83
+ }
84
+ --button-primary-solid-hover: hsl(var(--primary-hover));
85
+ @supports (color: color-mix(in lab, red, red)) {
86
+ --button-primary-solid-hover: color-mix(in srgb, hsl(var(--primary-hover)) 54%, black);
87
+ }
88
+ --button-primary-solid-active: hsl(var(--primary-active));
89
+ @supports (color: color-mix(in lab, red, red)) {
90
+ --button-primary-solid-active: color-mix(in srgb, hsl(var(--primary-active)) 50%, black);
91
+ }
92
+ --button-success-solid: hsl(var(--success));
93
+ @supports (color: color-mix(in lab, red, red)) {
94
+ --button-success-solid: color-mix(in srgb, hsl(var(--success)) 58%, black);
95
+ }
96
+ --button-success-solid-hover: hsl(var(--success-hover));
97
+ @supports (color: color-mix(in lab, red, red)) {
98
+ --button-success-solid-hover: color-mix(in srgb, hsl(var(--success-hover)) 54%, black);
99
+ }
100
+ --button-success-solid-active: hsl(var(--success-hover));
101
+ @supports (color: color-mix(in lab, red, red)) {
102
+ --button-success-solid-active: color-mix(in srgb, hsl(var(--success-hover)) 50%, black);
103
+ }
104
+ --button-warning-solid: hsl(var(--warning));
105
+ @supports (color: color-mix(in lab, red, red)) {
106
+ --button-warning-solid: color-mix(in srgb, hsl(var(--warning)) 58%, black);
107
+ }
108
+ --button-warning-solid-hover: hsl(var(--warning-hover));
109
+ @supports (color: color-mix(in lab, red, red)) {
110
+ --button-warning-solid-hover: color-mix(in srgb, hsl(var(--warning-hover)) 54%, black);
111
+ }
112
+ --button-warning-solid-active: hsl(var(--warning-hover));
113
+ @supports (color: color-mix(in lab, red, red)) {
114
+ --button-warning-solid-active: color-mix(in srgb, hsl(var(--warning-hover)) 50%, black);
115
+ }
116
+ --button-danger-solid: hsl(var(--danger));
117
+ @supports (color: color-mix(in lab, red, red)) {
118
+ --button-danger-solid: color-mix(in srgb, hsl(var(--danger)) 58%, black);
119
+ }
120
+ --button-danger-solid-hover: hsl(var(--danger-hover));
121
+ @supports (color: color-mix(in lab, red, red)) {
122
+ --button-danger-solid-hover: color-mix(in srgb, hsl(var(--danger-hover)) 54%, black);
123
+ }
124
+ --button-danger-solid-active: hsl(var(--danger-hover));
125
+ @supports (color: color-mix(in lab, red, red)) {
126
+ --button-danger-solid-active: color-mix(in srgb, hsl(var(--danger-hover)) 50%, black);
127
+ }
128
+ --button-info-solid: hsl(var(--info));
129
+ @supports (color: color-mix(in lab, red, red)) {
130
+ --button-info-solid: color-mix(in srgb, hsl(var(--info)) 58%, black);
131
+ }
132
+ --button-info-solid-hover: hsl(var(--info-hover));
133
+ @supports (color: color-mix(in lab, red, red)) {
134
+ --button-info-solid-hover: color-mix(in srgb, hsl(var(--info-hover)) 54%, black);
135
+ }
136
+ --button-info-solid-active: hsl(var(--info-hover));
137
+ @supports (color: color-mix(in lab, red, red)) {
138
+ --button-info-solid-active: color-mix(in srgb, hsl(var(--info-hover)) 50%, black);
139
+ }
140
+ --motion-duration-fast: 120ms;
141
+ --motion-duration-base: 180ms;
142
+ --motion-duration-slow: 240ms;
143
+ --motion-easing-standard: cubic-bezier(0.2, 0, 0, 1);
144
+ --motion-easing-emphasized: cubic-bezier(0.16, 1, 0.3, 1);
145
+ --z-dropdown: 1000;
146
+ --z-sticky: 1100;
147
+ --z-overlay: 1200;
148
+ --z-modal: 1300;
149
+ --z-toast: 1400;
150
+ --page-max-width: 72rem;
151
+ --docs-wide-max-width: 100rem;
152
+ --ug-button-bg-image: none;
153
+ --ug-button-border-image: none;
154
+ --ug-card-texture-image: none;
155
+ --ug-panel-noise-image: none;
156
+ --ug-focus-ring-image: none;
42
157
  --overlay: 0 0% 0%;
43
158
  --overlay-alpha: 0.5;
159
+ --docs-bg-top-opacity: 0.84;
160
+ --docs-bg-grid-opacity: 0.62;
161
+ --docs-bg-grid-size: 44px;
162
+ --ug-control-surface: hsl(var(--surface-1));
163
+ --ug-control-surface-hover: hsl(var(--surface-2));
164
+ --ug-control-surface-active: hsl(var(--surface-3));
165
+ --ug-control-border: hsl(var(--border-strong));
166
+ --ug-control-border-hover: hsl(var(--primary) / 0.6);
167
+ --ug-panel-border: hsl(var(--border-base));
168
+ --ug-panel-surface: hsl(var(--surface-1));
169
+ --ug-panel-surface-muted: hsl(var(--surface-2));
170
+ --ug-focus-ring-shadow: 0 0 0 3px hsl(var(--ring) / 0.22);
44
171
  }
45
- .dark {
172
+ :where(.dark, [data-ug-mode='dark']) {
46
173
  --surface-0: 210 26% 8%;
47
174
  --surface-1: 210 21% 12%;
48
175
  --surface-2: 205 18% 17%;
49
176
  --surface-3: 198 17% 24%;
50
177
  --text-primary: 190 24% 96%;
51
178
  --text-secondary: 201 13% 72%;
52
- --text-tertiary: 203 9% 56%;
179
+ --text-tertiary: 203 9% 58%;
53
180
  --text-inverted: 210 26% 8%;
54
181
  --border-strong: 199 16% 34%;
55
182
  --border-base: 205 16% 24%;
56
183
  --border-subtle: 208 18% 16%;
57
- --primary: 181 82% 48%;
58
- --primary-hover: 181 82% 56%;
59
- --primary-active: 181 84% 66%;
60
- --primary-fg: 210 26% 8%;
61
- --primary-soft: 181 82% 48%;
62
- --primary-soft-fg: 181 84% 66%;
184
+ --primary: 174 75% 42%;
185
+ --primary-hover: 174 78% 50%;
186
+ --primary-active: 174 82% 58%;
187
+ --primary-fg: 0 0% 100%;
188
+ --primary-soft: 174 75% 42%;
189
+ --primary-soft-fg: 174 82% 58%;
63
190
  --success: 158 64% 52%;
64
191
  --success-hover: 156 72% 67%;
65
192
  --success-fg: 240 6% 10%;
@@ -80,7 +207,1035 @@
80
207
  --info-fg: 240 6% 10%;
81
208
  --info-soft: 213 94% 68%;
82
209
  --info-soft-fg: 212 96% 78%;
83
- --ring: 181 82% 48%;
210
+ --link-neutral: var(--text-primary);
211
+ --link-primary: var(--primary);
212
+ --link-success: var(--success);
213
+ --link-warning: var(--warning);
214
+ --link-danger: var(--danger);
215
+ --link-info: var(--info);
216
+ --ring: 174 75% 42%;
84
217
  --shadow-color: 210 40% 2%;
85
218
  --overlay-alpha: 0.7;
86
219
  }
220
+ :where([data-ug-mode='light'], [data-ug-mode='system']) {
221
+ --surface-0: 204 33% 98%;
222
+ --surface-1: 0 0% 100%;
223
+ --surface-2: 204 26% 96%;
224
+ --surface-3: 198 24% 92%;
225
+ --text-primary: 214 32% 12%;
226
+ --text-secondary: 211 15% 36%;
227
+ --text-tertiary: 211 11% 44%;
228
+ --text-inverted: 0 0% 100%;
229
+ --border-strong: 205 18% 72%;
230
+ --border-base: 206 19% 86%;
231
+ --border-subtle: 204 24% 92%;
232
+ --primary: 174 72% 28%;
233
+ --primary-hover: 174 76% 25%;
234
+ --primary-active: 174 80% 22%;
235
+ --primary-fg: 0 0% 100%;
236
+ --primary-soft: 174 72% 28%;
237
+ --primary-soft-fg: 174 80% 22%;
238
+ --success: 154 66% 34%;
239
+ --success-hover: 154 72% 28%;
240
+ --success-fg: 0 0% 100%;
241
+ --success-soft: 160 84% 39%;
242
+ --success-soft-fg: 154 72% 25%;
243
+ --warning: 38 92% 50%;
244
+ --warning-hover: 32 95% 44%;
245
+ --warning-fg: 0 0% 100%;
246
+ --warning-soft: 38 92% 50%;
247
+ --warning-soft-fg: 32 95% 44%;
248
+ --danger: 350 72% 50%;
249
+ --danger-hover: 350 76% 42%;
250
+ --danger-fg: 0 0% 100%;
251
+ --danger-soft: 0 84% 60%;
252
+ --danger-soft-fg: 350 76% 42%;
253
+ --info: 219 76% 54%;
254
+ --info-hover: 222 72% 47%;
255
+ --info-fg: 0 0% 100%;
256
+ --info-soft: 217 91% 60%;
257
+ --info-soft-fg: 222 72% 42%;
258
+ --link-neutral: var(--text-primary);
259
+ --link-primary: var(--primary-soft-fg);
260
+ --link-success: var(--success-soft-fg);
261
+ --link-warning: 32 90% 32%;
262
+ --link-danger: var(--danger-soft-fg);
263
+ --link-info: var(--info-soft-fg);
264
+ --ring: 174 72% 28%;
265
+ --shadow-color: 214 32% 12%;
266
+ --overlay-alpha: 0.5;
267
+ }
268
+ @media (prefers-color-scheme: dark) {
269
+ :where([data-ug-mode='system']) {
270
+ --surface-0: 210 26% 8%;
271
+ --surface-1: 210 21% 12%;
272
+ --surface-2: 205 18% 17%;
273
+ --surface-3: 198 17% 24%;
274
+ --text-primary: 190 24% 96%;
275
+ --text-secondary: 201 13% 72%;
276
+ --text-tertiary: 203 9% 58%;
277
+ --text-inverted: 210 26% 8%;
278
+ --border-strong: 199 16% 34%;
279
+ --border-base: 205 16% 24%;
280
+ --border-subtle: 208 18% 16%;
281
+ --primary: 181 82% 48%;
282
+ --primary-hover: 181 82% 56%;
283
+ --primary-active: 181 84% 66%;
284
+ --primary-fg: 210 26% 8%;
285
+ --primary-soft: 181 82% 48%;
286
+ --primary-soft-fg: 181 84% 66%;
287
+ --success: 158 64% 52%;
288
+ --success-hover: 156 72% 67%;
289
+ --success-fg: 240 6% 10%;
290
+ --success-soft: 158 64% 52%;
291
+ --success-soft-fg: 156 72% 67%;
292
+ --warning: 43 96% 56%;
293
+ --warning-hover: 48 96% 63%;
294
+ --warning-fg: 240 6% 10%;
295
+ --warning-soft: 43 96% 56%;
296
+ --warning-soft-fg: 48 96% 63%;
297
+ --danger: 0 91% 71%;
298
+ --danger-hover: 0 94% 82%;
299
+ --danger-fg: 240 6% 10%;
300
+ --danger-soft: 0 91% 71%;
301
+ --danger-soft-fg: 0 94% 82%;
302
+ --info: 213 94% 68%;
303
+ --info-hover: 212 96% 78%;
304
+ --info-fg: 240 6% 10%;
305
+ --info-soft: 213 94% 68%;
306
+ --info-soft-fg: 212 96% 78%;
307
+ --link-neutral: var(--text-primary);
308
+ --link-primary: var(--primary);
309
+ --link-success: var(--success);
310
+ --link-warning: var(--warning);
311
+ --link-danger: var(--danger);
312
+ --link-info: var(--info);
313
+ --ring: 181 82% 48%;
314
+ --shadow-color: 210 40% 2%;
315
+ --overlay-alpha: 0.7;
316
+ }
317
+ }
318
+ [data-ug-density='compact'] {
319
+ --control-height-sm: 1.75rem;
320
+ --control-height-md: 2.25rem;
321
+ --control-height-lg: 2.75rem;
322
+ --control-padding-x-sm: 0.625rem;
323
+ --control-padding-x-md: 0.875rem;
324
+ --control-padding-x-lg: 1rem;
325
+ --content-gap: 0.75rem;
326
+ --section-gap: 1.5rem;
327
+ --control-border-width: 1px;
328
+ }
329
+ [data-ug-density='spacious'] {
330
+ --control-height-sm: 2.25rem;
331
+ --control-height-md: 2.75rem;
332
+ --control-height-lg: 3.25rem;
333
+ --control-padding-x-sm: 0.875rem;
334
+ --control-padding-x-md: 1.125rem;
335
+ --control-padding-x-lg: 1.5rem;
336
+ --content-gap: 1.25rem;
337
+ --section-gap: 2.5rem;
338
+ --control-border-width: 1px;
339
+ }
340
+ [data-ug-radius='sharp'] {
341
+ --radius-control: 0.125rem;
342
+ --radius-panel: 0.25rem;
343
+ --radius-overlay: 0.375rem;
344
+ --radius-sm: 0.125rem;
345
+ --radius-md: 0.1875rem;
346
+ --radius-lg: 0.25rem;
347
+ --radius-xl: 0.375rem;
348
+ }
349
+ [data-ug-radius='soft'] {
350
+ --radius-control: 0.75rem;
351
+ --radius-panel: 1rem;
352
+ --radius-overlay: 1.25rem;
353
+ --radius-sm: 0.5rem;
354
+ --radius-md: 0.75rem;
355
+ --radius-lg: 1rem;
356
+ --radius-xl: 1.25rem;
357
+ }
358
+ [data-ug-accent='cyan'] {
359
+ --primary: 186 86% 34%;
360
+ --primary-hover: 188 88% 28%;
361
+ --primary-active: 190 86% 23%;
362
+ --primary-soft: 186 86% 34%;
363
+ --primary-soft-fg: 190 86% 23%;
364
+ --ring: 186 86% 34%;
365
+ }
366
+ [data-ug-accent='blue'] {
367
+ --primary: 213 82% 43%;
368
+ --primary-hover: 214 78% 36%;
369
+ --primary-active: 216 72% 30%;
370
+ --primary-soft: 213 82% 43%;
371
+ --primary-soft-fg: 216 72% 30%;
372
+ --ring: 213 82% 43%;
373
+ }
374
+ [data-ug-accent='violet'] {
375
+ --primary: 262 72% 48%;
376
+ --primary-hover: 263 70% 40%;
377
+ --primary-active: 264 68% 34%;
378
+ --primary-soft: 262 72% 48%;
379
+ --primary-soft-fg: 264 68% 34%;
380
+ --ring: 262 72% 48%;
381
+ }
382
+ [data-ug-accent='emerald'] {
383
+ --primary: 154 66% 34%;
384
+ --primary-hover: 154 72% 28%;
385
+ --primary-active: 155 70% 23%;
386
+ --primary-soft: 154 66% 34%;
387
+ --primary-soft-fg: 155 70% 23%;
388
+ --ring: 154 66% 34%;
389
+ }
390
+ [data-ug-accent='rose'] {
391
+ --primary: 344 72% 46%;
392
+ --primary-hover: 345 70% 38%;
393
+ --primary-active: 346 68% 32%;
394
+ --primary-soft: 344 72% 46%;
395
+ --primary-soft-fg: 346 68% 32%;
396
+ --ring: 344 72% 46%;
397
+ }
398
+ [data-ug-shadow='flat'] {
399
+ --shadow-sm: none;
400
+ --shadow-md: none;
401
+ --shadow-lg: none;
402
+ --shadow-xl: none;
403
+ --shadow-2xl: none;
404
+ --shadow-glow: 0 0 0 1px hsl(var(--ring) / 0.12);
405
+ }
406
+ [data-ug-shadow='layered'] {
407
+ --shadow-sm: 0 2px 8px -4px hsl(var(--shadow-color) / 0.18);
408
+ --shadow-md: 0 14px 32px -20px hsl(var(--shadow-color) / 0.36), 0 4px 14px -8px hsl(var(--shadow-color) / 0.22);
409
+ --shadow-lg: 0 28px 54px -30px hsl(var(--shadow-color) / 0.44), 0 12px 26px -18px hsl(var(--shadow-color) / 0.28);
410
+ --shadow-xl: 0 36px 72px -34px hsl(var(--shadow-color) / 0.5), 0 18px 36px -24px hsl(var(--shadow-color) / 0.32);
411
+ --shadow-2xl: 0 48px 96px -40px hsl(var(--shadow-color) / 0.56), 0 24px 48px -28px hsl(var(--shadow-color) / 0.34);
412
+ --shadow-glow: 0 0 0 1px hsl(var(--ring) / 0.16), 0 0 32px hsl(var(--ring) / 0.2);
413
+ }
414
+ @layer utilities {
415
+ :where([data-ug-shadow]) :is(.shadow-sm) {
416
+ box-shadow: var(--shadow-sm);
417
+ }
418
+ :where([data-ug-shadow]) :is(.shadow-md) {
419
+ box-shadow: var(--shadow-md);
420
+ }
421
+ :where([data-ug-shadow]) :is(.shadow-lg) {
422
+ box-shadow: var(--shadow-lg);
423
+ }
424
+ :where([data-ug-shadow]) :is(.shadow-xl) {
425
+ box-shadow: var(--shadow-xl);
426
+ }
427
+ :where([data-ug-shadow]) :is(.shadow-2xl) {
428
+ box-shadow: var(--shadow-2xl);
429
+ }
430
+ :where([data-ug-shadow]) :is(.hover\:shadow-sm:hover) {
431
+ box-shadow: var(--shadow-sm);
432
+ }
433
+ :where([data-ug-shadow]) :is(.hover\:shadow-md:hover) {
434
+ box-shadow: var(--shadow-md);
435
+ }
436
+ :where([data-ug-shadow]) :is(.hover\:shadow-lg:hover) {
437
+ box-shadow: var(--shadow-lg);
438
+ }
439
+ :where([data-ug-shadow]) :is(.hover\:shadow-xl:hover) {
440
+ box-shadow: var(--shadow-xl);
441
+ }
442
+ @media (max-width: 639.98px) {
443
+ .ug-hidden-xs-only, .ug-hidden-sm-and-down {
444
+ display: none !important;
445
+ }
446
+ }
447
+ @media (min-width: 640px) and (max-width: 767.98px) {
448
+ .ug-hidden-sm-only, .ug-hidden-sm-and-down {
449
+ display: none !important;
450
+ }
451
+ }
452
+ @media (min-width: 640px) {
453
+ .ug-hidden-sm-and-up {
454
+ display: none !important;
455
+ }
456
+ }
457
+ @media (max-width: 767.98px) {
458
+ .ug-hidden-md-and-down {
459
+ display: none !important;
460
+ }
461
+ }
462
+ @media (min-width: 768px) and (max-width: 1023.98px) {
463
+ .ug-hidden-md-only, .ug-hidden-md-and-down {
464
+ display: none !important;
465
+ }
466
+ }
467
+ @media (min-width: 768px) {
468
+ .ug-hidden-md-and-up {
469
+ display: none !important;
470
+ }
471
+ }
472
+ @media (max-width: 1023.98px) {
473
+ .ug-hidden-lg-and-down {
474
+ display: none !important;
475
+ }
476
+ }
477
+ @media (min-width: 1024px) and (max-width: 1279.98px) {
478
+ .ug-hidden-lg-only, .ug-hidden-lg-and-down {
479
+ display: none !important;
480
+ }
481
+ }
482
+ @media (min-width: 1024px) {
483
+ .ug-hidden-lg-and-up {
484
+ display: none !important;
485
+ }
486
+ }
487
+ @media (min-width: 1280px) {
488
+ .ug-hidden-xl-only {
489
+ display: none !important;
490
+ }
491
+ }
492
+ }
493
+ [data-ug-font='readable'] {
494
+ --font-sans: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", ui-sans-serif, system-ui, sans-serif;
495
+ --content-gap: 1.125rem;
496
+ }
497
+ [data-ug-font='compact'] {
498
+ --font-sans: "Segoe UI", "Microsoft YaHei UI", "PingFang SC", ui-sans-serif, system-ui, sans-serif;
499
+ --content-gap: 0.875rem;
500
+ }
501
+ [data-ug-contrast='soft'] {
502
+ --text-secondary: 211 13% 43%;
503
+ --text-tertiary: 211 10% 44%;
504
+ --border-base: 206 18% 88%;
505
+ --border-subtle: 204 23% 94%;
506
+ }
507
+ [data-ug-contrast='strong'] {
508
+ --text-primary: 214 36% 9%;
509
+ --text-secondary: 211 17% 28%;
510
+ --text-tertiary: 211 12% 38%;
511
+ --border-strong: 205 20% 58%;
512
+ --border-base: 206 20% 76%;
513
+ }
514
+ :where(.dark, [data-ug-mode='dark'])[data-ug-contrast='soft'] {
515
+ --text-secondary: 201 12% 66%;
516
+ --text-tertiary: 203 9% 58%;
517
+ --border-base: 205 15% 21%;
518
+ --border-subtle: 208 17% 14%;
519
+ }
520
+ :where(.dark, [data-ug-mode='dark'])[data-ug-contrast='strong'] {
521
+ --text-primary: 190 28% 98%;
522
+ --text-secondary: 201 17% 81%;
523
+ --text-tertiary: 203 12% 64%;
524
+ --border-strong: 199 18% 43%;
525
+ --border-base: 205 17% 32%;
526
+ }
527
+ [data-ug-motion='reduced'] {
528
+ --motion-duration-fast: 0ms;
529
+ --motion-duration-base: 0ms;
530
+ --motion-duration-slow: 0ms;
531
+ }
532
+ [data-ug-motion='lively'] {
533
+ --motion-duration-fast: 100ms;
534
+ --motion-duration-base: 150ms;
535
+ --motion-duration-slow: 220ms;
536
+ --motion-easing-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
537
+ --motion-easing-emphasized: cubic-bezier(0.16, 1, 0.3, 1);
538
+ }
539
+ [data-ug-background='plain'] {
540
+ --docs-bg-top-opacity: 0;
541
+ --docs-bg-grid-opacity: 0;
542
+ }
543
+ [data-ug-background='grid'] {
544
+ --docs-bg-top-opacity: 0.84;
545
+ --docs-bg-grid-opacity: 0.62;
546
+ --docs-bg-grid-size: 44px;
547
+ }
548
+ [data-ug-background='soft'] {
549
+ --docs-bg-top-opacity: 0.94;
550
+ --docs-bg-grid-opacity: 0.28;
551
+ --docs-bg-grid-size: 56px;
552
+ }
553
+ button:where([data-ug='button']) {
554
+ color: hsl(var(--ug-button-text, var(--text-primary)));
555
+ font-size: var(--button-font-size-md);
556
+ }
557
+ button:where([data-ug='button'][data-size='sm']) {
558
+ font-size: var(--button-font-size-sm);
559
+ }
560
+ button:where([data-ug='button'][data-size='lg']) {
561
+ font-size: var(--button-font-size-lg);
562
+ }
563
+ button:where( [data-ug='button'][data-variant='solid'], [data-ug='button'][data-variant='primary'], [data-ug='button'][data-variant='success'], [data-ug='button'][data-variant='warning'], [data-ug='button'][data-variant='danger'], [data-ug='button'][data-variant='destructive'], [data-ug='button'][data-variant='info'] ) {
564
+ --ug-button-text: var(--button-solid-fg);
565
+ }
566
+ button:where([data-ug='button'][data-variant='soft']) {
567
+ --ug-button-text: var(--text-primary);
568
+ }
569
+ button:where( [data-ug='button'][data-variant='outline'], [data-ug='button'][data-variant='dashed'], [data-ug='button'][data-variant='ghost'], [data-ug='button'][data-variant='text'], [data-ug='button'][data-variant='link'] ) {
570
+ --ug-button-text: var(--text-primary);
571
+ }
572
+ a:where([data-ug='link'][data-variant='always']) {
573
+ text-decoration-color: currentColor;
574
+ text-decoration-line: underline;
575
+ }
576
+ a:where([data-ug='link'][data-variant='hover']) {
577
+ text-decoration-color: transparent;
578
+ text-decoration-line: underline;
579
+ }
580
+ a:where([data-ug='link'][data-variant='hover']):hover {
581
+ text-decoration-color: currentColor;
582
+ }
583
+ a:where([data-ug='link'][data-variant='never']) {
584
+ text-decoration-line: none;
585
+ }
586
+ @layer components {
587
+ :where([data-ug]) {
588
+ font-family: var(--font-sans);
589
+ }
590
+ :where([data-ug] :is(button, input, select, textarea, [tabindex]):focus-visible) {
591
+ outline: none;
592
+ }
593
+ :where([data-ug='button']) {
594
+ min-height: var(--control-height-md);
595
+ border-radius: var(--radius-control);
596
+ background-image: var(--ug-button-bg-image);
597
+ border-image-source: var(--ug-button-border-image);
598
+ border-image-slice: 1;
599
+ column-gap: var(--button-icon-gap);
600
+ font-size: var(--button-font-size-md);
601
+ font-weight: var(--button-font-weight);
602
+ transition-duration: var(--motion-duration-base);
603
+ transition-timing-function: var(--motion-easing-standard);
604
+ }
605
+ :where([data-ug='button'][data-state~='loading'] [data-ug-slot='loader']) {
606
+ flex-shrink: 0;
607
+ }
608
+ :where([data-ug='button'][data-state~='disabled']) {
609
+ cursor: not-allowed;
610
+ opacity: var(--button-disabled-opacity);
611
+ }
612
+ :where([data-ug='button'][data-size='sm']) {
613
+ min-height: var(--control-height-sm);
614
+ font-size: var(--button-font-size-sm);
615
+ }
616
+ :where([data-ug='button'][data-size='default']), :where([data-ug='button'][data-size='md']) {
617
+ min-height: var(--control-height-md);
618
+ }
619
+ :where([data-ug='button'][data-size='lg']) {
620
+ min-height: var(--control-height-lg);
621
+ font-size: var(--button-font-size-lg);
622
+ }
623
+ :where([data-ug='button'][data-variant='link']) {
624
+ min-height: auto;
625
+ }
626
+ :where([data-ug='button'] [data-ug-slot='label']) {
627
+ min-width: 0;
628
+ column-gap: var(--button-icon-gap);
629
+ }
630
+ :where([data-ug='input']) {
631
+ gap: 0.25rem;
632
+ }
633
+ :where([data-ug='input'][data-state~='invalid'] [data-ug-slot='wrapper']) {
634
+ border-color: hsl(var(--danger));
635
+ }
636
+ :where([data-ug='input'][data-state~='disabled'] [data-ug-slot='control']) {
637
+ cursor: not-allowed;
638
+ }
639
+ :where([data-ug='input'][data-size='md'] [data-ug-slot='wrapper']) {
640
+ min-height: var(--control-height-md);
641
+ }
642
+ :where([data-ug='input'][data-variant='default'] [data-ug-slot='wrapper']) {
643
+ border-radius: var(--radius-control);
644
+ }
645
+ :where([data-ug='input'] [data-ug-slot='wrapper']) {
646
+ transition-duration: var(--motion-duration-base);
647
+ transition-timing-function: var(--motion-easing-standard);
648
+ background-color: var(--ug-control-surface);
649
+ }
650
+ :where([data-ug='input']:not([data-state~='disabled']):not([data-state~='invalid']) [data-ug-slot='wrapper']:hover) {
651
+ border-color: var(--ug-control-border-hover);
652
+ background-color: var(--ug-control-surface-hover);
653
+ }
654
+ :where([data-ug='input'] [data-ug-slot='message']) {
655
+ min-height: 1rem;
656
+ }
657
+ :where([data-ug='input'] [data-ug-slot='wrapper'][data-has-prepend='true']) {
658
+ border-start-start-radius: 0;
659
+ border-end-start-radius: 0;
660
+ }
661
+ :where([data-ug='input'] [data-ug-slot='wrapper'][data-has-append='true']) {
662
+ border-start-end-radius: 0;
663
+ border-end-end-radius: 0;
664
+ }
665
+ :where([data-ug='input'] [data-ug-slot='prepend']) {
666
+ border-start-start-radius: var(--radius-control);
667
+ border-end-start-radius: var(--radius-control);
668
+ }
669
+ :where([data-ug='input'] [data-ug-slot='append']) {
670
+ border-start-end-radius: var(--radius-control);
671
+ border-end-end-radius: var(--radius-control);
672
+ }
673
+ :where([data-ug='card']) {
674
+ border-radius: var(--radius-panel);
675
+ background-image: var(--ug-card-texture-image);
676
+ background-blend-mode: normal;
677
+ border-color: var(--ug-panel-border);
678
+ background-color: var(--ug-panel-surface);
679
+ }
680
+ :where([data-ug='card'][data-state='default']) {
681
+ transition-duration: var(--motion-duration-base);
682
+ transition-property: background-color, border-color, box-shadow, transform;
683
+ }
684
+ :where([data-ug='card'][data-size='md']) {
685
+ --ug-card-padding: var(--content-gap);
686
+ }
687
+ :where([data-ug='card'][data-variant='default']) {
688
+ background-blend-mode: normal;
689
+ }
690
+ :where([data-ug='card'] [data-ug-slot='header']), :where([data-ug='card'] [data-ug-slot='content']), :where([data-ug='card'] [data-ug-slot='footer']) {
691
+ padding: var(--ug-card-padding, var(--content-gap));
692
+ }
693
+ :where([data-ug='modal']) {
694
+ --ug-overlay-radius: var(--radius-overlay);
695
+ }
696
+ :where([data-ug='modal'][data-state='open']) {
697
+ pointer-events: auto;
698
+ }
699
+ :where([data-ug='modal'][data-size='md'] [data-ug-slot='content']) {
700
+ border-radius: var(--ug-overlay-radius);
701
+ }
702
+ :where([data-ug='modal'][data-variant='default'] [data-ug-slot='content']) {
703
+ background-image: var(--ug-panel-noise-image);
704
+ background-blend-mode: normal;
705
+ }
706
+ :where([data-ug='modal'] [data-ug-slot='header']), :where([data-ug='modal'] [data-ug-slot='body']), :where([data-ug='modal'] [data-ug-slot='footer']) {
707
+ padding: var(--content-gap);
708
+ }
709
+ :where([data-ug='alert']) {
710
+ border-radius: var(--radius-panel);
711
+ transition-duration: var(--motion-duration-base);
712
+ }
713
+ :where([data-ug='alert'][data-state='default']) {
714
+ isolation: isolate;
715
+ }
716
+ :where([data-ug='alert'][data-size='md']) {
717
+ gap: calc(var(--content-gap) * 0.75);
718
+ }
719
+ :where([data-ug='alert'][data-variant]) {
720
+ border-image-source: none;
721
+ }
722
+ :where([data-ug='alert'] [data-ug-slot='icon']) {
723
+ flex-shrink: 0;
724
+ }
725
+ :where([data-ug='toast']) {
726
+ gap: calc(var(--content-gap) * 0.5);
727
+ }
728
+ :where([data-ug='toast'][data-state='open']) {
729
+ pointer-events: auto;
730
+ }
731
+ :where([data-ug='toast'][data-size='md'] [data-ug-slot='item']) {
732
+ border-radius: var(--radius-control);
733
+ }
734
+ :where([data-ug='toast'] [data-ug-slot='item'][data-variant]) {
735
+ transition-duration: var(--motion-duration-base);
736
+ transition-timing-function: var(--motion-easing-standard);
737
+ }
738
+ :where([data-ug='toast'] [data-ug-slot='close']) {
739
+ border-radius: var(--radius-control);
740
+ }
741
+ :where([data-ug='badge']) {
742
+ border-radius: var(--radius-control);
743
+ transition-duration: var(--motion-duration-base);
744
+ }
745
+ :where([data-ug='badge'][data-state='default']) {
746
+ isolation: isolate;
747
+ }
748
+ :where([data-ug='badge'][data-size='md']) {
749
+ min-height: calc(var(--control-height-sm) * 0.75);
750
+ }
751
+ :where([data-ug='badge'][data-variant]) {
752
+ border-image-source: none;
753
+ }
754
+ :where([data-ug='badge'] [data-ug-slot='label']) {
755
+ min-width: 0;
756
+ }
757
+ :where([data-ug='tag']) {
758
+ border-radius: var(--radius-control);
759
+ transition-duration: var(--motion-duration-base);
760
+ }
761
+ :where([data-ug='tag'][data-state~='disabled']) {
762
+ cursor: not-allowed;
763
+ }
764
+ :where([data-ug='tag'][data-size='sm']) {
765
+ min-height: calc(var(--control-height-sm) * 0.75);
766
+ }
767
+ :where([data-ug='tag'][data-size='default']) {
768
+ min-height: calc(var(--control-height-sm) * 0.875);
769
+ }
770
+ :where([data-ug='tag'][data-variant]) {
771
+ border-image-source: none;
772
+ }
773
+ :where([data-ug='tag'] [data-ug-slot='close']) {
774
+ border-radius: calc(var(--radius-control) * 0.5);
775
+ }
776
+ :where([data-ug='select']) {
777
+ gap: 0.375rem;
778
+ }
779
+ :where([data-ug='select'][data-state~='open'] [data-ug-slot='content']) {
780
+ display: block;
781
+ }
782
+ :where([data-ug='select'][data-state~='invalid'] [data-ug-slot='trigger']) {
783
+ border-color: hsl(var(--danger));
784
+ }
785
+ :where([data-ug='select'][data-state~='disabled'] [data-ug-slot='trigger']) {
786
+ cursor: not-allowed;
787
+ }
788
+ :where([data-ug='select'][data-size='md'] [data-ug-slot='trigger']) {
789
+ min-height: var(--control-height-md);
790
+ }
791
+ :where([data-ug='select'][data-variant='default'] [data-ug-slot='trigger']), :where([data-ug='select'] [data-ug-slot='content']), :where([data-ug='select'] [data-ug-slot='item']) {
792
+ border-radius: var(--radius-control);
793
+ }
794
+ :where([data-ug='select'] [data-ug-slot='content']) {
795
+ background-image: var(--ug-panel-noise-image);
796
+ background-color: var(--ug-panel-surface);
797
+ }
798
+ :where([data-ug='select']:not([data-state~='disabled']):not([data-state~='invalid']) [data-ug-slot='trigger']:hover) {
799
+ border-color: var(--ug-control-border-hover);
800
+ background-color: var(--ug-control-surface-hover);
801
+ }
802
+ :where([data-ug='tabs']) {
803
+ --ug-tabs-gap: 0;
804
+ }
805
+ :where([data-ug='tabs'][data-state='default']) {
806
+ isolation: isolate;
807
+ }
808
+ :where([data-ug='tabs'][data-size='md'] [data-ug-slot='trigger']) {
809
+ min-height: var(--control-height-sm);
810
+ }
811
+ :where([data-ug='tabs'][data-variant='default'] [data-ug-slot='list']) {
812
+ gap: var(--ug-tabs-gap);
813
+ }
814
+ :where([data-ug='tabs'] [data-ug-slot='trigger'][data-state~='selected']) {
815
+ color: hsl(var(--text-primary));
816
+ }
817
+ :where([data-ug='drawer']) {
818
+ --ug-drawer-radius: var(--radius-overlay);
819
+ }
820
+ :where([data-ug='drawer'][data-state='open']) {
821
+ pointer-events: auto;
822
+ }
823
+ :where([data-ug='drawer'][data-size='md'] [data-ug-slot='content']) {
824
+ background-image: var(--ug-panel-noise-image);
825
+ }
826
+ :where([data-ug='drawer'][data-variant='default'] [data-ug-slot='content']) {
827
+ background-blend-mode: normal;
828
+ }
829
+ :where([data-ug='drawer'] [data-ug-slot='header']), :where([data-ug='drawer'] [data-ug-slot='footer']) {
830
+ padding: var(--content-gap);
831
+ }
832
+ :where([data-ug='popover']) {
833
+ --ug-popover-radius: var(--radius-control);
834
+ }
835
+ :where([data-ug='popover'][data-state='open']) {
836
+ pointer-events: auto;
837
+ }
838
+ :where([data-ug='popover'][data-size='md'] [data-ug-slot='content']), :where([data-ug='popover'][data-size='md']) {
839
+ border-radius: var(--ug-popover-radius);
840
+ }
841
+ :where([data-ug='popover'][data-variant='default'] [data-ug-slot='content']), :where([data-ug='popover'][data-variant='default']) {
842
+ background-image: var(--ug-panel-noise-image);
843
+ }
844
+ :where([data-ug='popover'] [data-ug-slot='trigger']) {
845
+ min-width: 0;
846
+ }
847
+ :where([data-ug='tooltip']) {
848
+ --ug-tooltip-radius: var(--radius-control);
849
+ }
850
+ :where([data-ug='tooltip'][data-state='open']) {
851
+ pointer-events: auto;
852
+ }
853
+ :where([data-ug='tooltip'][data-size='md'] [data-ug-slot='content']) {
854
+ border-radius: var(--ug-tooltip-radius);
855
+ }
856
+ :where([data-ug='tooltip'][data-variant='default'] [data-ug-slot='content']) {
857
+ transition-duration: var(--motion-duration-fast);
858
+ }
859
+ :where([data-ug='tooltip'] [data-ug-slot='trigger']) {
860
+ min-width: 0;
861
+ }
862
+ :where([data-ug='dropdown']) {
863
+ --ug-dropdown-radius: var(--radius-control);
864
+ }
865
+ :where([data-ug='dropdown'][data-state='open']) {
866
+ pointer-events: auto;
867
+ }
868
+ :where([data-ug='dropdown'][data-size='md'] [data-ug-slot='content']), :where([data-ug='dropdown'] [data-ug-slot='item']) {
869
+ border-radius: var(--ug-dropdown-radius);
870
+ }
871
+ :where([data-ug='dropdown'][data-variant='default'] [data-ug-slot='content']) {
872
+ background-image: var(--ug-panel-noise-image);
873
+ }
874
+ :where([data-ug='dropdown'] [data-ug-slot='trigger']), :where([data-ug='dropdown'] [data-ug-slot='item']) {
875
+ min-width: 0;
876
+ }
877
+ :where([data-ug='dialog']) {
878
+ --ug-dialog-radius: var(--radius-overlay);
879
+ }
880
+ :where([data-ug='dialog'][data-state='open']) {
881
+ pointer-events: auto;
882
+ }
883
+ :where([data-ug='dialog'][data-size='md'] [data-ug-slot='content']) {
884
+ border-radius: var(--ug-dialog-radius);
885
+ }
886
+ :where([data-ug='dialog'][data-variant] [data-ug-slot='confirm']) {
887
+ min-height: var(--control-height-sm);
888
+ }
889
+ :where([data-ug='dialog'] [data-ug-slot='header']), :where([data-ug='dialog'] [data-ug-slot='footer']) {
890
+ padding: var(--content-gap);
891
+ }
892
+ :where([data-ug='sheet']) {
893
+ --ug-sheet-radius: var(--radius-overlay);
894
+ }
895
+ :where([data-ug='sheet'][data-state='open']) {
896
+ pointer-events: auto;
897
+ }
898
+ :where([data-ug='sheet'][data-size='md'] [data-ug-slot='panel']) {
899
+ background-image: var(--ug-panel-noise-image);
900
+ }
901
+ :where([data-ug='sheet'][data-variant] [data-ug-slot='panel']) {
902
+ background-blend-mode: normal;
903
+ }
904
+ :where([data-ug='sheet'] [data-ug-slot='header']), :where([data-ug='sheet'] [data-ug-slot='body']) {
905
+ padding: var(--content-gap);
906
+ }
907
+ :where([data-ug='context-menu']) {
908
+ --ug-context-menu-radius: var(--radius-control);
909
+ }
910
+ :where([data-ug='context-menu'][data-state='open']) {
911
+ pointer-events: auto;
912
+ }
913
+ :where([data-ug='context-menu'][data-size='md'] [data-ug-slot='content']), :where([data-ug='context-menu'] [data-ug-slot='item']) {
914
+ border-radius: var(--ug-context-menu-radius);
915
+ }
916
+ :where([data-ug='context-menu'][data-variant='default'] [data-ug-slot='content']) {
917
+ background-image: var(--ug-panel-noise-image);
918
+ }
919
+ :where([data-ug='context-menu'] [data-ug-slot='trigger']), :where([data-ug='context-menu'] [data-ug-slot='item']) {
920
+ min-width: 0;
921
+ }
922
+ :where([data-ug='checkbox']) {
923
+ --ug-checkbox-radius: var(--radius-control);
924
+ }
925
+ :where([data-ug='checkbox'][data-state~='disabled']) {
926
+ cursor: not-allowed;
927
+ }
928
+ :where([data-ug='checkbox'][data-size] [data-ug-slot='indicator']) {
929
+ border-radius: var(--ug-checkbox-radius);
930
+ }
931
+ :where([data-ug='checkbox'][data-variant='default'] [data-ug-slot='indicator']) {
932
+ transition-duration: var(--motion-duration-base);
933
+ }
934
+ :where([data-ug='checkbox'][data-state~='unchecked'] [data-ug-slot='indicator']:hover) {
935
+ box-shadow: var(--shadow-sm), inset 0 0 0 1px hsl(var(--primary) / 0.12);
936
+ }
937
+ :where([data-ug='checkbox'] [data-ug-slot='label']) {
938
+ min-width: 0;
939
+ }
940
+ :where([data-ug='switch']) {
941
+ --ug-switch-radius: var(--radius-overlay);
942
+ }
943
+ :where([data-ug='switch'][data-state~='disabled']) {
944
+ cursor: not-allowed;
945
+ }
946
+ :where([data-ug='switch'][data-size='md'] [data-ug-slot='track']), :where([data-ug='switch'][data-size='md'][data-ug-slot='track']) {
947
+ border-radius: var(--ug-switch-radius);
948
+ }
949
+ :where([data-ug='switch'][data-variant='default'] [data-ug-slot='thumb']), :where([data-ug='switch'][data-variant='default'] [data-ug-slot='track']) {
950
+ transition-duration: var(--motion-duration-base);
951
+ transition-timing-function: var(--motion-easing-standard);
952
+ }
953
+ :where([data-ug='switch'] [data-ug-slot='label']) {
954
+ min-width: 0;
955
+ }
956
+ :where([data-ug='slider']) {
957
+ --ug-slider-radius: var(--radius-control);
958
+ --ug-slider-track-size: 0.375rem;
959
+ }
960
+ :where([data-ug='slider'][data-state~='disabled']) {
961
+ cursor: not-allowed;
962
+ }
963
+ :where([data-ug='slider'][data-size='md'] [data-ug-slot='track']), :where([data-ug='slider'][data-size='md'] [data-ug-slot='range']) {
964
+ border-radius: var(--ug-slider-radius);
965
+ }
966
+ :where([data-ug='slider'][data-variant='default'] [data-ug-slot='range']) {
967
+ transition-duration: var(--motion-duration-base);
968
+ }
969
+ :where([data-ug='slider'] [data-ug-slot='input']) {
970
+ min-width: 0;
971
+ }
972
+ :where([data-ug='label']) {
973
+ gap: calc(var(--content-gap) * 0.25);
974
+ }
975
+ :where([data-ug='label'][data-state='required'] [data-ug-slot='marker']) {
976
+ color: hsl(var(--danger));
977
+ }
978
+ :where([data-ug='label'][data-size='md']) {
979
+ min-height: auto;
980
+ }
981
+ :where([data-ug='label'][data-variant='default'] [data-ug-slot='label']) {
982
+ color: hsl(var(--text-primary));
983
+ }
984
+ :where([data-ug='separator']) {
985
+ background-color: hsl(var(--border-base));
986
+ }
987
+ :where([data-ug='separator'][data-state='default']) {
988
+ opacity: 1;
989
+ }
990
+ :where([data-ug='separator'][data-size='md'][data-ug-slot='line']) {
991
+ flex-shrink: 0;
992
+ }
993
+ :where([data-ug='separator'][data-variant='horizontal']), :where([data-ug='separator'][data-variant='vertical']) {
994
+ background-color: hsl(var(--border-base));
995
+ }
996
+ :where([data-ug='spinner']) {
997
+ color: hsl(var(--text-tertiary));
998
+ }
999
+ :where([data-ug='spinner'][data-state='loading']) {
1000
+ animation-duration: var(--motion-duration-slow);
1001
+ }
1002
+ :where([data-ug='spinner'][data-size='md'][data-ug-slot='icon']) {
1003
+ width: calc(var(--control-height-md) * 0.6);
1004
+ height: calc(var(--control-height-md) * 0.6);
1005
+ }
1006
+ :where([data-ug='spinner'][data-variant='default']) {
1007
+ transition-duration: var(--motion-duration-fast);
1008
+ }
1009
+ :where([data-ug='radio']) {
1010
+ gap: calc(var(--content-gap) * 0.625);
1011
+ }
1012
+ :where([data-ug='radio'][data-state~='disabled']) {
1013
+ cursor: not-allowed;
1014
+ }
1015
+ :where([data-ug='radio'][data-size] [data-ug-slot='indicator']) {
1016
+ border-radius: var(--radius-overlay);
1017
+ }
1018
+ :where([data-ug='radio'][data-variant='default'] [data-ug-slot='indicator']) {
1019
+ transition-duration: var(--motion-duration-base);
1020
+ }
1021
+ :where([data-ug='radio'] [data-ug-slot='label']) {
1022
+ min-width: 0;
1023
+ }
1024
+ :where([data-ug='otp-input']) {
1025
+ gap: calc(var(--content-gap) * 0.5);
1026
+ }
1027
+ :where([data-ug='otp-input'][data-state='complete'] [data-ug-slot='cell']) {
1028
+ border-color: hsl(var(--border-strong));
1029
+ }
1030
+ :where([data-ug='otp-input'][data-size='md'] [data-ug-slot='cell']) {
1031
+ width: var(--control-height-md);
1032
+ height: var(--control-height-md);
1033
+ border-radius: var(--radius-control);
1034
+ }
1035
+ :where([data-ug='otp-input'][data-variant='default'] [data-ug-slot='cell']) {
1036
+ transition-duration: var(--motion-duration-base);
1037
+ }
1038
+ :where([data-ug='descriptions']) {
1039
+ gap: var(--content-gap);
1040
+ }
1041
+ :where([data-ug='descriptions'][data-state='default']) {
1042
+ isolation: isolate;
1043
+ }
1044
+ :where([data-ug='descriptions'][data-size='default'] [data-ug-slot='panel']) {
1045
+ border-radius: var(--radius-panel);
1046
+ }
1047
+ :where([data-ug='descriptions'][data-variant='bordered'] [data-ug-slot='panel']) {
1048
+ background-image: var(--ug-panel-noise-image);
1049
+ }
1050
+ :where([data-ug='descriptions'] [data-ug-slot='label']), :where([data-ug='descriptions'] [data-ug-slot='value']) {
1051
+ min-width: 0;
1052
+ }
1053
+ :where([data-ug='statistic']) {
1054
+ gap: calc(var(--content-gap) * 0.25);
1055
+ }
1056
+ :where([data-ug='statistic'][data-state='up'] [data-ug-slot='change']) {
1057
+ color: hsl(var(--success));
1058
+ }
1059
+ :where([data-ug='statistic'][data-size='default'] [data-ug-slot='value']) {
1060
+ color: hsl(var(--text-primary));
1061
+ }
1062
+ :where([data-ug='statistic'][data-variant='default'] [data-ug-slot='title']) {
1063
+ color: hsl(var(--text-secondary));
1064
+ }
1065
+ :where([data-ug='statistic'] [data-ug-slot='value-row']) {
1066
+ min-width: 0;
1067
+ }
1068
+ :where([data-ug='avatar-group']) {
1069
+ isolation: isolate;
1070
+ }
1071
+ :where([data-ug='avatar-group'][data-state='overflow'] [data-ug-slot='overflow']) {
1072
+ color: hsl(var(--text-secondary));
1073
+ }
1074
+ :where([data-ug='avatar-group'][data-size] [data-ug-slot='item']), :where([data-ug='avatar-group'][data-size] [data-ug-slot='overflow']) {
1075
+ border-radius: calc(var(--radius-overlay) * 999);
1076
+ }
1077
+ :where([data-ug='avatar-group'][data-variant='default'] [data-ug-slot='item']) {
1078
+ background-color: hsl(var(--surface-2));
1079
+ }
1080
+ :where([data-ug='avatar-group'] [data-ug-slot='overflow']) {
1081
+ flex-shrink: 0;
1082
+ }
1083
+ :where([data-ug='admin-shell']) {
1084
+ min-height: 100%;
1085
+ background-color: hsl(var(--surface-0));
1086
+ }
1087
+ :where([data-ug='admin-shell'][data-state='mobile-open']) {
1088
+ isolation: isolate;
1089
+ }
1090
+ :where([data-ug='admin-shell'][data-size='md'] [data-ug-slot='topbar']) {
1091
+ min-height: var(--control-height-lg);
1092
+ }
1093
+ :where([data-ug='admin-shell'][data-variant] [data-ug-slot='content']) {
1094
+ padding-block: var(--section-gap);
1095
+ }
1096
+ :where([data-ug='admin-shell'] [data-ug-slot='sidebar']), :where([data-ug='admin-shell'] [data-ug-slot='main']) {
1097
+ min-width: 0;
1098
+ }
1099
+ :where([data-ug='page-header']) {
1100
+ gap: var(--content-gap);
1101
+ }
1102
+ :where([data-ug='page-header'][data-state='default']) {
1103
+ isolation: isolate;
1104
+ }
1105
+ :where([data-ug='page-header'][data-size='md']) {
1106
+ padding-block-end: var(--content-gap);
1107
+ }
1108
+ :where([data-ug='page-header'][data-variant='default'] [data-ug-slot='title']) {
1109
+ color: hsl(var(--text-primary));
1110
+ }
1111
+ :where([data-ug='page-header'] [data-ug-slot='content']), :where([data-ug='page-header'] [data-ug-slot='actions']) {
1112
+ min-width: 0;
1113
+ }
1114
+ :where([data-ug='copy-field']) {
1115
+ gap: calc(var(--content-gap) * 0.5);
1116
+ }
1117
+ :where([data-ug='copy-field'][data-state='copied'] [data-ug-slot='button']) {
1118
+ border-color: hsl(var(--success));
1119
+ }
1120
+ :where([data-ug='copy-field'][data-size='md'] [data-ug-slot='field']) {
1121
+ min-height: var(--control-height-md);
1122
+ }
1123
+ :where([data-ug='copy-field'][data-variant='monospace'] [data-ug-slot='value']) {
1124
+ font-family: var(--font-mono);
1125
+ }
1126
+ :where([data-ug='copy-field'] [data-ug-slot='field']) {
1127
+ border-radius: var(--radius-control);
1128
+ }
1129
+ :where([data-ug='confirm-dialog']) {
1130
+ --ug-confirm-dialog-radius: var(--radius-overlay);
1131
+ }
1132
+ :where([data-ug='confirm-dialog'][data-state='open']) {
1133
+ pointer-events: auto;
1134
+ }
1135
+ :where([data-ug='confirm-dialog'][data-size='md']) {
1136
+ border-radius: var(--ug-confirm-dialog-radius);
1137
+ }
1138
+ :where([data-ug='confirm-dialog'][data-variant] [data-ug-slot='icon']) {
1139
+ border-radius: var(--radius-control);
1140
+ }
1141
+ :where([data-ug='confirm-dialog'] [data-ug-slot='header']), :where([data-ug='confirm-dialog'] [data-ug-slot='body']), :where([data-ug='confirm-dialog'] [data-ug-slot='footer']) {
1142
+ padding: var(--content-gap);
1143
+ }
1144
+ :where([data-ug='landing-hero']) {
1145
+ isolation: isolate;
1146
+ }
1147
+ :where([data-ug='landing-hero'][data-state='default']) {
1148
+ background-color: hsl(var(--surface-0));
1149
+ }
1150
+ :where([data-ug='landing-hero'][data-size='md'] [data-ug-slot='container']) {
1151
+ min-height: calc(var(--section-gap) * 7);
1152
+ }
1153
+ :where([data-ug='landing-hero'][data-variant='media'] [data-ug-slot='overlay']) {
1154
+ background-color: hsl(var(--overlay) / var(--overlay-alpha));
1155
+ }
1156
+ :where([data-ug='landing-hero'] [data-ug-slot='content']), :where([data-ug='landing-hero'] [data-ug-slot='stat']) {
1157
+ min-width: 0;
1158
+ }
1159
+ :where([data-ug='feature-grid']) {
1160
+ background-color: hsl(var(--surface-0));
1161
+ }
1162
+ :where([data-ug='feature-grid'][data-state='default']) {
1163
+ isolation: isolate;
1164
+ }
1165
+ :where([data-ug='feature-grid'][data-size='md'] [data-ug-slot='item']) {
1166
+ border-radius: var(--radius-panel);
1167
+ }
1168
+ :where([data-ug='feature-grid'][data-variant] [data-ug-slot='icon']) {
1169
+ border-radius: var(--radius-control);
1170
+ }
1171
+ :where([data-ug='feature-grid'] [data-ug-slot='grid']), :where([data-ug='feature-grid'] [data-ug-slot='item']) {
1172
+ min-width: 0;
1173
+ }
1174
+ :where([data-ug='file-preview']) {
1175
+ border-radius: var(--radius-panel);
1176
+ background-image: var(--ug-panel-noise-image);
1177
+ }
1178
+ :where([data-ug='file-preview'][data-state='loading'] [data-ug-slot='icon']) {
1179
+ color: hsl(var(--primary));
1180
+ }
1181
+ :where([data-ug='file-preview'][data-size='md'] [data-ug-slot='icon']) {
1182
+ width: var(--control-height-lg);
1183
+ height: var(--control-height-lg);
1184
+ }
1185
+ :where([data-ug='file-preview'][data-variant='image'] [data-ug-slot='preview']) {
1186
+ border-radius: var(--radius-control);
1187
+ }
1188
+ :where([data-ug='file-preview'] [data-ug-slot='content']), :where([data-ug='file-preview'] [data-ug-slot='action']) {
1189
+ min-width: 0;
1190
+ }
1191
+ :where([data-ug='model-card']) {
1192
+ border-radius: var(--radius-panel);
1193
+ background-image: var(--ug-panel-noise-image);
1194
+ }
1195
+ :where([data-ug='model-card'][data-state='disabled']) {
1196
+ cursor: not-allowed;
1197
+ }
1198
+ :where([data-ug='model-card'][data-size='md'] [data-ug-slot='icon']) {
1199
+ width: var(--control-height-lg);
1200
+ height: var(--control-height-lg);
1201
+ }
1202
+ :where([data-ug='model-card'][data-variant='featured']) {
1203
+ border-color: hsl(var(--primary) / 0.35);
1204
+ }
1205
+ :where([data-ug='model-card'] [data-ug-slot='header']), :where([data-ug='model-card'] [data-ug-slot='metric']) {
1206
+ min-width: 0;
1207
+ }
1208
+ :where( [data-ug='button'], [data-ug='input'] [data-ug-slot='wrapper'], [data-ug='select'] [data-ug-slot='trigger'], [data-ug='checkbox'] [data-ug-slot='indicator'], [data-ug='radio'] [data-ug-slot='indicator'], [data-ug='switch'] [data-ug-slot='track'], [data-ug='switch'][data-ug-slot='track'] ) {
1209
+ border-width: var(--control-border-width);
1210
+ }
1211
+ :where( [data-ug='input'] [data-ug-slot='wrapper'], [data-ug='select'] [data-ug-slot='trigger'], [data-ug='checkbox'] [data-ug-slot='indicator'], [data-ug='radio'] [data-ug-slot='indicator'], [data-ug='switch'] [data-ug-slot='track'], [data-ug='switch'][data-ug-slot='track'] ) {
1212
+ border-color: var(--ug-control-border);
1213
+ }
1214
+ :where( [data-ug='checkbox'][data-state~='unchecked'] [data-ug-slot='indicator'], [data-ug='radio'][data-state~='unchecked'] [data-ug-slot='indicator'], [data-ug='switch']:not([data-state~='checked']) [data-ug-slot='track'], [data-ug='switch'][data-ug-slot='track']:not([data-state~='checked']) ) {
1215
+ background-color: var(--ug-control-surface);
1216
+ }
1217
+ :where( [data-ug='select']:not([data-state~='disabled']) [data-ug-slot='trigger'], [data-ug='checkbox']:not([data-state~='disabled']) [data-ug-slot='indicator'], [data-ug='radio']:not([data-state~='disabled']) [data-ug-slot='indicator'], [data-ug='switch']:not([data-state~='disabled']) [data-ug-slot='track'], [data-ug='switch'][data-ug-slot='track']:not([data-state~='disabled']) ) {
1218
+ will-change: transform, box-shadow, border-color, background-color;
1219
+ }
1220
+ :where( [data-ug='select']:not([data-state~='disabled']) [data-ug-slot='trigger']:active, [data-ug='checkbox']:not([data-state~='disabled']) [data-ug-slot='indicator']:active, [data-ug='radio']:not([data-state~='disabled']) [data-ug-slot='indicator']:active, [data-ug='switch']:not([data-state~='disabled']) [data-ug-slot='track']:active, [data-ug='switch'][data-ug-slot='track']:not([data-state~='disabled']):active ) {
1221
+ transform: translateY(1px);
1222
+ }
1223
+ :where( [data-ug='input'] [data-ug-slot='wrapper']:focus-within, [data-ug='select'] [data-ug-slot='trigger']:focus-visible, [data-ug='checkbox'] [data-ug-slot='input']:focus-visible + [data-ug-slot='indicator'], [data-ug='radio'] [data-ug-slot='input']:focus-visible + [data-ug-slot='indicator'], [data-ug='switch'] [data-ug-slot='track']:focus-visible, [data-ug='switch'][data-ug-slot='track']:focus-visible ) {
1224
+ box-shadow: var(--ug-focus-ring-shadow);
1225
+ }
1226
+ }
1227
+ @media (prefers-reduced-motion: reduce) {
1228
+ :root {
1229
+ --motion-duration-fast: 1ms;
1230
+ --motion-duration-base: 1ms;
1231
+ --motion-duration-slow: 1ms;
1232
+ }
1233
+ }
1234
+ :root, :host {
1235
+ --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
1236
+ --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
1237
+ --shadow-sm: 0 1px 2px 0 hsl(var(--shadow-color) / 0.08);
1238
+ --shadow-md: 0 8px 20px -16px hsl(var(--shadow-color) / 0.24), 0 2px 8px -6px hsl(var(--shadow-color) / 0.16);
1239
+ --shadow-lg: 0 20px 42px -28px hsl(var(--shadow-color) / 0.34), 0 8px 20px -18px hsl(var(--shadow-color) / 0.22);
1240
+ --shadow-xl: 0 28px 56px -32px hsl(var(--shadow-color) / 0.42), 0 12px 28px -24px hsl(var(--shadow-color) / 0.26);
1241
+ }