@zhin.js/console-ui 0.0.0-stage → 1.1.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 (129) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/LICENSE +21 -0
  3. package/README.md +195 -2
  4. package/audit/index.mjs +21 -0
  5. package/audit/layout-audit.mjs +492 -0
  6. package/audit/mount-page.jsx +90 -0
  7. package/audit/plugin-pages.mjs +186 -0
  8. package/dist/cn.d.ts +4 -0
  9. package/dist/cn.js +6 -0
  10. package/dist/components/BrandMark.d.ts +16 -0
  11. package/dist/components/BrandMark.js +21 -0
  12. package/dist/components/InfoHint.d.ts +12 -0
  13. package/dist/components/InfoHint.js +13 -0
  14. package/dist/components/PageHeader.d.ts +18 -0
  15. package/dist/components/PageHeader.js +11 -0
  16. package/dist/components/PageShell.d.ts +26 -0
  17. package/dist/components/PageShell.js +10 -0
  18. package/dist/components/RefreshControl.d.ts +28 -0
  19. package/dist/components/RefreshControl.js +68 -0
  20. package/dist/components/StatCard.d.ts +41 -0
  21. package/dist/components/StatCard.js +53 -0
  22. package/dist/components/StatusBadge.d.ts +14 -0
  23. package/dist/components/StatusBadge.js +19 -0
  24. package/dist/components/actions.d.ts +53 -0
  25. package/dist/components/actions.js +50 -0
  26. package/dist/components/code.d.ts +11 -0
  27. package/dist/components/code.js +10 -0
  28. package/dist/components/confirm-dialog-model.d.ts +9 -0
  29. package/dist/components/confirm-dialog-model.js +20 -0
  30. package/dist/components/confirm-dialog.d.ts +32 -0
  31. package/dist/components/confirm-dialog.js +72 -0
  32. package/dist/components/content-blocks.d.ts +141 -0
  33. package/dist/components/content-blocks.js +77 -0
  34. package/dist/components/empty-illustrations.d.ts +15 -0
  35. package/dist/components/empty-illustrations.js +36 -0
  36. package/dist/components/empty-state.d.ts +35 -0
  37. package/dist/components/empty-state.js +43 -0
  38. package/dist/components/error-alert.d.ts +15 -0
  39. package/dist/components/error-alert.js +23 -0
  40. package/dist/components/icon.d.ts +11 -0
  41. package/dist/components/icon.js +8 -0
  42. package/dist/components/layout.d.ts +38 -0
  43. package/dist/components/layout.js +28 -0
  44. package/dist/components/page-chrome.d.ts +53 -0
  45. package/dist/components/page-chrome.js +66 -0
  46. package/dist/components/refresh-control-model.d.ts +9 -0
  47. package/dist/components/refresh-control-model.js +26 -0
  48. package/dist/components/ui/accordion.d.ts +7 -0
  49. package/dist/components/ui/accordion.js +15 -0
  50. package/dist/components/ui/alert.d.ts +8 -0
  51. package/dist/components/ui/alert.js +24 -0
  52. package/dist/components/ui/badge.d.ts +9 -0
  53. package/dist/components/ui/badge.js +30 -0
  54. package/dist/components/ui/button.d.ts +20 -0
  55. package/dist/components/ui/button.js +52 -0
  56. package/dist/components/ui/card.d.ts +17 -0
  57. package/dist/components/ui/card.js +17 -0
  58. package/dist/components/ui/checkbox.d.ts +4 -0
  59. package/dist/components/ui/checkbox.js +10 -0
  60. package/dist/components/ui/control-variant.d.ts +10 -0
  61. package/dist/components/ui/control-variant.js +6 -0
  62. package/dist/components/ui/date-field-model.d.ts +39 -0
  63. package/dist/components/ui/date-field-model.js +105 -0
  64. package/dist/components/ui/date-field.d.ts +33 -0
  65. package/dist/components/ui/date-field.js +161 -0
  66. package/dist/components/ui/dialog.d.ts +24 -0
  67. package/dist/components/ui/dialog.js +27 -0
  68. package/dist/components/ui/dropdown-menu.d.ts +19 -0
  69. package/dist/components/ui/dropdown-menu.js +26 -0
  70. package/dist/components/ui/input.d.ts +8 -0
  71. package/dist/components/ui/input.js +9 -0
  72. package/dist/components/ui/list-item-button.d.ts +10 -0
  73. package/dist/components/ui/list-item-button.js +6 -0
  74. package/dist/components/ui/popover.d.ts +6 -0
  75. package/dist/components/ui/popover.js +9 -0
  76. package/dist/components/ui/radio-group.d.ts +5 -0
  77. package/dist/components/ui/radio-group.js +10 -0
  78. package/dist/components/ui/scroll-area.d.ts +5 -0
  79. package/dist/components/ui/scroll-area.js +13 -0
  80. package/dist/components/ui/searchable-select-model.d.ts +29 -0
  81. package/dist/components/ui/searchable-select-model.js +38 -0
  82. package/dist/components/ui/searchable-select.d.ts +26 -0
  83. package/dist/components/ui/searchable-select.js +85 -0
  84. package/dist/components/ui/select.d.ts +29 -0
  85. package/dist/components/ui/select.js +39 -0
  86. package/dist/components/ui/separator.d.ts +4 -0
  87. package/dist/components/ui/separator.js +11 -0
  88. package/dist/components/ui/sheet.d.ts +27 -0
  89. package/dist/components/ui/sheet.js +27 -0
  90. package/dist/components/ui/skeleton.d.ts +3 -0
  91. package/dist/components/ui/skeleton.js +6 -0
  92. package/dist/components/ui/switch.d.ts +4 -0
  93. package/dist/components/ui/switch.js +8 -0
  94. package/dist/components/ui/table.d.ts +27 -0
  95. package/dist/components/ui/table.js +47 -0
  96. package/dist/components/ui/tabs.d.ts +7 -0
  97. package/dist/components/ui/tabs.js +13 -0
  98. package/dist/components/ui/textarea.d.ts +8 -0
  99. package/dist/components/ui/textarea.js +9 -0
  100. package/dist/components/ui/tooltip.d.ts +7 -0
  101. package/dist/components/ui/tooltip.js +11 -0
  102. package/dist/components/use-container-width.d.ts +13 -0
  103. package/dist/components/use-container-width.js +30 -0
  104. package/dist/custom-media.css +13 -0
  105. package/dist/exports.json +178 -0
  106. package/dist/i18n/index.d.ts +27 -0
  107. package/dist/i18n/index.js +33 -0
  108. package/dist/i18n/messages.d.ts +55 -0
  109. package/dist/i18n/messages.js +110 -0
  110. package/dist/index.d.ts +56 -0
  111. package/dist/index.js +55 -0
  112. package/dist/scale.json +643 -0
  113. package/dist/shared-module.d.ts +28 -0
  114. package/dist/shared-module.js +24 -0
  115. package/dist/styles.css +3399 -0
  116. package/dist/theme.css +469 -0
  117. package/dist/tokens.css +652 -0
  118. package/dist/version.d.ts +6 -0
  119. package/dist/version.js +2 -0
  120. package/lint/eslint-plugin.mjs +128 -0
  121. package/lint/stylelint-config.mjs +43 -0
  122. package/lint/stylelint-plugin.mjs +195 -0
  123. package/lint/tailwind-classes.mjs +121 -0
  124. package/package.json +103 -3
  125. package/tokens/color.mjs +104 -0
  126. package/tokens/colors.css +220 -0
  127. package/tokens/generate.mjs +288 -0
  128. package/tokens/scale.mjs +137 -0
  129. package/tokens/tokens.mjs +362 -0
