@vadem/ui 0.0.0-stage → 0.0.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 (289) hide show
  1. package/LICENSE-lucide.txt +43 -0
  2. package/README.md +19 -2
  3. package/fesm2022/vadem-ui-accordion.mjs +139 -0
  4. package/fesm2022/vadem-ui-accordion.mjs.map +1 -0
  5. package/fesm2022/vadem-ui-active-filters.mjs +355 -0
  6. package/fesm2022/vadem-ui-active-filters.mjs.map +1 -0
  7. package/fesm2022/vadem-ui-alert-dialog.mjs +433 -0
  8. package/fesm2022/vadem-ui-alert-dialog.mjs.map +1 -0
  9. package/fesm2022/vadem-ui-alert.mjs +266 -0
  10. package/fesm2022/vadem-ui-alert.mjs.map +1 -0
  11. package/fesm2022/vadem-ui-autocomplete.mjs +715 -0
  12. package/fesm2022/vadem-ui-autocomplete.mjs.map +1 -0
  13. package/fesm2022/vadem-ui-avatar.mjs +219 -0
  14. package/fesm2022/vadem-ui-avatar.mjs.map +1 -0
  15. package/fesm2022/vadem-ui-badge.mjs +86 -0
  16. package/fesm2022/vadem-ui-badge.mjs.map +1 -0
  17. package/fesm2022/vadem-ui-breadcrumbs.mjs +61 -0
  18. package/fesm2022/vadem-ui-breadcrumbs.mjs.map +1 -0
  19. package/fesm2022/vadem-ui-button.mjs +220 -0
  20. package/fesm2022/vadem-ui-button.mjs.map +1 -0
  21. package/fesm2022/vadem-ui-calendar.mjs +1314 -0
  22. package/fesm2022/vadem-ui-calendar.mjs.map +1 -0
  23. package/fesm2022/vadem-ui-card.mjs +271 -0
  24. package/fesm2022/vadem-ui-card.mjs.map +1 -0
  25. package/fesm2022/vadem-ui-character-count.mjs +269 -0
  26. package/fesm2022/vadem-ui-character-count.mjs.map +1 -0
  27. package/fesm2022/vadem-ui-chart.mjs +1984 -0
  28. package/fesm2022/vadem-ui-chart.mjs.map +1 -0
  29. package/fesm2022/vadem-ui-checkbox.mjs +67 -0
  30. package/fesm2022/vadem-ui-checkbox.mjs.map +1 -0
  31. package/fesm2022/vadem-ui-color-picker.mjs +815 -0
  32. package/fesm2022/vadem-ui-color-picker.mjs.map +1 -0
  33. package/fesm2022/vadem-ui-command.mjs +735 -0
  34. package/fesm2022/vadem-ui-command.mjs.map +1 -0
  35. package/fesm2022/vadem-ui-copy-button.mjs +375 -0
  36. package/fesm2022/vadem-ui-copy-button.mjs.map +1 -0
  37. package/fesm2022/vadem-ui-date-range-picker.mjs +1011 -0
  38. package/fesm2022/vadem-ui-date-range-picker.mjs.map +1 -0
  39. package/fesm2022/vadem-ui-description-list.mjs +59 -0
  40. package/fesm2022/vadem-ui-description-list.mjs.map +1 -0
  41. package/fesm2022/vadem-ui-dialog.mjs +587 -0
  42. package/fesm2022/vadem-ui-dialog.mjs.map +1 -0
  43. package/fesm2022/vadem-ui-dropzone.mjs +176 -0
  44. package/fesm2022/vadem-ui-dropzone.mjs.map +1 -0
  45. package/fesm2022/vadem-ui-editable-text.mjs +641 -0
  46. package/fesm2022/vadem-ui-editable-text.mjs.map +1 -0
  47. package/fesm2022/vadem-ui-empty-state.mjs +175 -0
  48. package/fesm2022/vadem-ui-empty-state.mjs.map +1 -0
  49. package/fesm2022/vadem-ui-expandable-text.mjs +244 -0
  50. package/fesm2022/vadem-ui-expandable-text.mjs.map +1 -0
  51. package/fesm2022/vadem-ui-field.mjs +583 -0
  52. package/fesm2022/vadem-ui-field.mjs.map +1 -0
  53. package/fesm2022/vadem-ui-file-preview.mjs +532 -0
  54. package/fesm2022/vadem-ui-file-preview.mjs.map +1 -0
  55. package/fesm2022/vadem-ui-file-size.mjs +83 -0
  56. package/fesm2022/vadem-ui-file-size.mjs.map +1 -0
  57. package/fesm2022/vadem-ui-form-error-summary.mjs +201 -0
  58. package/fesm2022/vadem-ui-form-error-summary.mjs.map +1 -0
  59. package/fesm2022/vadem-ui-icon.mjs +303 -0
  60. package/fesm2022/vadem-ui-icon.mjs.map +1 -0
  61. package/fesm2022/vadem-ui-input.mjs +120 -0
  62. package/fesm2022/vadem-ui-input.mjs.map +1 -0
  63. package/fesm2022/vadem-ui-kbd.mjs +286 -0
  64. package/fesm2022/vadem-ui-kbd.mjs.map +1 -0
  65. package/fesm2022/vadem-ui-keyboard.mjs +105 -0
  66. package/fesm2022/vadem-ui-keyboard.mjs.map +1 -0
  67. package/fesm2022/vadem-ui-locale.mjs +443 -0
  68. package/fesm2022/vadem-ui-locale.mjs.map +1 -0
  69. package/fesm2022/vadem-ui-menu.mjs +637 -0
  70. package/fesm2022/vadem-ui-menu.mjs.map +1 -0
  71. package/fesm2022/vadem-ui-navigation-list.mjs +130 -0
  72. package/fesm2022/vadem-ui-navigation-list.mjs.map +1 -0
  73. package/fesm2022/vadem-ui-number-input.mjs +264 -0
  74. package/fesm2022/vadem-ui-number-input.mjs.map +1 -0
  75. package/fesm2022/vadem-ui-otp-input.mjs +86 -0
  76. package/fesm2022/vadem-ui-otp-input.mjs.map +1 -0
  77. package/fesm2022/vadem-ui-pagination.mjs +353 -0
  78. package/fesm2022/vadem-ui-pagination.mjs.map +1 -0
  79. package/fesm2022/vadem-ui-password-input.mjs +213 -0
  80. package/fesm2022/vadem-ui-password-input.mjs.map +1 -0
  81. package/fesm2022/vadem-ui-popover.mjs +178 -0
  82. package/fesm2022/vadem-ui-popover.mjs.map +1 -0
  83. package/fesm2022/vadem-ui-progress.mjs +331 -0
  84. package/fesm2022/vadem-ui-progress.mjs.map +1 -0
  85. package/fesm2022/vadem-ui-radio.mjs +39 -0
  86. package/fesm2022/vadem-ui-radio.mjs.map +1 -0
  87. package/fesm2022/vadem-ui-range-slider.mjs +561 -0
  88. package/fesm2022/vadem-ui-range-slider.mjs.map +1 -0
  89. package/fesm2022/vadem-ui-rating.mjs +404 -0
  90. package/fesm2022/vadem-ui-rating.mjs.map +1 -0
  91. package/fesm2022/vadem-ui-relative-time.mjs +217 -0
  92. package/fesm2022/vadem-ui-relative-time.mjs.map +1 -0
  93. package/fesm2022/vadem-ui-reorder-list.mjs +601 -0
  94. package/fesm2022/vadem-ui-reorder-list.mjs.map +1 -0
  95. package/fesm2022/vadem-ui-scroll-area.mjs +65 -0
  96. package/fesm2022/vadem-ui-scroll-area.mjs.map +1 -0
  97. package/fesm2022/vadem-ui-search-input.mjs +307 -0
  98. package/fesm2022/vadem-ui-search-input.mjs.map +1 -0
  99. package/fesm2022/vadem-ui-segmented.mjs +297 -0
  100. package/fesm2022/vadem-ui-segmented.mjs.map +1 -0
  101. package/fesm2022/vadem-ui-select.mjs +1462 -0
  102. package/fesm2022/vadem-ui-select.mjs.map +1 -0
  103. package/fesm2022/vadem-ui-sidebar.mjs +493 -0
  104. package/fesm2022/vadem-ui-sidebar.mjs.map +1 -0
  105. package/fesm2022/vadem-ui-skeleton.mjs +106 -0
  106. package/fesm2022/vadem-ui-skeleton.mjs.map +1 -0
  107. package/fesm2022/vadem-ui-slider.mjs +60 -0
  108. package/fesm2022/vadem-ui-slider.mjs.map +1 -0
  109. package/fesm2022/vadem-ui-splitter.mjs +438 -0
  110. package/fesm2022/vadem-ui-splitter.mjs.map +1 -0
  111. package/fesm2022/vadem-ui-stat.mjs +369 -0
  112. package/fesm2022/vadem-ui-stat.mjs.map +1 -0
  113. package/fesm2022/vadem-ui-stepper.mjs +483 -0
  114. package/fesm2022/vadem-ui-stepper.mjs.map +1 -0
  115. package/fesm2022/vadem-ui-switch.mjs +45 -0
  116. package/fesm2022/vadem-ui-switch.mjs.map +1 -0
  117. package/fesm2022/vadem-ui-table.mjs +593 -0
  118. package/fesm2022/vadem-ui-table.mjs.map +1 -0
  119. package/fesm2022/vadem-ui-tabs.mjs +405 -0
  120. package/fesm2022/vadem-ui-tabs.mjs.map +1 -0
  121. package/fesm2022/vadem-ui-tag-input.mjs +685 -0
  122. package/fesm2022/vadem-ui-tag-input.mjs.map +1 -0
  123. package/fesm2022/vadem-ui-text-highlight.mjs +126 -0
  124. package/fesm2022/vadem-ui-text-highlight.mjs.map +1 -0
  125. package/fesm2022/vadem-ui-time-input.mjs +430 -0
  126. package/fesm2022/vadem-ui-time-input.mjs.map +1 -0
  127. package/fesm2022/vadem-ui-timeline.mjs +313 -0
  128. package/fesm2022/vadem-ui-timeline.mjs.map +1 -0
  129. package/fesm2022/vadem-ui-toast.mjs +397 -0
  130. package/fesm2022/vadem-ui-toast.mjs.map +1 -0
  131. package/fesm2022/vadem-ui-toolbar.mjs +396 -0
  132. package/fesm2022/vadem-ui-toolbar.mjs.map +1 -0
  133. package/fesm2022/vadem-ui-tooltip.mjs +218 -0
  134. package/fesm2022/vadem-ui-tooltip.mjs.map +1 -0
  135. package/fesm2022/vadem-ui-tree.mjs +551 -0
  136. package/fesm2022/vadem-ui-tree.mjs.map +1 -0
  137. package/fesm2022/vadem-ui-upload-list.mjs +408 -0
  138. package/fesm2022/vadem-ui-upload-list.mjs.map +1 -0
  139. package/fesm2022/vadem-ui.mjs +4 -0
  140. package/fesm2022/vadem-ui.mjs.map +1 -0
  141. package/fonts/jetbrains-mono/OFL.txt +93 -0
  142. package/fonts/jetbrains-mono/jetbrains-mono-cyrillic.woff2 +0 -0
  143. package/fonts/jetbrains-mono/jetbrains-mono-latin.woff2 +0 -0
  144. package/fonts/manrope/OFL.txt +93 -0
  145. package/fonts/manrope/manrope-cyrillic.woff2 +0 -0
  146. package/fonts/manrope/manrope-latin.woff2 +0 -0
  147. package/package.json +306 -3
  148. package/styles/base.css +160 -0
  149. package/styles/components/accordion.css +130 -0
  150. package/styles/components/active-filters.css +42 -0
  151. package/styles/components/alert-dialog.css +34 -0
  152. package/styles/components/alert.css +159 -0
  153. package/styles/components/autocomplete.css +97 -0
  154. package/styles/components/avatar.css +90 -0
  155. package/styles/components/badge.css +91 -0
  156. package/styles/components/breadcrumbs.css +94 -0
  157. package/styles/components/button.css +174 -0
  158. package/styles/components/calendar.css +186 -0
  159. package/styles/components/card.css +206 -0
  160. package/styles/components/character-count.css +41 -0
  161. package/styles/components/chart.css +308 -0
  162. package/styles/components/checkbox.css +115 -0
  163. package/styles/components/color-picker.css +158 -0
  164. package/styles/components/command.css +175 -0
  165. package/styles/components/copy-button.css +58 -0
  166. package/styles/components/date-range-picker.css +153 -0
  167. package/styles/components/description-list.css +69 -0
  168. package/styles/components/dialog.css +334 -0
  169. package/styles/components/dropzone.css +89 -0
  170. package/styles/components/editable-text.css +58 -0
  171. package/styles/components/empty-state.css +72 -0
  172. package/styles/components/expandable-text.css +24 -0
  173. package/styles/components/field.css +148 -0
  174. package/styles/components/file-preview.css +65 -0
  175. package/styles/components/form-error-summary.css +71 -0
  176. package/styles/components/icon.css +38 -0
  177. package/styles/components/index.css +80 -0
  178. package/styles/components/input.css +171 -0
  179. package/styles/components/kbd.css +42 -0
  180. package/styles/components/menu.css +168 -0
  181. package/styles/components/multi-select.css +156 -0
  182. package/styles/components/navigation-list.css +147 -0
  183. package/styles/components/number-input.css +33 -0
  184. package/styles/components/otp-input.css +26 -0
  185. package/styles/components/pagination.css +127 -0
  186. package/styles/components/password-input.css +20 -0
  187. package/styles/components/popover.css +93 -0
  188. package/styles/components/progress-ring.css +112 -0
  189. package/styles/components/progress.css +162 -0
  190. package/styles/components/radio.css +117 -0
  191. package/styles/components/range-slider.css +158 -0
  192. package/styles/components/rating.css +100 -0
  193. package/styles/components/reorder-list.css +143 -0
  194. package/styles/components/scroll-area.css +39 -0
  195. package/styles/components/search-input.css +25 -0
  196. package/styles/components/segmented.css +136 -0
  197. package/styles/components/select.css +257 -0
  198. package/styles/components/sidebar.css +105 -0
  199. package/styles/components/skeleton.css +83 -0
  200. package/styles/components/slider.css +132 -0
  201. package/styles/components/splitter.css +83 -0
  202. package/styles/components/stat.css +62 -0
  203. package/styles/components/stepper.css +236 -0
  204. package/styles/components/switch.css +107 -0
  205. package/styles/components/table.css +195 -0
  206. package/styles/components/tabs.css +198 -0
  207. package/styles/components/tag-input.css +138 -0
  208. package/styles/components/text-highlight.css +22 -0
  209. package/styles/components/time-input.css +96 -0
  210. package/styles/components/timeline.css +182 -0
  211. package/styles/components/toast.css +146 -0
  212. package/styles/components/toolbar.css +72 -0
  213. package/styles/components/tooltip.css +93 -0
  214. package/styles/components/tree.css +88 -0
  215. package/styles/components/upload-list.css +113 -0
  216. package/styles/fonts.css +67 -0
  217. package/styles/index.css +14 -0
  218. package/styles/reset.css +57 -0
  219. package/styles/tokens/primitives.css +364 -0
  220. package/styles/tokens/semantic.css +233 -0
  221. package/types/vadem-ui-accordion.d.ts +43 -0
  222. package/types/vadem-ui-active-filters.d.ts +73 -0
  223. package/types/vadem-ui-alert-dialog.d.ts +87 -0
  224. package/types/vadem-ui-alert.d.ts +64 -0
  225. package/types/vadem-ui-autocomplete.d.ts +156 -0
  226. package/types/vadem-ui-avatar.d.ts +59 -0
  227. package/types/vadem-ui-badge.d.ts +25 -0
  228. package/types/vadem-ui-breadcrumbs.d.ts +22 -0
  229. package/types/vadem-ui-button.d.ts +52 -0
  230. package/types/vadem-ui-calendar.d.ts +327 -0
  231. package/types/vadem-ui-card.d.ts +58 -0
  232. package/types/vadem-ui-character-count.d.ts +71 -0
  233. package/types/vadem-ui-chart.d.ts +452 -0
  234. package/types/vadem-ui-checkbox.d.ts +20 -0
  235. package/types/vadem-ui-color-picker.d.ts +171 -0
  236. package/types/vadem-ui-command.d.ts +145 -0
  237. package/types/vadem-ui-copy-button.d.ts +90 -0
  238. package/types/vadem-ui-date-range-picker.d.ts +216 -0
  239. package/types/vadem-ui-description-list.d.ts +15 -0
  240. package/types/vadem-ui-dialog.d.ts +174 -0
  241. package/types/vadem-ui-dropzone.d.ts +73 -0
  242. package/types/vadem-ui-editable-text.d.ts +141 -0
  243. package/types/vadem-ui-empty-state.d.ts +34 -0
  244. package/types/vadem-ui-expandable-text.d.ts +52 -0
  245. package/types/vadem-ui-field.d.ts +180 -0
  246. package/types/vadem-ui-file-preview.d.ts +108 -0
  247. package/types/vadem-ui-file-size.d.ts +18 -0
  248. package/types/vadem-ui-form-error-summary.d.ts +46 -0
  249. package/types/vadem-ui-icon.d.ts +152 -0
  250. package/types/vadem-ui-input.d.ts +31 -0
  251. package/types/vadem-ui-kbd.d.ts +66 -0
  252. package/types/vadem-ui-keyboard.d.ts +61 -0
  253. package/types/vadem-ui-locale.d.ts +241 -0
  254. package/types/vadem-ui-menu.d.ts +132 -0
  255. package/types/vadem-ui-navigation-list.d.ts +28 -0
  256. package/types/vadem-ui-number-input.d.ts +39 -0
  257. package/types/vadem-ui-otp-input.d.ts +15 -0
  258. package/types/vadem-ui-pagination.d.ts +96 -0
  259. package/types/vadem-ui-password-input.d.ts +36 -0
  260. package/types/vadem-ui-popover.d.ts +48 -0
  261. package/types/vadem-ui-progress.d.ts +95 -0
  262. package/types/vadem-ui-radio.d.ts +11 -0
  263. package/types/vadem-ui-range-slider.d.ts +136 -0
  264. package/types/vadem-ui-rating.d.ts +95 -0
  265. package/types/vadem-ui-relative-time.d.ts +58 -0
  266. package/types/vadem-ui-reorder-list.d.ts +120 -0
  267. package/types/vadem-ui-scroll-area.d.ts +13 -0
  268. package/types/vadem-ui-search-input.d.ts +58 -0
  269. package/types/vadem-ui-segmented.d.ts +76 -0
  270. package/types/vadem-ui-select.d.ts +303 -0
  271. package/types/vadem-ui-sidebar.d.ts +70 -0
  272. package/types/vadem-ui-skeleton.d.ts +28 -0
  273. package/types/vadem-ui-slider.d.ts +17 -0
  274. package/types/vadem-ui-splitter.d.ts +99 -0
  275. package/types/vadem-ui-stat.d.ts +101 -0
  276. package/types/vadem-ui-stepper.d.ts +108 -0
  277. package/types/vadem-ui-switch.d.ts +10 -0
  278. package/types/vadem-ui-table.d.ts +172 -0
  279. package/types/vadem-ui-tabs.d.ts +101 -0
  280. package/types/vadem-ui-tag-input.d.ts +170 -0
  281. package/types/vadem-ui-text-highlight.d.ts +27 -0
  282. package/types/vadem-ui-time-input.d.ts +47 -0
  283. package/types/vadem-ui-timeline.d.ts +54 -0
  284. package/types/vadem-ui-toast.d.ts +104 -0
  285. package/types/vadem-ui-toolbar.d.ts +80 -0
  286. package/types/vadem-ui-tooltip.d.ts +71 -0
  287. package/types/vadem-ui-tree.d.ts +123 -0
  288. package/types/vadem-ui-upload-list.d.ts +70 -0
  289. package/types/vadem-ui.d.ts +1 -0