package/dist/theme.css ADDED
@@ -0,0 +1,469 @@
1
+ /*
2
+ * GENERATED by @zhin.js/console-ui tokens/generate.mjs from tokens/tokens.mjs — do not edit.
3
+ * Tailwind 4 theme (D17): only on-scale keys. Import after `@import "tailwindcss"`.
4
+ */
5
+
6
+ /*
7
+ * Defaults are cleared, then only the scale is offered:
8
+ * p-* / m-* / gap-* / space-* 0, px, 1, 2, 3, 4, 6, 8, 12, 16 (= space-1 … space-8)
9
+ * w / h / size / inset / min / max / translate / basis Tailwind's numeric keys + control, control-compact, touch, badge
10
+ * text-* label, body, section, title, display
11
+ * font-* regular, medium, strong
12
+ * rounded-* 0–4, full + semantic (control, card, badge, popover, dialog, …)
13
+ * shadow-* e1–e3 + semantic (card, card-hover, popover, dialog)
14
+ * breakpoints sm 40rem, md 48rem, lg 64rem, xl 90rem
15
+ * Arbitrary values (p-[…]) are not blocked here; the ESLint rules of @zhin.js/console-ui/eslint are.
16
+ */
17
+ @theme {
18
+ --spacing: initial;
19
+ --spacing-*: initial;
20
+ --text-*: initial;
21
+ --font-weight-*: initial;
22
+ --radius-*: initial;
23
+ --shadow-*: initial;
24
+ --inset-shadow-*: initial;
25
+ --drop-shadow-*: initial;
26
+ --text-shadow-*: initial;
27
+ --breakpoint-*: initial;
28
+ --color-*: initial;
29
+ --breakpoint-sm: 40rem;
30
+ --breakpoint-md: 48rem;
31
+ --breakpoint-lg: 64rem;
32
+ --breakpoint-xl: 90rem;
33
+ }
34
+
35
+ @theme inline {
36
+ --spacing-0: 0rem;
37
+ --spacing-1: var(--console-space-1);
38
+ --spacing-2: var(--console-space-2);
39
+ --spacing-3: var(--console-space-3);
40
+ --spacing-4: var(--console-space-4);
41
+ --spacing-6: var(--console-space-5);
42
+ --spacing-8: var(--console-space-6);
43
+ --spacing-12: var(--console-space-7);
44
+ --spacing-16: var(--console-space-8);
45
+ --width-0: 0rem;
46
+ --width-1: 0.25rem;
47
+ --width-2: 0.5rem;
48
+ --width-3: 0.75rem;
49
+ --width-4: 1rem;
50
+ --width-5: 1.25rem;
51
+ --width-6: 1.5rem;
52
+ --width-7: 1.75rem;
53
+ --width-8: 2rem;
54
+ --width-9: 2.25rem;
55
+ --width-10: 2.5rem;
56
+ --width-11: 2.75rem;
57
+ --width-12: 3rem;
58
+ --width-14: 3.5rem;
59
+ --width-16: 4rem;
60
+ --width-20: 5rem;
61
+ --width-24: 6rem;
62
+ --width-28: 7rem;
63
+ --width-32: 8rem;
64
+ --width-36: 9rem;
65
+ --width-40: 10rem;
66
+ --width-44: 11rem;
67
+ --width-48: 12rem;
68
+ --width-52: 13rem;
69
+ --width-56: 14rem;
70
+ --width-60: 15rem;
71
+ --width-64: 16rem;
72
+ --width-72: 18rem;
73
+ --width-80: 20rem;
74
+ --width-96: 24rem;
75
+ --width-0\.5: 0.125rem;
76
+ --width-1\.5: 0.375rem;
77
+ --width-2\.5: 0.625rem;
78
+ --width-3\.5: 0.875rem;
79
+ --width-control: var(--console-control-height);
80
+ --width-control-compact: var(--console-control-height-compact);
81
+ --width-touch: var(--console-touch-target);
82
+ --width-touch-min: var(--console-touch-min);
83
+ --width-badge: var(--console-badge-height);
84
+ --height-0: 0rem;
85
+ --height-1: 0.25rem;
86
+ --height-2: 0.5rem;
87
+ --height-3: 0.75rem;
88
+ --height-4: 1rem;
89
+ --height-5: 1.25rem;
90
+ --height-6: 1.5rem;
91
+ --height-7: 1.75rem;
92
+ --height-8: 2rem;
93
+ --height-9: 2.25rem;
94
+ --height-10: 2.5rem;
95
+ --height-11: 2.75rem;
96
+ --height-12: 3rem;
97
+ --height-14: 3.5rem;
98
+ --height-16: 4rem;
99
+ --height-20: 5rem;
100
+ --height-24: 6rem;
101
+ --height-28: 7rem;
102
+ --height-32: 8rem;
103
+ --height-36: 9rem;
104
+ --height-40: 10rem;
105
+ --height-44: 11rem;
106
+ --height-48: 12rem;
107
+ --height-52: 13rem;
108
+ --height-56: 14rem;
109
+ --height-60: 15rem;
110
+ --height-64: 16rem;
111
+ --height-72: 18rem;
112
+ --height-80: 20rem;
113
+ --height-96: 24rem;
114
+ --height-0\.5: 0.125rem;
115
+ --height-1\.5: 0.375rem;
116
+ --height-2\.5: 0.625rem;
117
+ --height-3\.5: 0.875rem;
118
+ --height-control: var(--console-control-height);
119
+ --height-control-compact: var(--console-control-height-compact);
120
+ --height-touch: var(--console-touch-target);
121
+ --height-touch-min: var(--console-touch-min);
122
+ --height-badge: var(--console-badge-height);
123
+ --size-0: 0rem;
124
+ --size-1: 0.25rem;
125
+ --size-2: 0.5rem;
126
+ --size-3: 0.75rem;
127
+ --size-4: 1rem;
128
+ --size-5: 1.25rem;
129
+ --size-6: 1.5rem;
130
+ --size-7: 1.75rem;
131
+ --size-8: 2rem;
132
+ --size-9: 2.25rem;
133
+ --size-10: 2.5rem;
134
+ --size-11: 2.75rem;
135
+ --size-12: 3rem;
136
+ --size-14: 3.5rem;
137
+ --size-16: 4rem;
138
+ --size-20: 5rem;
139
+ --size-24: 6rem;
140
+ --size-28: 7rem;
141
+ --size-32: 8rem;
142
+ --size-36: 9rem;
143
+ --size-40: 10rem;
144
+ --size-44: 11rem;
145
+ --size-48: 12rem;
146
+ --size-52: 13rem;
147
+ --size-56: 14rem;
148
+ --size-60: 15rem;
149
+ --size-64: 16rem;
150
+ --size-72: 18rem;
151
+ --size-80: 20rem;
152
+ --size-96: 24rem;
153
+ --size-0\.5: 0.125rem;
154
+ --size-1\.5: 0.375rem;
155
+ --size-2\.5: 0.625rem;
156
+ --size-3\.5: 0.875rem;
157
+ --size-control: var(--console-control-height);
158
+ --size-control-compact: var(--console-control-height-compact);
159
+ --size-touch: var(--console-touch-target);
160
+ --size-touch-min: var(--console-touch-min);
161
+ --size-badge: var(--console-badge-height);
162
+ --min-width-0: 0rem;
163
+ --min-width-1: 0.25rem;
164
+ --min-width-2: 0.5rem;
165
+ --min-width-3: 0.75rem;
166
+ --min-width-4: 1rem;
167
+ --min-width-5: 1.25rem;
168
+ --min-width-6: 1.5rem;
169
+ --min-width-7: 1.75rem;
170
+ --min-width-8: 2rem;
171
+ --min-width-9: 2.25rem;
172
+ --min-width-10: 2.5rem;
173
+ --min-width-11: 2.75rem;
174
+ --min-width-12: 3rem;
175
+ --min-width-14: 3.5rem;
176
+ --min-width-16: 4rem;
177
+ --min-width-20: 5rem;
178
+ --min-width-24: 6rem;
179
+ --min-width-28: 7rem;
180
+ --min-width-32: 8rem;
181
+ --min-width-36: 9rem;
182
+ --min-width-40: 10rem;
183
+ --min-width-44: 11rem;
184
+ --min-width-48: 12rem;
185
+ --min-width-52: 13rem;
186
+ --min-width-56: 14rem;
187
+ --min-width-60: 15rem;
188
+ --min-width-64: 16rem;
189
+ --min-width-72: 18rem;
190
+ --min-width-80: 20rem;
191
+ --min-width-96: 24rem;
192
+ --min-width-0\.5: 0.125rem;
193
+ --min-width-1\.5: 0.375rem;
194
+ --min-width-2\.5: 0.625rem;
195
+ --min-width-3\.5: 0.875rem;
196
+ --min-width-control: var(--console-control-height);
197
+ --min-width-control-compact: var(--console-control-height-compact);
198
+ --min-width-touch: var(--console-touch-target);
199
+ --min-width-touch-min: var(--console-touch-min);
200
+ --min-width-badge: var(--console-badge-height);
201
+ --max-width-0: 0rem;
202
+ --max-width-1: 0.25rem;
203
+ --max-width-2: 0.5rem;
204
+ --max-width-3: 0.75rem;
205
+ --max-width-4: 1rem;
206
+ --max-width-5: 1.25rem;
207
+ --max-width-6: 1.5rem;
208
+ --max-width-7: 1.75rem;
209
+ --max-width-8: 2rem;
210
+ --max-width-9: 2.25rem;
211
+ --max-width-10: 2.5rem;
212
+ --max-width-11: 2.75rem;
213
+ --max-width-12: 3rem;
214
+ --max-width-14: 3.5rem;
215
+ --max-width-16: 4rem;
216
+ --max-width-20: 5rem;
217
+ --max-width-24: 6rem;
218
+ --max-width-28: 7rem;
219
+ --max-width-32: 8rem;
220
+ --max-width-36: 9rem;
221
+ --max-width-40: 10rem;
222
+ --max-width-44: 11rem;
223
+ --max-width-48: 12rem;
224
+ --max-width-52: 13rem;
225
+ --max-width-56: 14rem;
226
+ --max-width-60: 15rem;
227
+ --max-width-64: 16rem;
228
+ --max-width-72: 18rem;
229
+ --max-width-80: 20rem;
230
+ --max-width-96: 24rem;
231
+ --max-width-0\.5: 0.125rem;
232
+ --max-width-1\.5: 0.375rem;
233
+ --max-width-2\.5: 0.625rem;
234
+ --max-width-3\.5: 0.875rem;
235
+ --max-width-control: var(--console-control-height);
236
+ --max-width-control-compact: var(--console-control-height-compact);
237
+ --max-width-touch: var(--console-touch-target);
238
+ --max-width-touch-min: var(--console-touch-min);
239
+ --max-width-badge: var(--console-badge-height);
240
+ --inset-0: 0rem;
241
+ --inset-1: 0.25rem;
242
+ --inset-2: 0.5rem;
243
+ --inset-3: 0.75rem;
244
+ --inset-4: 1rem;
245
+ --inset-5: 1.25rem;
246
+ --inset-6: 1.5rem;
247
+ --inset-7: 1.75rem;
248
+ --inset-8: 2rem;
249
+ --inset-9: 2.25rem;
250
+ --inset-10: 2.5rem;
251
+ --inset-11: 2.75rem;
252
+ --inset-12: 3rem;
253
+ --inset-14: 3.5rem;
254
+ --inset-16: 4rem;
255
+ --inset-20: 5rem;
256
+ --inset-24: 6rem;
257
+ --inset-28: 7rem;
258
+ --inset-32: 8rem;
259
+ --inset-36: 9rem;
260
+ --inset-40: 10rem;
261
+ --inset-44: 11rem;
262
+ --inset-48: 12rem;
263
+ --inset-52: 13rem;
264
+ --inset-56: 14rem;
265
+ --inset-60: 15rem;
266
+ --inset-64: 16rem;
267
+ --inset-72: 18rem;
268
+ --inset-80: 20rem;
269
+ --inset-96: 24rem;
270
+ --inset-0\.5: 0.125rem;
271
+ --inset-1\.5: 0.375rem;
272
+ --inset-2\.5: 0.625rem;
273
+ --inset-3\.5: 0.875rem;
274
+ --inset-control: var(--console-control-height);
275
+ --inset-control-compact: var(--console-control-height-compact);
276
+ --inset-touch: var(--console-touch-target);
277
+ --inset-touch-min: var(--console-touch-min);
278
+ --inset-badge: var(--console-badge-height);
279
+ --translate-0: 0rem;
280
+ --translate-1: 0.25rem;
281
+ --translate-2: 0.5rem;
282
+ --translate-3: 0.75rem;
283
+ --translate-4: 1rem;
284
+ --translate-5: 1.25rem;
285
+ --translate-6: 1.5rem;
286
+ --translate-7: 1.75rem;
287
+ --translate-8: 2rem;
288
+ --translate-9: 2.25rem;
289
+ --translate-10: 2.5rem;
290
+ --translate-11: 2.75rem;
291
+ --translate-12: 3rem;
292
+ --translate-14: 3.5rem;
293
+ --translate-16: 4rem;
294
+ --translate-20: 5rem;
295
+ --translate-24: 6rem;
296
+ --translate-28: 7rem;
297
+ --translate-32: 8rem;
298
+ --translate-36: 9rem;
299
+ --translate-40: 10rem;
300
+ --translate-44: 11rem;
301
+ --translate-48: 12rem;
302
+ --translate-52: 13rem;
303
+ --translate-56: 14rem;
304
+ --translate-60: 15rem;
305
+ --translate-64: 16rem;
306
+ --translate-72: 18rem;
307
+ --translate-80: 20rem;
308
+ --translate-96: 24rem;
309
+ --translate-0\.5: 0.125rem;
310
+ --translate-1\.5: 0.375rem;
311
+ --translate-2\.5: 0.625rem;
312
+ --translate-3\.5: 0.875rem;
313
+ --translate-control: var(--console-control-height);
314
+ --translate-control-compact: var(--console-control-height-compact);
315
+ --translate-touch: var(--console-touch-target);
316
+ --translate-touch-min: var(--console-touch-min);
317
+ --translate-badge: var(--console-badge-height);
318
+ --flex-basis-0: 0rem;
319
+ --flex-basis-1: 0.25rem;
320
+ --flex-basis-2: 0.5rem;
321
+ --flex-basis-3: 0.75rem;
322
+ --flex-basis-4: 1rem;
323
+ --flex-basis-5: 1.25rem;
324
+ --flex-basis-6: 1.5rem;
325
+ --flex-basis-7: 1.75rem;
326
+ --flex-basis-8: 2rem;
327
+ --flex-basis-9: 2.25rem;
328
+ --flex-basis-10: 2.5rem;
329
+ --flex-basis-11: 2.75rem;
330
+ --flex-basis-12: 3rem;
331
+ --flex-basis-14: 3.5rem;
332
+ --flex-basis-16: 4rem;
333
+ --flex-basis-20: 5rem;
334
+ --flex-basis-24: 6rem;
335
+ --flex-basis-28: 7rem;
336
+ --flex-basis-32: 8rem;
337
+ --flex-basis-36: 9rem;
338
+ --flex-basis-40: 10rem;
339
+ --flex-basis-44: 11rem;
340
+ --flex-basis-48: 12rem;
341
+ --flex-basis-52: 13rem;
342
+ --flex-basis-56: 14rem;
343
+ --flex-basis-60: 15rem;
344
+ --flex-basis-64: 16rem;
345
+ --flex-basis-72: 18rem;
346
+ --flex-basis-80: 20rem;
347
+ --flex-basis-96: 24rem;
348
+ --flex-basis-0\.5: 0.125rem;
349
+ --flex-basis-1\.5: 0.375rem;
350
+ --flex-basis-2\.5: 0.625rem;
351
+ --flex-basis-3\.5: 0.875rem;
352
+ --flex-basis-control: var(--console-control-height);
353
+ --flex-basis-control-compact: var(--console-control-height-compact);
354
+ --flex-basis-touch: var(--console-touch-target);
355
+ --flex-basis-touch-min: var(--console-touch-min);
356
+ --flex-basis-badge: var(--console-badge-height);
357
+ --text-label: var(--console-text-label);
358
+ --text-label--line-height: var(--console-leading-label);
359
+ --text-body: var(--console-text-body);
360
+ --text-body--line-height: var(--console-leading-body);
361
+ --text-section: var(--console-text-section);
362
+ --text-section--line-height: var(--console-leading-section);
363
+ --text-title: var(--console-text-title);
364
+ --text-title--line-height: var(--console-leading-title);
365
+ --text-display: var(--console-text-display);
366
+ --text-display--line-height: var(--console-leading-display);
367
+ --font-weight-regular: var(--console-weight-regular);
368
+ --font-weight-medium: var(--console-weight-medium);
369
+ --font-weight-strong: var(--console-weight-strong);
370
+ --radius-0: var(--console-radius-0);
371
+ --radius-1: var(--console-radius-1);
372
+ --radius-2: var(--console-radius-2);
373
+ --radius-3: var(--console-radius-3);
374
+ --radius-4: var(--console-radius-4);
375
+ --radius-full: var(--console-radius-full);
376
+ --radius-card: var(--console-card-radius);
377
+ --radius-card-edge: var(--console-card-edge-radius);
378
+ --radius-control: var(--console-control-radius);
379
+ --radius-check: var(--console-check-radius);
380
+ --radius-segment: var(--console-segment-radius);
381
+ --radius-badge: var(--console-badge-radius);
382
+ --radius-popover: var(--console-popover-radius);
383
+ --radius-popover-item: var(--console-popover-item-radius);
384
+ --radius-dialog: var(--console-dialog-radius);
385
+ --radius-sheet: var(--console-sheet-radius);
386
+ --shadow-e1: var(--console-elevation-1);
387
+ --shadow-e2: var(--console-elevation-2);
388
+ --shadow-e3: var(--console-elevation-3);
389
+ --shadow-card: var(--console-card-elevation);
390
+ --shadow-card-hover: var(--console-card-hover-elevation);
391
+ --shadow-popover: var(--console-popover-elevation);
392
+ --shadow-dialog: var(--console-dialog-elevation);
393
+ --font-sans: var(--console-font-sans);
394
+ --font-mono: var(--console-font-mono);
395
+ --color-border: hsl(var(--border));
396
+ --color-input: hsl(var(--input));
397
+ --color-ring: hsl(var(--ring));
398
+ --color-background: hsl(var(--background));
399
+ --color-foreground: hsl(var(--foreground));
400
+ --color-primary: hsl(var(--primary));
401
+ --color-primary-foreground: hsl(var(--primary-foreground));
402
+ --color-primary-action: hsl(var(--primary-action));
403
+ --color-primary-action-foreground: hsl(var(--primary-action-foreground));
404
+ --color-primary-action-border: hsl(var(--primary-action-border));
405
+ --color-secondary: hsl(var(--secondary));
406
+ --color-secondary-foreground: hsl(var(--secondary-foreground));
407
+ --color-destructive: hsl(var(--destructive));
408
+ --color-destructive-foreground: hsl(var(--destructive-foreground));
409
+ --color-muted: hsl(var(--muted));
410
+ --color-muted-foreground: hsl(var(--muted-foreground));
411
+ --color-accent: hsl(var(--accent));
412
+ --color-accent-foreground: hsl(var(--accent-foreground));
413
+ --color-success: hsl(var(--success));
414
+ --color-success-foreground: hsl(var(--success-foreground));
415
+ --color-warning: hsl(var(--warning));
416
+ --color-warning-foreground: hsl(var(--warning-foreground));
417
+ --color-info: hsl(var(--info));
418
+ --color-info-foreground: hsl(var(--info-foreground));
419
+ --color-popover: hsl(var(--popover));
420
+ --color-popover-foreground: hsl(var(--popover-foreground));
421
+ --color-card: hsl(var(--card));
422
+ --color-card-foreground: hsl(var(--card-foreground));
423
+ --color-selected: hsl(var(--selected));
424
+ --color-selected-foreground: hsl(var(--selected-foreground));
425
+ --color-sidebar: hsl(var(--sidebar));
426
+ --color-sidebar-foreground: hsl(var(--sidebar-foreground));
427
+ --color-sidebar-primary: hsl(var(--sidebar-primary));
428
+ --color-sidebar-primary-foreground: hsl(var(--sidebar-primary-foreground));
429
+ --color-sidebar-accent: hsl(var(--sidebar-accent));
430
+ --color-sidebar-accent-foreground: hsl(var(--sidebar-accent-foreground));
431
+ --color-sidebar-border: hsl(var(--sidebar-border));
432
+ --color-sidebar-ring: hsl(var(--sidebar-ring));
433
+ --color-brand: hsl(var(--console-brand));
434
+ --color-brand-foreground: hsl(var(--console-brand-foreground));
435
+ --color-brand-text: hsl(var(--console-brand-text));
436
+ --color-brand-tint: hsl(var(--console-brand-tint));
437
+ --color-signal-danger-fill: hsl(var(--console-signal-danger-fill));
438
+ --color-signal-danger-text: hsl(var(--console-signal-danger-text));
439
+ --color-signal-warning-fill: hsl(var(--console-signal-warning-fill));
440
+ --color-signal-warning-text: hsl(var(--console-signal-warning-text));
441
+ --color-signal-success-fill: hsl(var(--console-signal-success-fill));
442
+ --color-signal-success-text: hsl(var(--console-signal-success-text));
443
+ --color-signal-info-fill: hsl(var(--console-signal-info-fill));
444
+ --color-signal-info-text: hsl(var(--console-signal-info-text));
445
+ --color-chart-1: hsl(var(--console-chart-1));
446
+ --color-chart-2: hsl(var(--console-chart-2));
447
+ --color-chart-3: hsl(var(--console-chart-3));
448
+ --color-chart-4: hsl(var(--console-chart-4));
449
+ --color-chart-5: hsl(var(--console-chart-5));
450
+ --color-chart-6: hsl(var(--console-chart-6));
451
+ --color-chart-7: hsl(var(--console-chart-7));
452
+ --color-chart-8: hsl(var(--console-chart-8));
453
+ --color-chart-other: hsl(var(--console-chart-other));
454
+ --default-transition-duration: var(--console-motion-fast);
455
+ --default-transition-timing-function: var(--console-ease-out);
456
+ --animate-accordion-down: accordion-down var(--console-motion-base) var(--console-ease-out);
457
+ --animate-accordion-up: accordion-up var(--console-motion-base) var(--console-ease-out);
458
+
459
+ @keyframes accordion-down {
460
+ from { height: 0; }
461
+ to { height: var(--radix-accordion-content-height); }
462
+ }
463
+ @keyframes accordion-up {
464
+ from { height: var(--radix-accordion-content-height); }
465
+ to { height: 0; }
466
+ }
467
+ }
468
+
469
+ @custom-variant dark (&:where(.dark, .dark *));