@@ -0,0 +1,113 @@
1
+ /* Controlled upload list — spec: specs/upload-list.md */
2
+ @layer vd.components {
3
+ .vd-upload-list {
4
+ --vd-upload-list-gap: var(--vd-space-3);
5
+ --vd-upload-list-padding: var(--vd-space-4);
6
+ --vd-upload-list-border: var(--vd-color-border);
7
+ --vd-upload-list-fg: var(--vd-color-text);
8
+ --vd-upload-list-muted: var(--vd-color-text-muted);
9
+ --vd-upload-list-icon-size: var(--vd-space-10);
10
+ --vd-upload-list-icon-bg: var(--vd-color-fill);
11
+ --vd-upload-list-radius: var(--vd-radius-md);
12
+ --vd-upload-list-success: var(--vd-color-success-text);
13
+ --vd-upload-list-error: var(--vd-color-danger-text);
14
+ display: grid;
15
+ grid-template-columns: minmax(0, 1fr);
16
+ container-type: inline-size;
17
+ inline-size: 100%;
18
+ min-inline-size: 0;
19
+ margin: 0;
20
+ padding: 0;
21
+ list-style: none;
22
+ color: var(--vd-upload-list-fg);
23
+ font-size: var(--vd-text-sm);
24
+ }
25
+ .vd-upload-list__item {
26
+ display: grid;
27
+ grid-template-columns: auto minmax(0, 1fr) auto;
28
+ align-items: start;
29
+ gap: var(--vd-upload-list-gap);
30
+ padding-block: var(--vd-upload-list-padding);
31
+ border-block-end: var(--vd-border-width) solid var(--vd-upload-list-border);
32
+ }
33
+ .vd-upload-list__item:last-child {
34
+ border-block-end: 0;
35
+ }
36
+ .vd-upload-list__icon {
37
+ display: grid;
38
+ place-items: center;
39
+ inline-size: var(--vd-upload-list-icon-size);
40
+ block-size: var(--vd-upload-list-icon-size);
41
+ border-radius: var(--vd-upload-list-radius);
42
+ background: var(--vd-upload-list-icon-bg);
43
+ color: var(--vd-upload-list-muted);
44
+ }
45
+ .vd-upload-list__body {
46
+ display: grid;
47
+ grid-template-columns: minmax(0, 1fr);
48
+ gap: var(--vd-space-2);
49
+ min-inline-size: 0;
50
+ }
51
+ .vd-upload-list__name {
52
+ font-weight: var(--vd-weight-semibold);
53
+ overflow-wrap: anywhere;
54
+ }
55
+ .vd-upload-list__meta {
56
+ display: flex;
57
+ flex-wrap: wrap;
58
+ gap: var(--vd-space-1) var(--vd-space-3);
59
+ color: var(--vd-upload-list-muted);
60
+ }
61
+ .vd-upload-list__status {
62
+ min-inline-size: 0;
63
+ overflow-wrap: anywhere;
64
+ }
65
+ .vd-upload-list__message {
66
+ display: block;
67
+ margin-block-start: var(--vd-space-1);
68
+ }
69
+ .vd-upload-list__percent {
70
+ font-variant-numeric: tabular-nums;
71
+ }
72
+ .vd-upload-list__actions {
73
+ display: flex;
74
+ flex-wrap: wrap;
75
+ gap: var(--vd-space-1);
76
+ min-inline-size: 0;
77
+ }
78
+ .vd-upload-list__actions > .vd-button {
79
+ max-inline-size: 100%;
80
+ }
81
+ .vd-upload-list__empty {
82
+ padding-block: var(--vd-upload-list-padding);
83
+ color: var(--vd-upload-list-muted);
84
+ }
85
+ .vd-upload-list__item[data-state='success'] :is(.vd-upload-list__icon, .vd-upload-list__status) {
86
+ color: var(--vd-upload-list-success);
87
+ }
88
+ .vd-upload-list__item[data-state='error'] :is(.vd-upload-list__icon, .vd-upload-list__status) {
89
+ color: var(--vd-upload-list-error);
90
+ }
91
+ .vd-upload-list:focus-visible {
92
+ outline: var(--vd-focus-ring-width) solid var(--vd-color-focus);
93
+ outline-offset: var(--vd-focus-ring-offset);
94
+ }
95
+ @container (width < 28rem) {
96
+ .vd-upload-list__item {
97
+ grid-template-columns: auto minmax(0, 1fr);
98
+ }
99
+ .vd-upload-list__actions {
100
+ grid-column: 1 / -1;
101
+ justify-self: end;
102
+ max-inline-size: 100%;
103
+ }
104
+ }
105
+ @media (forced-colors: active) {
106
+ .vd-upload-list__item {
107
+ border-color: CanvasText;
108
+ }
109
+ .vd-upload-list__icon {
110
+ border: var(--vd-border-width) solid CanvasText;
111
+ }
112
+ }
113
+ }
@@ -0,0 +1,67 @@
1
+ /*
2
+ * Self-hosted variable fonts, subset to Latin and Cyrillic (see src/fonts/README.md).
3
+ * Fallback faces are metric-tuned local fonts to reduce layout shift while woff2 loads.
4
+ */
5
+ @layer vd.tokens {
6
+ /* Manrope 4.505, wght 200-800 */
7
+ @font-face {
8
+ font-family: 'Manrope';
9
+ font-style: normal;
10
+ font-weight: 200 800;
11
+ font-display: swap;
12
+ src: url('../fonts/manrope/manrope-latin.woff2') format('woff2');
13
+ unicode-range:
14
+ U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
15
+ U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
16
+ }
17
+
18
+ @font-face {
19
+ font-family: 'Manrope';
20
+ font-style: normal;
21
+ font-weight: 200 800;
22
+ font-display: swap;
23
+ src: url('../fonts/manrope/manrope-cyrillic.woff2') format('woff2');
24
+ unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+20B4, U+2116;
25
+ }
26
+
27
+ /* JetBrains Mono 2.304, wght 100-800 */
28
+ @font-face {
29
+ font-family: 'JetBrains Mono';
30
+ font-style: normal;
31
+ font-weight: 100 800;
32
+ font-display: swap;
33
+ src: url('../fonts/jetbrains-mono/jetbrains-mono-latin.woff2') format('woff2');
34
+ unicode-range:
35
+ U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
36
+ U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
37
+ }
38
+
39
+ @font-face {
40
+ font-family: 'JetBrains Mono';
41
+ font-style: normal;
42
+ font-weight: 100 800;
43
+ font-display: swap;
44
+ src: url('../fonts/jetbrains-mono/jetbrains-mono-cyrillic.woff2') format('woff2');
45
+ unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+20B4, U+2116;
46
+ }
47
+
48
+ /* Metrics computed against Arial/Liberation Sans (avg of English and Ukrainian text width). */
49
+ @font-face {
50
+ font-family: 'Manrope Fallback';
51
+ src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Helvetica Neue');
52
+ size-adjust: 103.5%;
53
+ ascent-override: 103%;
54
+ descent-override: 29%;
55
+ line-gap-override: 0%;
56
+ }
57
+
58
+ /* JetBrains Mono advance is 0.6em, same as Menlo / DejaVu Sans Mono / Courier New. */
59
+ @font-face {
60
+ font-family: 'JetBrains Mono Fallback';
61
+ src: local('Menlo'), local('DejaVu Sans Mono'), local('Consolas'), local('Courier New');
62
+ size-adjust: 100%;
63
+ ascent-override: 102%;
64
+ descent-override: 30%;
65
+ line-gap-override: 0%;
66
+ }
67
+ }
@@ -0,0 +1,14 @@
1
+ /*
2
+ * Vadem styles entry point.
3
+ * Everything lives in the `vd` layer, so any unlayered app CSS overrides it.
4
+ * Granular imports are available: tokens/primitives.css, tokens/semantic.css, fonts.css,
5
+ * reset.css, base.css, components/index.css.
6
+ */
7
+ @layer vd.reset, vd.tokens, vd.base, vd.components;
8
+
9
+ @import url('./fonts.css');
10
+ @import url('./tokens/primitives.css');
11
+ @import url('./tokens/semantic.css');
12
+ @import url('./reset.css');
13
+ @import url('./base.css');
14
+ @import url('./components/index.css');
@@ -0,0 +1,57 @@
1
+ /* Minimal modern reset. Low priority: lives in vd.reset, the first layer. */
2
+ @layer vd.reset {
3
+ *,
4
+ *::before,
5
+ *::after {
6
+ box-sizing: border-box;
7
+ }
8
+
9
+ * {
10
+ margin: 0;
11
+ }
12
+
13
+ html {
14
+ -webkit-text-size-adjust: none;
15
+ text-size-adjust: none;
16
+ }
17
+
18
+ body {
19
+ min-block-size: 100dvh;
20
+ }
21
+
22
+ img,
23
+ picture,
24
+ video,
25
+ canvas,
26
+ svg {
27
+ display: block;
28
+ max-inline-size: 100%;
29
+ }
30
+
31
+ input,
32
+ button,
33
+ textarea,
34
+ select {
35
+ font: inherit;
36
+ color: inherit;
37
+ }
38
+
39
+ p,
40
+ h1,
41
+ h2,
42
+ h3,
43
+ h4,
44
+ h5,
45
+ h6 {
46
+ overflow-wrap: break-word;
47
+ }
48
+
49
+ /* Author `display` rules must not un-hide [hidden] content (tab panels, etc.). */
50
+ [hidden]:not([hidden='until-found']) {
51
+ display: none !important;
52
+ }
53
+
54
+ :target {
55
+ scroll-margin-block: var(--vd-space-16);
56
+ }
57
+ }
@@ -0,0 +1,364 @@
1
+ /*
2
+ * Vadem primitive tokens.
3
+ * Raw scales only. Components never read these directly - they go through semantic.css.
4
+ */
5
+ @layer vd.tokens {
6
+ :root {
7
+ /* ---------------------------------------------------------------- hue knobs */
8
+ /* The whole library re-themes from this one value. */
9
+ --vd-hue-accent: 285;
10
+ --vd-chroma-accent: 0.2;
11
+ --vd-chroma-neutral: 0.012;
12
+
13
+ --vd-hue-success: 150;
14
+ --vd-hue-warning: 75;
15
+ --vd-hue-danger: 25;
16
+ --vd-hue-info: 240;
17
+ --vd-chroma-success: 0.16;
18
+ --vd-chroma-warning: 0.16;
19
+ --vd-chroma-danger: 0.18;
20
+ --vd-chroma-info: 0.14;
21
+
22
+ /* ---------------------------------------------------- shared ramp curve */
23
+ /* Lightness and relative chroma per step. Every chromatic ramp uses this
24
+ curve, so accent and statuses read as one family. */
25
+ --vd-l-50: 0.97;
26
+ --vd-l-100: 0.935;
27
+ --vd-l-200: 0.875;
28
+ --vd-l-300: 0.8;
29
+ --vd-l-400: 0.72;
30
+ --vd-l-500: 0.64;
31
+ --vd-l-600: 0.54;
32
+ --vd-l-700: 0.49;
33
+ --vd-l-800: 0.41;
34
+ --vd-l-900: 0.33;
35
+ --vd-l-950: 0.26;
36
+
37
+ --vd-c-50: 0.08;
38
+ --vd-c-100: 0.18;
39
+ --vd-c-200: 0.36;
40
+ --vd-c-300: 0.58;
41
+ --vd-c-400: 0.82;
42
+ --vd-c-500: 1;
43
+ --vd-c-600: 0.95;
44
+ --vd-c-700: 0.85;
45
+ --vd-c-800: 0.7;
46
+ --vd-c-900: 0.55;
47
+ --vd-c-950: 0.45;
48
+
49
+ /* ------------------------------------------------------------- spacing */
50
+ /* 4px base. */
51
+ --vd-space-0: 0;
52
+ --vd-space-0-5: 0.125rem;
53
+ --vd-space-1: 0.25rem;
54
+ --vd-space-1-5: 0.375rem;
55
+ --vd-space-2: 0.5rem;
56
+ --vd-space-3: 0.75rem;
57
+ --vd-space-4: 1rem;
58
+ --vd-space-5: 1.25rem;
59
+ --vd-space-6: 1.5rem;
60
+ --vd-space-8: 2rem;
61
+ --vd-space-10: 2.5rem;
62
+ --vd-space-12: 3rem;
63
+ --vd-space-16: 4rem;
64
+ --vd-space-20: 5rem;
65
+ --vd-space-24: 6rem;
66
+
67
+ /* ---------------------------------------------------------- typography */
68
+ --vd-font-sans:
69
+ 'Manrope', 'Manrope Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
70
+ --vd-font-mono:
71
+ 'JetBrains Mono', 'JetBrains Mono Fallback', ui-monospace, 'SF Mono', Menlo, Consolas,
72
+ monospace;
73
+
74
+ /* Modular scale, ratio 1.25, base 1rem. Steps from xl up are fluid. */
75
+ --vd-text-xs: 0.75rem;
76
+ --vd-text-sm: 0.875rem;
77
+ --vd-text-md: 1rem;
78
+ --vd-text-lg: 1.25rem;
79
+ --vd-text-xl: clamp(1.375rem, 1.25rem + 0.4vw, 1.5625rem);
80
+ --vd-text-2xl: clamp(1.625rem, 1.35rem + 0.9vw, 1.953rem);
81
+ --vd-text-3xl: clamp(1.875rem, 1.4rem + 1.6vw, 2.441rem);
82
+ --vd-text-4xl: clamp(2.25rem, 1.5rem + 2.6vw, 3.052rem);
83
+
84
+ --vd-leading-tight: 1.1;
85
+ --vd-leading-snug: 1.25;
86
+ --vd-leading-normal: 1.5;
87
+ --vd-leading-relaxed: 1.65;
88
+
89
+ /* Manrope runs wide: tighten large sizes, open up small caps. */
90
+ --vd-tracking-tighter: -0.03em;
91
+ --vd-tracking-tight: -0.02em;
92
+ --vd-tracking-normal: 0;
93
+ --vd-tracking-caps: 0.06em;
94
+
95
+ --vd-weight-regular: 400;
96
+ --vd-weight-medium: 500;
97
+ --vd-weight-semibold: 600;
98
+ --vd-weight-bold: 700;
99
+ --vd-weight-extrabold: 800;
100
+
101
+ /* ------------------------------------------------------------- radius */
102
+ --vd-radius-xs: 4px;
103
+ --vd-radius-sm: 6px;
104
+ --vd-radius-md: 8px;
105
+ --vd-radius-lg: 12px;
106
+ --vd-radius-xl: 16px;
107
+ --vd-radius-2xl: 24px;
108
+ --vd-radius-full: 9999px;
109
+
110
+ /* -------------------------------------------------------------- borders */
111
+ --vd-border-width: 1px;
112
+
113
+ /* -------------------------------------------------------------- motion */
114
+ --vd-duration-fast: 100ms;
115
+ --vd-duration-base: 200ms;
116
+ --vd-duration-slow: 300ms;
117
+ /* Continuous indicators (spinners) - not affected by reduced motion zeroing. */
118
+ --vd-duration-spin: 800ms;
119
+ --vd-duration-shimmer: 1600ms;
120
+
121
+ --vd-ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
122
+ --vd-ease-in: cubic-bezier(0.5, 0, 0.75, 0);
123
+ --vd-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
124
+ /* Damped spring, ~4% overshoot. Fallback first for engines without linear(). */
125
+ --vd-ease-spring: cubic-bezier(0.2, 0.9, 0.3, 1.05);
126
+ --vd-ease-spring: linear(
127
+ 0,
128
+ 0.124 5%,
129
+ 0.37 10%,
130
+ 0.616 15%,
131
+ 0.807 20%,
132
+ 0.933 25%,
133
+ 1.002 30%,
134
+ 1.032 35%,
135
+ 1.038 40%,
136
+ 1.033 45%,
137
+ 1.023 50%,
138
+ 1.014 55%,
139
+ 1.007 60%,
140
+ 1.002 65%,
141
+ 1
142
+ );
143
+
144
+ /* ------------------------------------------------------------- density */
145
+ /* 1 = default. Overridden by [data-density]. */
146
+ --vd-density: 1;
147
+ }
148
+
149
+ /*
150
+ * Derived primitives. Declared on every scope element so overriding a knob
151
+ * (hue, density) on a subtree recomputes them there.
152
+ */
153
+ :where(:root, [data-theme], [data-density]) {
154
+ --vd-hue-neutral: var(--vd-hue-accent);
155
+
156
+ /* neutral ramp: tinted with the neutral hue */
157
+ --vd-neutral-0: oklch(0.993 calc(var(--vd-chroma-neutral) * 0.2) var(--vd-hue-neutral));
158
+ --vd-neutral-50: oklch(0.975 calc(var(--vd-chroma-neutral) * 0.35) var(--vd-hue-neutral));
159
+ --vd-neutral-100: oklch(0.955 calc(var(--vd-chroma-neutral) * 0.5) var(--vd-hue-neutral));
160
+ --vd-neutral-150: oklch(0.925 calc(var(--vd-chroma-neutral) * 0.6) var(--vd-hue-neutral));
161
+ --vd-neutral-200: oklch(0.89 calc(var(--vd-chroma-neutral) * 0.7) var(--vd-hue-neutral));
162
+ --vd-neutral-300: oklch(0.82 var(--vd-chroma-neutral) var(--vd-hue-neutral));
163
+ --vd-neutral-400: oklch(0.71 var(--vd-chroma-neutral) var(--vd-hue-neutral));
164
+ --vd-neutral-500: oklch(0.6 var(--vd-chroma-neutral) var(--vd-hue-neutral));
165
+ --vd-neutral-550: oklch(0.55 var(--vd-chroma-neutral) var(--vd-hue-neutral));
166
+ --vd-neutral-600: oklch(0.5 var(--vd-chroma-neutral) var(--vd-hue-neutral));
167
+ --vd-neutral-700: oklch(0.4 var(--vd-chroma-neutral) var(--vd-hue-neutral));
168
+ --vd-neutral-800: oklch(0.31 var(--vd-chroma-neutral) var(--vd-hue-neutral));
169
+ --vd-neutral-850: oklch(0.265 var(--vd-chroma-neutral) var(--vd-hue-neutral));
170
+ --vd-neutral-900: oklch(0.23 var(--vd-chroma-neutral) var(--vd-hue-neutral));
171
+ --vd-neutral-925: oklch(0.205 var(--vd-chroma-neutral) var(--vd-hue-neutral));
172
+ --vd-neutral-950: oklch(0.185 var(--vd-chroma-neutral) var(--vd-hue-neutral));
173
+ --vd-neutral-975: oklch(0.165 var(--vd-chroma-neutral) var(--vd-hue-neutral));
174
+ --vd-neutral-1000: oklch(0.145 var(--vd-chroma-neutral) var(--vd-hue-neutral));
175
+
176
+ /* accent */
177
+ --vd-accent-50: oklch(
178
+ var(--vd-l-50) calc(var(--vd-chroma-accent) * var(--vd-c-50)) var(--vd-hue-accent)
179
+ );
180
+ --vd-accent-100: oklch(
181
+ var(--vd-l-100) calc(var(--vd-chroma-accent) * var(--vd-c-100)) var(--vd-hue-accent)
182
+ );
183
+ --vd-accent-200: oklch(
184
+ var(--vd-l-200) calc(var(--vd-chroma-accent) * var(--vd-c-200)) var(--vd-hue-accent)
185
+ );
186
+ --vd-accent-300: oklch(
187
+ var(--vd-l-300) calc(var(--vd-chroma-accent) * var(--vd-c-300)) var(--vd-hue-accent)
188
+ );
189
+ --vd-accent-400: oklch(
190
+ var(--vd-l-400) calc(var(--vd-chroma-accent) * var(--vd-c-400)) var(--vd-hue-accent)
191
+ );
192
+ --vd-accent-500: oklch(
193
+ var(--vd-l-500) calc(var(--vd-chroma-accent) * var(--vd-c-500)) var(--vd-hue-accent)
194
+ );
195
+ --vd-accent-600: oklch(
196
+ var(--vd-l-600) calc(var(--vd-chroma-accent) * var(--vd-c-600)) var(--vd-hue-accent)
197
+ );
198
+ --vd-accent-700: oklch(
199
+ var(--vd-l-700) calc(var(--vd-chroma-accent) * var(--vd-c-700)) var(--vd-hue-accent)
200
+ );
201
+ --vd-accent-800: oklch(
202
+ var(--vd-l-800) calc(var(--vd-chroma-accent) * var(--vd-c-800)) var(--vd-hue-accent)
203
+ );
204
+ --vd-accent-900: oklch(
205
+ var(--vd-l-900) calc(var(--vd-chroma-accent) * var(--vd-c-900)) var(--vd-hue-accent)
206
+ );
207
+ --vd-accent-950: oklch(
208
+ var(--vd-l-950) calc(var(--vd-chroma-accent) * var(--vd-c-950)) var(--vd-hue-accent)
209
+ );
210
+
211
+ /* success */
212
+ --vd-success-50: oklch(
213
+ var(--vd-l-50) calc(var(--vd-chroma-success) * var(--vd-c-50)) var(--vd-hue-success)
214
+ );
215
+ --vd-success-100: oklch(
216
+ var(--vd-l-100) calc(var(--vd-chroma-success) * var(--vd-c-100)) var(--vd-hue-success)
217
+ );
218
+ --vd-success-200: oklch(
219
+ var(--vd-l-200) calc(var(--vd-chroma-success) * var(--vd-c-200)) var(--vd-hue-success)
220
+ );
221
+ --vd-success-300: oklch(
222
+ var(--vd-l-300) calc(var(--vd-chroma-success) * var(--vd-c-300)) var(--vd-hue-success)
223
+ );
224
+ --vd-success-400: oklch(
225
+ var(--vd-l-400) calc(var(--vd-chroma-success) * var(--vd-c-400)) var(--vd-hue-success)
226
+ );
227
+ --vd-success-500: oklch(
228
+ var(--vd-l-500) calc(var(--vd-chroma-success) * var(--vd-c-500)) var(--vd-hue-success)
229
+ );
230
+ --vd-success-600: oklch(
231
+ var(--vd-l-600) calc(var(--vd-chroma-success) * var(--vd-c-600)) var(--vd-hue-success)
232
+ );
233
+ --vd-success-700: oklch(
234
+ var(--vd-l-700) calc(var(--vd-chroma-success) * var(--vd-c-700)) var(--vd-hue-success)
235
+ );
236
+ --vd-success-800: oklch(
237
+ var(--vd-l-800) calc(var(--vd-chroma-success) * var(--vd-c-800)) var(--vd-hue-success)
238
+ );
239
+ --vd-success-900: oklch(
240
+ var(--vd-l-900) calc(var(--vd-chroma-success) * var(--vd-c-900)) var(--vd-hue-success)
241
+ );
242
+ --vd-success-950: oklch(
243
+ var(--vd-l-950) calc(var(--vd-chroma-success) * var(--vd-c-950)) var(--vd-hue-success)
244
+ );
245
+
246
+ /* warning */
247
+ --vd-warning-50: oklch(
248
+ var(--vd-l-50) calc(var(--vd-chroma-warning) * var(--vd-c-50)) var(--vd-hue-warning)
249
+ );
250
+ --vd-warning-100: oklch(
251
+ var(--vd-l-100) calc(var(--vd-chroma-warning) * var(--vd-c-100)) var(--vd-hue-warning)
252
+ );
253
+ --vd-warning-200: oklch(
254
+ var(--vd-l-200) calc(var(--vd-chroma-warning) * var(--vd-c-200)) var(--vd-hue-warning)
255
+ );
256
+ --vd-warning-300: oklch(
257
+ var(--vd-l-300) calc(var(--vd-chroma-warning) * var(--vd-c-300)) var(--vd-hue-warning)
258
+ );
259
+ --vd-warning-400: oklch(
260
+ var(--vd-l-400) calc(var(--vd-chroma-warning) * var(--vd-c-400)) var(--vd-hue-warning)
261
+ );
262
+ --vd-warning-500: oklch(
263
+ var(--vd-l-500) calc(var(--vd-chroma-warning) * var(--vd-c-500)) var(--vd-hue-warning)
264
+ );
265
+ --vd-warning-600: oklch(
266
+ var(--vd-l-600) calc(var(--vd-chroma-warning) * var(--vd-c-600)) var(--vd-hue-warning)
267
+ );
268
+ --vd-warning-700: oklch(
269
+ var(--vd-l-700) calc(var(--vd-chroma-warning) * var(--vd-c-700)) var(--vd-hue-warning)
270
+ );
271
+ --vd-warning-800: oklch(
272
+ var(--vd-l-800) calc(var(--vd-chroma-warning) * var(--vd-c-800)) var(--vd-hue-warning)
273
+ );
274
+ --vd-warning-900: oklch(
275
+ var(--vd-l-900) calc(var(--vd-chroma-warning) * var(--vd-c-900)) var(--vd-hue-warning)
276
+ );
277
+ --vd-warning-950: oklch(
278
+ var(--vd-l-950) calc(var(--vd-chroma-warning) * var(--vd-c-950)) var(--vd-hue-warning)
279
+ );
280
+
281
+ /* danger */
282
+ --vd-danger-50: oklch(
283
+ var(--vd-l-50) calc(var(--vd-chroma-danger) * var(--vd-c-50)) var(--vd-hue-danger)
284
+ );
285
+ --vd-danger-100: oklch(
286
+ var(--vd-l-100) calc(var(--vd-chroma-danger) * var(--vd-c-100)) var(--vd-hue-danger)
287
+ );
288
+ --vd-danger-200: oklch(
289
+ var(--vd-l-200) calc(var(--vd-chroma-danger) * var(--vd-c-200)) var(--vd-hue-danger)
290
+ );
291
+ --vd-danger-300: oklch(
292
+ var(--vd-l-300) calc(var(--vd-chroma-danger) * var(--vd-c-300)) var(--vd-hue-danger)
293
+ );
294
+ --vd-danger-400: oklch(
295
+ var(--vd-l-400) calc(var(--vd-chroma-danger) * var(--vd-c-400)) var(--vd-hue-danger)
296
+ );
297
+ --vd-danger-500: oklch(
298
+ var(--vd-l-500) calc(var(--vd-chroma-danger) * var(--vd-c-500)) var(--vd-hue-danger)
299
+ );
300
+ --vd-danger-600: oklch(
301
+ var(--vd-l-600) calc(var(--vd-chroma-danger) * var(--vd-c-600)) var(--vd-hue-danger)
302
+ );
303
+ --vd-danger-700: oklch(
304
+ var(--vd-l-700) calc(var(--vd-chroma-danger) * var(--vd-c-700)) var(--vd-hue-danger)
305
+ );
306
+ --vd-danger-800: oklch(
307
+ var(--vd-l-800) calc(var(--vd-chroma-danger) * var(--vd-c-800)) var(--vd-hue-danger)
308
+ );
309
+ --vd-danger-900: oklch(
310
+ var(--vd-l-900) calc(var(--vd-chroma-danger) * var(--vd-c-900)) var(--vd-hue-danger)
311
+ );
312
+ --vd-danger-950: oklch(
313
+ var(--vd-l-950) calc(var(--vd-chroma-danger) * var(--vd-c-950)) var(--vd-hue-danger)
314
+ );
315
+
316
+ /* info */
317
+ --vd-info-50: oklch(
318
+ var(--vd-l-50) calc(var(--vd-chroma-info) * var(--vd-c-50)) var(--vd-hue-info)
319
+ );
320
+ --vd-info-100: oklch(
321
+ var(--vd-l-100) calc(var(--vd-chroma-info) * var(--vd-c-100)) var(--vd-hue-info)
322
+ );
323
+ --vd-info-200: oklch(
324
+ var(--vd-l-200) calc(var(--vd-chroma-info) * var(--vd-c-200)) var(--vd-hue-info)
325
+ );
326
+ --vd-info-300: oklch(
327
+ var(--vd-l-300) calc(var(--vd-chroma-info) * var(--vd-c-300)) var(--vd-hue-info)
328
+ );
329
+ --vd-info-400: oklch(
330
+ var(--vd-l-400) calc(var(--vd-chroma-info) * var(--vd-c-400)) var(--vd-hue-info)
331
+ );
332
+ --vd-info-500: oklch(
333
+ var(--vd-l-500) calc(var(--vd-chroma-info) * var(--vd-c-500)) var(--vd-hue-info)
334
+ );
335
+ --vd-info-600: oklch(
336
+ var(--vd-l-600) calc(var(--vd-chroma-info) * var(--vd-c-600)) var(--vd-hue-info)
337
+ );
338
+ --vd-info-700: oklch(
339
+ var(--vd-l-700) calc(var(--vd-chroma-info) * var(--vd-c-700)) var(--vd-hue-info)
340
+ );
341
+ --vd-info-800: oklch(
342
+ var(--vd-l-800) calc(var(--vd-chroma-info) * var(--vd-c-800)) var(--vd-hue-info)
343
+ );
344
+ --vd-info-900: oklch(
345
+ var(--vd-l-900) calc(var(--vd-chroma-info) * var(--vd-c-900)) var(--vd-hue-info)
346
+ );
347
+ --vd-info-950: oklch(
348
+ var(--vd-l-950) calc(var(--vd-chroma-info) * var(--vd-c-950)) var(--vd-hue-info)
349
+ );
350
+
351
+ /* density-derived control sizes */
352
+ --vd-control-height-sm: calc(2rem * var(--vd-density));
353
+ --vd-control-height-md: calc(2.5rem * var(--vd-density));
354
+ --vd-control-height-lg: calc(3rem * var(--vd-density));
355
+ }
356
+
357
+ [data-density='compact'] {
358
+ --vd-density: 0.875;
359
+ }
360
+
361
+ [data-density='comfortable'] {
362
+ --vd-density: 1.125;
363
+ }
364
+ }