@voidable/theme 0.7.0 → 0.8.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 (323) hide show
  1. package/README.md +133 -8
  2. package/dist/base.css +20 -0
  3. package/dist/base.min.css +1 -0
  4. package/dist/component-tokens.json +1015 -0
  5. package/dist/components/accordion.css +149 -0
  6. package/dist/components/accordion.min.css +1 -0
  7. package/dist/components/action-input.css +416 -0
  8. package/dist/components/action-input.min.css +1 -0
  9. package/dist/components/alert.css +151 -0
  10. package/dist/components/alert.min.css +1 -0
  11. package/dist/components/avatar.css +73 -0
  12. package/dist/components/avatar.min.css +1 -0
  13. package/dist/components/badge.css +108 -0
  14. package/dist/components/badge.min.css +1 -0
  15. package/dist/components/banner.css +149 -0
  16. package/dist/components/banner.min.css +1 -0
  17. package/dist/components/bar-chart.css +101 -0
  18. package/dist/components/bar-chart.min.css +1 -0
  19. package/dist/components/breadcrumbs.css +82 -0
  20. package/dist/components/breadcrumbs.min.css +1 -0
  21. package/dist/components/button.css +237 -0
  22. package/dist/components/button.min.css +1 -0
  23. package/dist/components/calendar.css +669 -0
  24. package/dist/components/calendar.min.css +1 -0
  25. package/dist/components/card.css +161 -0
  26. package/dist/components/card.min.css +1 -0
  27. package/dist/components/carousel.css +223 -0
  28. package/dist/components/carousel.min.css +1 -0
  29. package/dist/components/checkbox-group.css +68 -0
  30. package/dist/components/checkbox-group.min.css +1 -0
  31. package/dist/components/checkbox.css +169 -0
  32. package/dist/components/checkbox.min.css +1 -0
  33. package/dist/components/collapsible.css +152 -0
  34. package/dist/components/collapsible.min.css +1 -0
  35. package/dist/components/color-picker.css +364 -0
  36. package/dist/components/color-picker.min.css +1 -0
  37. package/dist/components/combobox.css +548 -0
  38. package/dist/components/combobox.min.css +1 -0
  39. package/dist/components/compose-input.css +117 -0
  40. package/dist/components/compose-input.min.css +1 -0
  41. package/dist/components/dialog.css +175 -0
  42. package/dist/components/dialog.min.css +1 -0
  43. package/dist/components/divider.css +84 -0
  44. package/dist/components/divider.min.css +1 -0
  45. package/dist/components/donut-chart.css +122 -0
  46. package/dist/components/donut-chart.min.css +1 -0
  47. package/dist/components/drawer.css +230 -0
  48. package/dist/components/drawer.min.css +1 -0
  49. package/dist/components/dropdown-menu.css +274 -0
  50. package/dist/components/dropdown-menu.min.css +1 -0
  51. package/dist/components/editable.css +141 -0
  52. package/dist/components/editable.min.css +1 -0
  53. package/dist/components/error-fallback.css +129 -0
  54. package/dist/components/error-fallback.min.css +1 -0
  55. package/dist/components/field.css +103 -0
  56. package/dist/components/field.min.css +1 -0
  57. package/dist/components/file-upload.css +156 -0
  58. package/dist/components/file-upload.min.css +1 -0
  59. package/dist/components/gauge.css +186 -0
  60. package/dist/components/gauge.min.css +1 -0
  61. package/dist/components/hamburger.css +114 -0
  62. package/dist/components/hamburger.min.css +1 -0
  63. package/dist/components/hover-card.css +220 -0
  64. package/dist/components/hover-card.min.css +1 -0
  65. package/dist/components/indicator.css +159 -0
  66. package/dist/components/indicator.min.css +1 -0
  67. package/dist/components/input.css +134 -0
  68. package/dist/components/input.min.css +1 -0
  69. package/dist/components/line-chart.css +157 -0
  70. package/dist/components/line-chart.min.css +1 -0
  71. package/dist/components/list.css +90 -0
  72. package/dist/components/list.min.css +1 -0
  73. package/dist/components/menu.css +208 -0
  74. package/dist/components/menu.min.css +1 -0
  75. package/dist/components/multiselect.css +397 -0
  76. package/dist/components/multiselect.min.css +1 -0
  77. package/dist/components/nav-bar.css +75 -0
  78. package/dist/components/nav-bar.min.css +1 -0
  79. package/dist/components/nav-menu.css +173 -0
  80. package/dist/components/nav-menu.min.css +1 -0
  81. package/dist/components/number-input.css +272 -0
  82. package/dist/components/number-input.min.css +1 -0
  83. package/dist/components/pagination.css +128 -0
  84. package/dist/components/pagination.min.css +1 -0
  85. package/dist/components/panel.css +96 -0
  86. package/dist/components/panel.min.css +1 -0
  87. package/dist/components/pin-input.css +185 -0
  88. package/dist/components/pin-input.min.css +1 -0
  89. package/dist/components/popover.css +227 -0
  90. package/dist/components/popover.min.css +1 -0
  91. package/dist/components/progress.css +148 -0
  92. package/dist/components/progress.min.css +1 -0
  93. package/dist/components/radio-group.css +64 -0
  94. package/dist/components/radio-group.min.css +1 -0
  95. package/dist/components/radio.css +174 -0
  96. package/dist/components/radio.min.css +1 -0
  97. package/dist/components/scroll-area.css +83 -0
  98. package/dist/components/scroll-area.min.css +1 -0
  99. package/dist/components/segmented-control.css +158 -0
  100. package/dist/components/segmented-control.min.css +1 -0
  101. package/dist/components/select.css +207 -0
  102. package/dist/components/select.min.css +1 -0
  103. package/dist/components/sidebar.css +62 -0
  104. package/dist/components/sidebar.min.css +1 -0
  105. package/dist/components/skeleton.css +85 -0
  106. package/dist/components/skeleton.min.css +1 -0
  107. package/dist/components/slider.css +193 -0
  108. package/dist/components/slider.min.css +1 -0
  109. package/dist/components/spinner.css +100 -0
  110. package/dist/components/spinner.min.css +1 -0
  111. package/dist/components/stat.css +177 -0
  112. package/dist/components/stat.min.css +1 -0
  113. package/dist/components/status-dot.css +60 -0
  114. package/dist/components/status-dot.min.css +1 -0
  115. package/dist/components/stepper.css +114 -0
  116. package/dist/components/stepper.min.css +1 -0
  117. package/dist/components/switch.css +175 -0
  118. package/dist/components/switch.min.css +1 -0
  119. package/dist/components/table.css +416 -0
  120. package/dist/components/table.min.css +1 -0
  121. package/dist/components/tabs.css +185 -0
  122. package/dist/components/tabs.min.css +1 -0
  123. package/dist/components/tag.css +134 -0
  124. package/dist/components/tag.min.css +1 -0
  125. package/dist/components/tags-input.css +267 -0
  126. package/dist/components/tags-input.min.css +1 -0
  127. package/dist/components/textarea.css +127 -0
  128. package/dist/components/textarea.min.css +1 -0
  129. package/dist/components/toast.css +200 -0
  130. package/dist/components/toast.min.css +1 -0
  131. package/dist/components/toggle-group.css +59 -0
  132. package/dist/components/toggle-group.min.css +1 -0
  133. package/dist/components/toggle.css +139 -0
  134. package/dist/components/toggle.min.css +1 -0
  135. package/dist/components/tooltip.css +221 -0
  136. package/dist/components/tooltip.min.css +1 -0
  137. package/dist/core.css +9657 -0
  138. package/dist/core.min.css +1 -0
  139. package/dist/dtcg/aurora.dark.tokens.json +4723 -0
  140. package/dist/dtcg/aurora.light.tokens.json +4723 -0
  141. package/dist/dtcg/capsule.dark.tokens.json +4723 -0
  142. package/dist/dtcg/capsule.light.tokens.json +4723 -0
  143. package/dist/dtcg/console.dark.tokens.json +4723 -0
  144. package/dist/dtcg/console.light.tokens.json +4723 -0
  145. package/dist/dtcg/dune.dark.tokens.json +4723 -0
  146. package/dist/dtcg/dune.light.tokens.json +4723 -0
  147. package/dist/dtcg/iris.dark.tokens.json +4723 -0
  148. package/dist/dtcg/iris.light.tokens.json +4723 -0
  149. package/dist/dtcg/loft.dark.tokens.json +5203 -0
  150. package/dist/dtcg/loft.light.tokens.json +5203 -0
  151. package/dist/dtcg/orbit.dark.tokens.json +4723 -0
  152. package/dist/dtcg/orbit.light.tokens.json +4723 -0
  153. package/dist/dtcg/paper.dark.tokens.json +4723 -0
  154. package/dist/dtcg/paper.light.tokens.json +4723 -0
  155. package/dist/dtcg/slab.dark.tokens.json +4969 -0
  156. package/dist/dtcg/slab.light.tokens.json +4969 -0
  157. package/dist/dtcg/void.dark.tokens.json +4723 -0
  158. package/dist/dtcg/void.light.tokens.json +4723 -0
  159. package/dist/dtcg/voidable.resolver.json +117 -0
  160. package/dist/exports.json +708 -0
  161. package/dist/json/aurora.dark.json +394 -0
  162. package/dist/json/aurora.light.json +394 -0
  163. package/dist/json/capsule.dark.json +394 -0
  164. package/dist/json/capsule.light.json +394 -0
  165. package/dist/json/console.dark.json +394 -0
  166. package/dist/json/console.light.json +394 -0
  167. package/dist/json/dune.dark.json +394 -0
  168. package/dist/json/dune.light.json +394 -0
  169. package/dist/json/iris.dark.json +394 -0
  170. package/dist/json/iris.light.json +394 -0
  171. package/dist/json/loft.dark.json +423 -0
  172. package/dist/json/loft.light.json +423 -0
  173. package/dist/json/orbit.dark.json +394 -0
  174. package/dist/json/orbit.light.json +394 -0
  175. package/dist/json/paper.dark.json +394 -0
  176. package/dist/json/paper.light.json +394 -0
  177. package/dist/json/slab.dark.json +412 -0
  178. package/dist/json/slab.light.json +412 -0
  179. package/dist/json/void.dark.json +394 -0
  180. package/dist/json/void.light.json +394 -0
  181. package/dist/knobs.css +21 -0
  182. package/dist/knobs.json +362 -0
  183. package/dist/knobs.min.css +1 -0
  184. package/dist/layers.css +2 -0
  185. package/dist/layers.min.css +1 -0
  186. package/dist/names.d.ts +519 -0
  187. package/dist/names.js +719 -0
  188. package/dist/patterns/app-shell.css +136 -0
  189. package/dist/patterns/app-shell.min.css +1 -0
  190. package/dist/patterns/data.css +430 -0
  191. package/dist/patterns/data.min.css +1 -0
  192. package/dist/patterns/media.css +288 -0
  193. package/dist/patterns/media.min.css +1 -0
  194. package/dist/patterns/page.css +323 -0
  195. package/dist/patterns/page.min.css +1 -0
  196. package/dist/patterns/shell.css +328 -0
  197. package/dist/patterns/shell.min.css +1 -0
  198. package/dist/primitives.css +175 -0
  199. package/dist/primitives.min.css +1 -0
  200. package/dist/reset.css +44 -0
  201. package/dist/reset.min.css +1 -0
  202. package/dist/skin.d.ts +14 -0
  203. package/dist/skin.js +158 -0
  204. package/dist/skins/loft.css +94 -0
  205. package/dist/skins/loft.min.css +1 -0
  206. package/dist/skins/slab.css +99 -0
  207. package/dist/skins/slab.min.css +1 -0
  208. package/dist/themes/aurora.css +18 -0
  209. package/dist/themes/aurora.min.css +1 -0
  210. package/dist/themes/capsule.css +18 -0
  211. package/dist/themes/capsule.min.css +1 -0
  212. package/dist/themes/console.css +18 -0
  213. package/dist/themes/console.min.css +1 -0
  214. package/dist/themes/dune.css +18 -0
  215. package/dist/themes/dune.min.css +1 -0
  216. package/dist/themes/iris.css +18 -0
  217. package/dist/themes/iris.min.css +1 -0
  218. package/dist/themes/orbit.css +18 -0
  219. package/dist/themes/orbit.min.css +1 -0
  220. package/dist/themes/paper.css +19 -0
  221. package/dist/themes/paper.min.css +1 -0
  222. package/dist/themes/void.css +18 -0
  223. package/dist/themes/void.min.css +1 -0
  224. package/dist/tokens.css +695 -0
  225. package/dist/tokens.min.css +1 -0
  226. package/dist/type.css +99 -0
  227. package/dist/type.min.css +1 -0
  228. package/dist/void.css +9673 -0
  229. package/dist/void.min.css +1 -0
  230. package/package.json +66 -8
  231. package/src/app-shell/detail.css +7 -5
  232. package/src/app-shell/subtable.css +7 -6
  233. package/src/base.css +28 -0
  234. package/src/components/accordion.css +96 -19
  235. package/src/components/action-input.css +51 -61
  236. package/src/components/alert.css +63 -23
  237. package/src/components/avatar.css +0 -2
  238. package/src/components/badge.css +35 -25
  239. package/src/components/banner.css +60 -19
  240. package/src/components/bar-chart.css +10 -3
  241. package/src/components/breadcrumbs.css +20 -16
  242. package/src/components/button.css +130 -55
  243. package/src/components/calendar.css +40 -17
  244. package/src/components/card.css +122 -23
  245. package/src/components/carousel.css +85 -118
  246. package/src/components/checkbox-group.css +3 -1
  247. package/src/components/checkbox.css +18 -23
  248. package/src/components/collapsible.css +95 -29
  249. package/src/components/color-picker.css +10 -10
  250. package/src/components/combobox.css +47 -29
  251. package/src/components/compose-input.css +3 -3
  252. package/src/components/dialog.css +115 -41
  253. package/src/components/divider.css +7 -4
  254. package/src/components/donut-chart.css +25 -15
  255. package/src/components/drawer.css +135 -68
  256. package/src/components/dropdown-menu.css +21 -43
  257. package/src/components/editable.css +7 -7
  258. package/src/components/error-fallback.css +48 -27
  259. package/src/components/field.css +12 -5
  260. package/src/components/file-upload.css +2 -1
  261. package/src/components/gauge.css +35 -23
  262. package/src/components/hamburger.css +10 -10
  263. package/src/components/hover-card.css +13 -113
  264. package/src/components/indicator.css +22 -18
  265. package/src/components/input.css +15 -12
  266. package/src/components/line-chart.css +10 -10
  267. package/src/components/list.css +28 -7
  268. package/src/components/menu.css +48 -33
  269. package/src/components/multiselect.css +57 -40
  270. package/src/components/nav-bar.css +23 -14
  271. package/src/components/nav-menu.css +31 -22
  272. package/src/components/number-input.css +56 -79
  273. package/src/components/overlay.css +215 -0
  274. package/src/components/pagination.css +42 -31
  275. package/src/components/panel.css +37 -11
  276. package/src/components/pin-input.css +23 -22
  277. package/src/components/popover.css +19 -35
  278. package/src/components/progress.css +19 -10
  279. package/src/components/radio-group.css +2 -1
  280. package/src/components/radio.css +15 -20
  281. package/src/components/scroll-area.css +3 -3
  282. package/src/components/segmented-control.css +46 -29
  283. package/src/components/select.css +99 -31
  284. package/src/components/sidebar.css +8 -4
  285. package/src/components/skeleton.css +8 -3
  286. package/src/components/slider.css +4 -2
  287. package/src/components/spinner.css +5 -4
  288. package/src/components/stat.css +59 -52
  289. package/src/components/status-dot.css +0 -1
  290. package/src/components/switch.css +18 -26
  291. package/src/components/table.css +443 -16
  292. package/src/components/tabs.css +92 -29
  293. package/src/components/tag.css +44 -20
  294. package/src/components/tags-input.css +43 -55
  295. package/src/components/textarea.css +15 -12
  296. package/src/components/toast.css +84 -22
  297. package/src/components/toggle.css +35 -42
  298. package/src/components/tooltip.css +19 -38
  299. package/src/core.css +98 -0
  300. package/src/forced-colors.css +134 -0
  301. package/src/index.css +4 -77
  302. package/src/knobs.css +101 -0
  303. package/src/layers.css +38 -0
  304. package/src/media/media.css +258 -0
  305. package/src/media/surface.css +143 -0
  306. package/src/patterns/data.css +461 -0
  307. package/src/patterns/page.css +348 -0
  308. package/src/patterns/shell.css +371 -0
  309. package/src/pre-upgrade.css +202 -0
  310. package/src/primitives.css +19 -97
  311. package/src/reset.css +45 -21
  312. package/src/skins/loft.css +114 -0
  313. package/src/skins/slab.css +107 -0
  314. package/src/themes/aurora.css +16 -0
  315. package/src/themes/capsule.css +16 -0
  316. package/src/themes/console.css +16 -0
  317. package/src/themes/dune.css +16 -0
  318. package/src/themes/iris.css +16 -0
  319. package/src/themes/orbit.css +16 -0
  320. package/src/themes/paper.css +18 -0
  321. package/src/themes/void.css +16 -0
  322. package/src/tokens.css +552 -98
  323. package/src/type.css +103 -0
@@ -0,0 +1,1015 @@
1
+ {
2
+ "$description": "Component tokens of @voidable/theme: per-component override points, read from the CSS source. The theme never declares them; each defaults to a role or semantic token. Set one on :root, on a subtree or on an element.",
3
+ "grammar": {
4
+ "pattern": "--void-<component>-<part?>-<property>-<state?>",
5
+ "roles": [
6
+ "container",
7
+ "float",
8
+ "control",
9
+ "field",
10
+ "item",
11
+ "rule"
12
+ ],
13
+ "parts": [
14
+ "header",
15
+ "footer",
16
+ "title",
17
+ "body",
18
+ "actions",
19
+ "trigger",
20
+ "content",
21
+ "item",
22
+ "label",
23
+ "icon",
24
+ "value"
25
+ ],
26
+ "properties": [
27
+ "surface",
28
+ "ink",
29
+ "border",
30
+ "border-width",
31
+ "radius",
32
+ "shadow",
33
+ "rule",
34
+ "rule-edge",
35
+ "rule-head",
36
+ "rule-between",
37
+ "rule-frame",
38
+ "gap",
39
+ "padding",
40
+ "padding-block",
41
+ "padding-inline",
42
+ "height",
43
+ "width",
44
+ "size",
45
+ "font-size",
46
+ "font-weight"
47
+ ],
48
+ "states": [
49
+ "hover",
50
+ "active",
51
+ "selected",
52
+ "disabled",
53
+ "invalid",
54
+ "open",
55
+ "focus"
56
+ ]
57
+ },
58
+ "roles": [
59
+ {
60
+ "name": "--void-container-padding",
61
+ "role": "container",
62
+ "default": "calc(1.25rem * var(--void-density))"
63
+ },
64
+ {
65
+ "name": "--void-container-surface",
66
+ "role": "container",
67
+ "default": "var(--void-color-surface)"
68
+ },
69
+ {
70
+ "name": "--void-container-border",
71
+ "role": "container",
72
+ "default": "var(--void-color-border)"
73
+ },
74
+ {
75
+ "name": "--void-container-border-width",
76
+ "role": "container",
77
+ "default": "1px"
78
+ },
79
+ {
80
+ "name": "--void-container-radius",
81
+ "role": "container",
82
+ "default": "var(--void-radius-lg)"
83
+ },
84
+ {
85
+ "name": "--void-container-shadow",
86
+ "role": "container",
87
+ "default": "none"
88
+ },
89
+ {
90
+ "name": "--void-float-surface",
91
+ "role": "float",
92
+ "default": "var(--void-color-bg-elevated)"
93
+ },
94
+ {
95
+ "name": "--void-float-border",
96
+ "role": "float",
97
+ "default": "var(--void-color-border)"
98
+ },
99
+ {
100
+ "name": "--void-float-border-width",
101
+ "role": "float",
102
+ "default": "1px"
103
+ },
104
+ {
105
+ "name": "--void-float-radius",
106
+ "role": "float",
107
+ "default": "var(--void-radius-lg)"
108
+ },
109
+ {
110
+ "name": "--void-float-shadow",
111
+ "role": "float",
112
+ "default": "var(--void-shadow-md)"
113
+ },
114
+ {
115
+ "name": "--void-control-radius",
116
+ "role": "control",
117
+ "default": "var(--void-radius-md)"
118
+ },
119
+ {
120
+ "name": "--void-control-border",
121
+ "role": "control",
122
+ "default": "var(--void-color-border-control)"
123
+ },
124
+ {
125
+ "name": "--void-control-border-width",
126
+ "role": "control",
127
+ "default": "1px"
128
+ },
129
+ {
130
+ "name": "--void-field-surface",
131
+ "role": "field",
132
+ "default": "var(--void-color-surface)"
133
+ },
134
+ {
135
+ "name": "--void-field-border",
136
+ "role": "field",
137
+ "default": "var(--void-control-border)"
138
+ },
139
+ {
140
+ "name": "--void-item-surface-selected",
141
+ "role": "item",
142
+ "default": "var(--void-color-bg-hover)"
143
+ },
144
+ {
145
+ "name": "--void-item-ink-selected",
146
+ "role": "item",
147
+ "default": "var(--void-color-text)"
148
+ },
149
+ {
150
+ "name": "--void-rule",
151
+ "role": "rule",
152
+ "default": "1px solid var(--void-color-border)"
153
+ },
154
+ {
155
+ "name": "--void-rule-between",
156
+ "role": "rule",
157
+ "default": "var(--void-rule)"
158
+ },
159
+ {
160
+ "name": "--void-rule-edge",
161
+ "role": "rule",
162
+ "default": "var(--void-rule)"
163
+ },
164
+ {
165
+ "name": "--void-rule-head",
166
+ "role": "rule",
167
+ "default": "var(--void-rule)"
168
+ },
169
+ {
170
+ "name": "--void-rule-frame",
171
+ "role": "rule",
172
+ "default": "var(--void-rule)"
173
+ }
174
+ ],
175
+ "components": {
176
+ "alert": [
177
+ {
178
+ "name": "--void-alert-border",
179
+ "part": null,
180
+ "property": "border",
181
+ "state": null,
182
+ "default": "var(--_void-tone-border)",
183
+ "description": "Edge colour of an alert that is not filled, in place of the edge of its tone."
184
+ },
185
+ {
186
+ "name": "--void-alert-border-width",
187
+ "part": null,
188
+ "property": "border-width",
189
+ "state": null,
190
+ "default": "var(--void-container-border-width)",
191
+ "description": "Edge thickness."
192
+ },
193
+ {
194
+ "name": "--void-alert-radius",
195
+ "part": null,
196
+ "property": "radius",
197
+ "state": null,
198
+ "default": "var(--void-radius-md)",
199
+ "description": "Corner radius: the control radius by default, so set it to follow the containers."
200
+ }
201
+ ],
202
+ "badge": [
203
+ {
204
+ "name": "--void-badge-height",
205
+ "part": null,
206
+ "property": "height",
207
+ "state": null,
208
+ "default": "1.375rem",
209
+ "description": "Least height and width. Applies at every size."
210
+ },
211
+ {
212
+ "name": "--void-badge-padding",
213
+ "part": null,
214
+ "property": "padding",
215
+ "state": null,
216
+ "default": "var(--void-space-2)",
217
+ "description": "Inline padding."
218
+ },
219
+ {
220
+ "name": "--void-badge-font-size",
221
+ "part": null,
222
+ "property": "font-size",
223
+ "state": null,
224
+ "default": "var(--void-text-xs)",
225
+ "description": "Size of the text."
226
+ },
227
+ {
228
+ "name": "--void-badge-radius",
229
+ "part": null,
230
+ "property": "radius",
231
+ "state": null,
232
+ "default": "var(--void-radius-full)",
233
+ "description": "Corner radius: a pill by default, whatever the radius knob says."
234
+ },
235
+ {
236
+ "name": "--void-badge-border",
237
+ "part": null,
238
+ "property": "border",
239
+ "state": null,
240
+ "default": "color-mix(in srgb, var(--_void-tone) 24%, transparent)",
241
+ "description": "Edge colour of an outline badge, in place of a tint of its tone."
242
+ }
243
+ ],
244
+ "button": [
245
+ {
246
+ "name": "--void-button-height",
247
+ "part": null,
248
+ "property": "height",
249
+ "state": null,
250
+ "default": "var(--void-control-height)",
251
+ "description": "Height of the button. Applies at every size step; for a proportional change set the --void-control-* steps instead."
252
+ },
253
+ {
254
+ "name": "--void-button-padding",
255
+ "part": null,
256
+ "property": "padding",
257
+ "state": null,
258
+ "default": "calc(var(--void-control-padding) * 1.25)",
259
+ "description": "Inline padding. Applies at every size step; for a proportional change set the --void-control-* steps instead."
260
+ },
261
+ {
262
+ "name": "--void-button-font-size",
263
+ "part": null,
264
+ "property": "font-size",
265
+ "state": null,
266
+ "default": "var(--void-control-text)",
267
+ "description": "Size of the label. Applies at every size step; for a proportional change set the --void-control-* steps instead."
268
+ },
269
+ {
270
+ "name": "--void-button-font-weight",
271
+ "part": null,
272
+ "property": "font-weight",
273
+ "state": null,
274
+ "default": "var(--void-weight-medium)",
275
+ "description": "Weight of the label."
276
+ },
277
+ {
278
+ "name": "--void-button-radius",
279
+ "part": null,
280
+ "property": "radius",
281
+ "state": null,
282
+ "default": "var(--void-control-radius)",
283
+ "description": "Corner radius."
284
+ },
285
+ {
286
+ "name": "--void-button-border",
287
+ "part": null,
288
+ "property": "border",
289
+ "state": null,
290
+ "default": "var(--void-color-border-control)",
291
+ "description": "Edge colour of the default outline button. A coloured button keeps the edge of its tone; a filled one is its tone."
292
+ },
293
+ {
294
+ "name": "--void-button-shadow",
295
+ "part": null,
296
+ "property": "shadow",
297
+ "state": null,
298
+ "default": "none",
299
+ "description": "Shadow of the outline and filled button at rest. A ghost button never casts one."
300
+ }
301
+ ],
302
+ "card": [
303
+ {
304
+ "name": "--void-card-surface",
305
+ "part": null,
306
+ "property": "surface",
307
+ "state": null,
308
+ "default": "var(--void-container-surface)",
309
+ "description": "Fill of the default card. The elevated variant takes the float role, the bordered variant has none."
310
+ },
311
+ {
312
+ "name": "--void-card-border",
313
+ "part": null,
314
+ "property": "border",
315
+ "state": null,
316
+ "default": "var(--void-container-border)",
317
+ "description": "Edge colour of the default card."
318
+ },
319
+ {
320
+ "name": "--void-card-border-width",
321
+ "part": null,
322
+ "property": "border-width",
323
+ "state": null,
324
+ "default": "var(--void-container-border-width)",
325
+ "description": "Edge thickness, every variant."
326
+ },
327
+ {
328
+ "name": "--void-card-radius",
329
+ "part": null,
330
+ "property": "radius",
331
+ "state": null,
332
+ "default": "var(--void-container-radius)",
333
+ "description": "Corner radius; the header, body and footer follow it."
334
+ },
335
+ {
336
+ "name": "--void-card-shadow",
337
+ "part": null,
338
+ "property": "shadow",
339
+ "state": null,
340
+ "default": "var(--void-container-shadow)",
341
+ "description": "Shadow of the default card."
342
+ },
343
+ {
344
+ "name": "--void-card-padding",
345
+ "part": null,
346
+ "property": "padding",
347
+ "state": null,
348
+ "default": "var(--void-container-padding)",
349
+ "description": "Padding of the header (inline), the body and the footer (inline). Applies whatever the padding attribute says, except padding=\"none\"."
350
+ }
351
+ ],
352
+ "description-list": [
353
+ {
354
+ "name": "--void-description-list-rule",
355
+ "part": null,
356
+ "property": "rule",
357
+ "state": null,
358
+ "default": "var(--void-rule-between)",
359
+ "description": "The line between pairs."
360
+ },
361
+ {
362
+ "name": "--void-description-list-rule-edge",
363
+ "part": null,
364
+ "property": "rule-edge",
365
+ "state": null,
366
+ "default": "var(--void-rule-edge)",
367
+ "description": "The lines above the first pair and below the last."
368
+ }
369
+ ],
370
+ "dialog": [
371
+ {
372
+ "name": "--void-dialog-radius",
373
+ "part": null,
374
+ "property": "radius",
375
+ "state": null,
376
+ "default": "var(--void-radius-xl)",
377
+ "description": "Corner radius of the panel (::part(surface))."
378
+ },
379
+ {
380
+ "name": "--void-dialog-shadow",
381
+ "part": null,
382
+ "property": "shadow",
383
+ "state": null,
384
+ "default": "var(--void-shadow-lg)",
385
+ "description": "Shadow of the panel (::part(surface))."
386
+ }
387
+ ],
388
+ "donut-chart": [
389
+ {
390
+ "name": "--void-donut-chart-size",
391
+ "part": null,
392
+ "property": "size",
393
+ "state": null,
394
+ "setting": true,
395
+ "default": "13.75rem",
396
+ "description": "the largest width (and height) of the chart. It fills its container up to this and shrinks with it below."
397
+ }
398
+ ],
399
+ "figure": [
400
+ {
401
+ "name": "--void-figure-surface",
402
+ "part": null,
403
+ "property": "surface",
404
+ "state": null,
405
+ "default": "transparent",
406
+ "description": "Fill of one figure."
407
+ },
408
+ {
409
+ "name": "--void-figure-radius",
410
+ "part": null,
411
+ "property": "radius",
412
+ "state": null,
413
+ "default": "0",
414
+ "description": "Corner radius of one figure."
415
+ },
416
+ {
417
+ "name": "--void-figure-shadow",
418
+ "part": null,
419
+ "property": "shadow",
420
+ "state": null,
421
+ "default": "none",
422
+ "description": "Shadow of one figure."
423
+ },
424
+ {
425
+ "name": "--void-figure-border",
426
+ "part": null,
427
+ "property": "border",
428
+ "state": null,
429
+ "default": "transparent",
430
+ "description": "Colour of the edge drawn just inside one figure."
431
+ },
432
+ {
433
+ "name": "--void-figure-border-width",
434
+ "part": null,
435
+ "property": "border-width",
436
+ "state": null,
437
+ "default": "0",
438
+ "description": "Thickness of that edge; 0 by default. Set it (the colour may be transparent) whenever a figure has a fill or a shadow: forced colours removes both, and the edge is what remains."
439
+ },
440
+ {
441
+ "name": "--void-figure-padding",
442
+ "part": null,
443
+ "property": "padding",
444
+ "state": null,
445
+ "default": "var(--void-gap-inside)",
446
+ "description": "Padding of every figure on every side. Unset, the first figure of a row sits flush on the content edge; set, each figure is a padded tile."
447
+ }
448
+ ],
449
+ "figures": [
450
+ {
451
+ "name": "--void-figures-gap",
452
+ "part": null,
453
+ "property": "gap",
454
+ "state": null,
455
+ "default": "0",
456
+ "description": "Space between figures; 0 by default, where rules separate them."
457
+ },
458
+ {
459
+ "name": "--void-figures-rule",
460
+ "part": null,
461
+ "property": "rule",
462
+ "state": null,
463
+ "default": "var(--void-rule-between)",
464
+ "description": "The line between two figures, beside and above."
465
+ },
466
+ {
467
+ "name": "--void-figures-rule-edge",
468
+ "part": null,
469
+ "property": "rule-edge",
470
+ "state": null,
471
+ "default": "var(--void-rule-edge)",
472
+ "description": "The lines above and below the row of figures."
473
+ }
474
+ ],
475
+ "gauge": [
476
+ {
477
+ "name": "--void-gauge-size",
478
+ "part": null,
479
+ "property": "size",
480
+ "state": null,
481
+ "setting": true,
482
+ "default": "13.75rem",
483
+ "description": "the largest width of the gauge. It fills its container up to this and shrinks with it below; the height follows from the arc."
484
+ }
485
+ ],
486
+ "list": [
487
+ {
488
+ "name": "--void-list-rule",
489
+ "part": null,
490
+ "property": "rule",
491
+ "state": null,
492
+ "default": "var(--void-rule-between)",
493
+ "description": "The line between the items of a list with dividers."
494
+ },
495
+ {
496
+ "name": "--void-list-item-surface-selected",
497
+ "part": "item",
498
+ "property": "surface",
499
+ "state": "selected",
500
+ "default": "var(--void-item-surface-selected)",
501
+ "description": "Fill of the selected item."
502
+ },
503
+ {
504
+ "name": "--void-list-item-ink-selected",
505
+ "part": "item",
506
+ "property": "ink",
507
+ "state": "selected",
508
+ "default": "var(--void-item-ink-selected)",
509
+ "description": "Text colour of the selected item. Set it with the surface: lint:contrast checks the pair."
510
+ }
511
+ ],
512
+ "nav-bar": [
513
+ {
514
+ "name": "--void-nav-bar-surface",
515
+ "part": null,
516
+ "property": "surface",
517
+ "state": null,
518
+ "default": "var(--void-color-bg)",
519
+ "description": "Fill of the bar. A bar over an image (data-void-surface=\"media\") stays transparent."
520
+ },
521
+ {
522
+ "name": "--void-nav-bar-rule",
523
+ "part": null,
524
+ "property": "rule",
525
+ "state": null,
526
+ "default": "var(--void-rule)",
527
+ "description": "The line under the bar (unless hide-border)."
528
+ },
529
+ {
530
+ "name": "--void-nav-bar-shadow",
531
+ "part": null,
532
+ "property": "shadow",
533
+ "state": null,
534
+ "default": "none",
535
+ "description": "Shadow under the bar."
536
+ }
537
+ ],
538
+ "nav-links": [
539
+ {
540
+ "name": "--void-nav-links-item-surface-selected",
541
+ "part": "item",
542
+ "property": "surface",
543
+ "state": "selected",
544
+ "default": "var(--void-item-surface-selected)",
545
+ "description": "Fill of the link to the current page."
546
+ },
547
+ {
548
+ "name": "--void-nav-links-item-ink-selected",
549
+ "part": "item",
550
+ "property": "ink",
551
+ "state": "selected",
552
+ "default": "var(--void-item-ink-selected)",
553
+ "description": "Text colour of the link to the current page. Set it with the surface: lint:contrast checks the pair."
554
+ }
555
+ ],
556
+ "page": [
557
+ {
558
+ "name": "--void-page-actions-surface",
559
+ "part": "actions",
560
+ "property": "surface",
561
+ "state": null,
562
+ "default": "transparent",
563
+ "description": "Fill of the actions that close a page or its form (void-actions directly in void-page, or in the form that wraps its sections). Unset, they sit on the page."
564
+ },
565
+ {
566
+ "name": "--void-page-actions-padding-block",
567
+ "part": "actions",
568
+ "property": "padding-block",
569
+ "state": null,
570
+ "default": "0",
571
+ "description": "Padding above and below those actions."
572
+ },
573
+ {
574
+ "name": "--void-page-actions-padding-inline",
575
+ "part": "actions",
576
+ "property": "padding-inline",
577
+ "state": null,
578
+ "default": "0",
579
+ "description": "Padding at their two ends."
580
+ },
581
+ {
582
+ "name": "--void-page-actions-radius",
583
+ "part": "actions",
584
+ "property": "radius",
585
+ "state": null,
586
+ "default": "0",
587
+ "description": "Corner radius of their box."
588
+ },
589
+ {
590
+ "name": "--void-page-actions-shadow",
591
+ "part": "actions",
592
+ "property": "shadow",
593
+ "state": null,
594
+ "default": "none",
595
+ "description": "Shadow of their box."
596
+ },
597
+ {
598
+ "name": "--void-page-actions-border",
599
+ "part": "actions",
600
+ "property": "border",
601
+ "state": null,
602
+ "default": "transparent",
603
+ "description": "Edge colour of their box."
604
+ },
605
+ {
606
+ "name": "--void-page-actions-border-width",
607
+ "part": "actions",
608
+ "property": "border-width",
609
+ "state": null,
610
+ "default": "0",
611
+ "description": "Edge thickness of their box; 0 by default. Set it (the colour may be transparent) whenever the box has a fill or a shadow: forced colours removes both, and the edge is what remains."
612
+ }
613
+ ],
614
+ "page-head": [
615
+ {
616
+ "name": "--void-page-head-rule",
617
+ "part": null,
618
+ "property": "rule",
619
+ "state": null,
620
+ "default": "var(--void-rule-head)",
621
+ "description": "The line under the page head."
622
+ },
623
+ {
624
+ "name": "--void-page-head-padding",
625
+ "part": null,
626
+ "property": "padding",
627
+ "state": null,
628
+ "default": "var(--void-gap-inside)",
629
+ "description": "Space between the head's text and that line."
630
+ }
631
+ ],
632
+ "pagination": [
633
+ {
634
+ "name": "--void-pagination-size",
635
+ "part": null,
636
+ "property": "size",
637
+ "state": null,
638
+ "default": "var(--void-control-height)",
639
+ "description": "Height and least width of a page button. Applies at every size step; for a proportional change set the --void-control-* steps instead."
640
+ },
641
+ {
642
+ "name": "--void-pagination-font-size",
643
+ "part": null,
644
+ "property": "font-size",
645
+ "state": null,
646
+ "default": "var(--void-control-text)",
647
+ "description": "Size of the page numbers. Applies at every size step; for a proportional change set the --void-control-* steps instead."
648
+ }
649
+ ],
650
+ "panel": [
651
+ {
652
+ "name": "--void-panel-padding",
653
+ "part": null,
654
+ "property": "padding",
655
+ "state": null,
656
+ "default": "var(--void-container-padding)",
657
+ "description": "Padding inside the panel."
658
+ }
659
+ ],
660
+ "rows": [
661
+ {
662
+ "name": "--void-rows-rule",
663
+ "part": null,
664
+ "property": "rule",
665
+ "state": null,
666
+ "default": "var(--void-rule-between)",
667
+ "description": "The line between rows."
668
+ },
669
+ {
670
+ "name": "--void-rows-rule-edge",
671
+ "part": null,
672
+ "property": "rule-edge",
673
+ "state": null,
674
+ "default": "var(--void-rule-edge)",
675
+ "description": "The lines above the first row and below the last."
676
+ },
677
+ {
678
+ "name": "--void-rows-padding",
679
+ "part": null,
680
+ "property": "padding",
681
+ "state": null,
682
+ "default": "var(--void-gap-inside)",
683
+ "description": "Block padding of a row."
684
+ }
685
+ ],
686
+ "section": [
687
+ {
688
+ "name": "--void-section-surface",
689
+ "part": null,
690
+ "property": "surface",
691
+ "state": null,
692
+ "default": "transparent",
693
+ "description": "Fill of a titled section (one with a heading, or one that holds a table). Unset, a section draws nothing."
694
+ },
695
+ {
696
+ "name": "--void-section-border",
697
+ "part": null,
698
+ "property": "border",
699
+ "state": null,
700
+ "default": "transparent",
701
+ "description": "Edge colour of a titled section."
702
+ },
703
+ {
704
+ "name": "--void-section-border-width",
705
+ "part": null,
706
+ "property": "border-width",
707
+ "state": null,
708
+ "default": "0",
709
+ "description": "Edge thickness of a titled section; 0 by default. Set it (the colour may be transparent) whenever the section has a fill or a shadow: forced colours removes both, and the edge is what remains."
710
+ },
711
+ {
712
+ "name": "--void-section-radius",
713
+ "part": null,
714
+ "property": "radius",
715
+ "state": null,
716
+ "default": "0",
717
+ "description": "Corner radius of a titled section."
718
+ },
719
+ {
720
+ "name": "--void-section-shadow",
721
+ "part": null,
722
+ "property": "shadow",
723
+ "state": null,
724
+ "default": "none",
725
+ "description": "Shadow of a titled section."
726
+ },
727
+ {
728
+ "name": "--void-section-padding",
729
+ "part": null,
730
+ "property": "padding",
731
+ "state": null,
732
+ "default": "0",
733
+ "description": "Padding inside a titled section."
734
+ },
735
+ {
736
+ "name": "--void-section-rule",
737
+ "part": null,
738
+ "property": "rule",
739
+ "state": null,
740
+ "default": "var(--void-rule-head)",
741
+ "description": "The line under the head of a `divided` section."
742
+ }
743
+ ],
744
+ "sidebar": [
745
+ {
746
+ "name": "--void-sidebar-surface",
747
+ "part": null,
748
+ "property": "surface",
749
+ "state": null,
750
+ "default": "var(--void-color-bg)",
751
+ "description": "Fill of the sidebar."
752
+ },
753
+ {
754
+ "name": "--void-sidebar-rule",
755
+ "part": null,
756
+ "property": "rule",
757
+ "state": null,
758
+ "default": "var(--void-rule)",
759
+ "description": "The line on its inner edge (under it when the shell turns it into a bar on a narrow screen)."
760
+ }
761
+ ],
762
+ "stat": [
763
+ {
764
+ "name": "--void-stat-padding",
765
+ "part": null,
766
+ "property": "padding",
767
+ "state": null,
768
+ "default": "var(--void-container-padding)",
769
+ "description": "Padding inside the stat. Applies at every size."
770
+ },
771
+ {
772
+ "name": "--void-stat-value-font-size",
773
+ "part": "value",
774
+ "property": "font-size",
775
+ "state": null,
776
+ "default": "var(--void-type-value-size)",
777
+ "description": "Size of the value. Applies at every size."
778
+ }
779
+ ],
780
+ "table": [
781
+ {
782
+ "name": "--void-table-rule",
783
+ "part": null,
784
+ "property": "rule",
785
+ "state": null,
786
+ "default": "var(--void-rule-between)",
787
+ "description": "The line between rows; with `bordered`, the grid is the --void-rule role."
788
+ },
789
+ {
790
+ "name": "--void-table-rule-head",
791
+ "part": null,
792
+ "property": "rule-head",
793
+ "state": null,
794
+ "default": "var(--void-rule-head)",
795
+ "description": "The line under the header row."
796
+ },
797
+ {
798
+ "name": "--void-table-rule-edge",
799
+ "part": null,
800
+ "property": "rule-edge",
801
+ "state": null,
802
+ "default": "var(--void-rule-edge)",
803
+ "description": "The line under the last row."
804
+ },
805
+ {
806
+ "name": "--void-table-surface",
807
+ "part": null,
808
+ "property": "surface",
809
+ "state": null,
810
+ "default": "var(--_void-under, var(--void-color-bg))",
811
+ "description": "What sticky cells are painted with: what the table sits on. A boxed section and `inset` set it for you."
812
+ },
813
+ {
814
+ "name": "--void-table-padding-block",
815
+ "part": null,
816
+ "property": "padding-block",
817
+ "state": null,
818
+ "default": "var(--void-cell-padding-block)",
819
+ "description": "Block padding of a cell (follows --void-density; `compact` has its own)."
820
+ },
821
+ {
822
+ "name": "--void-table-padding-inline",
823
+ "part": null,
824
+ "property": "padding-inline",
825
+ "state": null,
826
+ "default": "var(--void-cell-padding-inline)",
827
+ "description": "Inline padding of a cell."
828
+ },
829
+ {
830
+ "name": "--void-table-edge",
831
+ "part": null,
832
+ "property": "edge",
833
+ "state": null,
834
+ "setting": true,
835
+ "default": "0",
836
+ "description": "padding at the table's first and last column."
837
+ },
838
+ {
839
+ "name": "--void-table-stack-at",
840
+ "part": null,
841
+ "property": "stack-at",
842
+ "state": null,
843
+ "setting": true,
844
+ "default": "40rem",
845
+ "description": "container width below which [stack] stacks."
846
+ },
847
+ {
848
+ "name": "--void-table-tile",
849
+ "part": null,
850
+ "property": "tile",
851
+ "state": null,
852
+ "setting": true,
853
+ "default": "9rem",
854
+ "description": "least width of one label and value pair when stacked."
855
+ },
856
+ {
857
+ "name": "--void-table-row-size",
858
+ "part": null,
859
+ "property": "row-size",
860
+ "state": null,
861
+ "setting": true,
862
+ "default": "12rem",
863
+ "description": "height assumed for a stacked row of a long table that is out of view."
864
+ },
865
+ {
866
+ "name": "--void-table-fade",
867
+ "part": null,
868
+ "property": "fade",
869
+ "state": null,
870
+ "setting": true,
871
+ "default": "var(--void-space-8)",
872
+ "description": "width of the scroll-edge fade."
873
+ },
874
+ {
875
+ "name": "--void-table-sticky-top",
876
+ "part": null,
877
+ "property": "sticky-top",
878
+ "state": null,
879
+ "setting": true,
880
+ "default": "0",
881
+ "description": "offset of a sticky header from the top."
882
+ }
883
+ ],
884
+ "tabs": [
885
+ {
886
+ "name": "--void-tabs-height",
887
+ "part": null,
888
+ "property": "height",
889
+ "state": null,
890
+ "default": "var(--void-control-height)",
891
+ "description": "Height of a tab. Applies at every size step; for a proportional change set the --void-control-* steps instead."
892
+ },
893
+ {
894
+ "name": "--void-tabs-padding",
895
+ "part": null,
896
+ "property": "padding",
897
+ "state": null,
898
+ "default": "var(--void-control-padding)",
899
+ "description": "Inline padding of a tab. Applies at every size step; for a proportional change set the --void-control-* steps instead."
900
+ },
901
+ {
902
+ "name": "--void-tabs-font-size",
903
+ "part": null,
904
+ "property": "font-size",
905
+ "state": null,
906
+ "default": "var(--void-control-text)",
907
+ "description": "Size of a tab's label. Applies at every size step; for a proportional change set the --void-control-* steps instead."
908
+ },
909
+ {
910
+ "name": "--void-tabs-rule",
911
+ "part": null,
912
+ "property": "rule",
913
+ "state": null,
914
+ "default": "var(--void-rule-head)",
915
+ "description": "The line under the row of tabs."
916
+ }
917
+ ],
918
+ "tag": [
919
+ {
920
+ "name": "--void-tag-height",
921
+ "part": null,
922
+ "property": "height",
923
+ "state": null,
924
+ "default": "1.375rem",
925
+ "description": "Least height."
926
+ },
927
+ {
928
+ "name": "--void-tag-padding",
929
+ "part": null,
930
+ "property": "padding",
931
+ "state": null,
932
+ "default": "var(--void-space-2)",
933
+ "description": "Inline padding."
934
+ },
935
+ {
936
+ "name": "--void-tag-font-size",
937
+ "part": null,
938
+ "property": "font-size",
939
+ "state": null,
940
+ "default": "var(--void-text-xs)",
941
+ "description": "Size of the text."
942
+ },
943
+ {
944
+ "name": "--void-tag-radius",
945
+ "part": null,
946
+ "property": "radius",
947
+ "state": null,
948
+ "default": "var(--void-radius-full)",
949
+ "description": "Corner radius: a pill by default, whatever the radius knob says."
950
+ },
951
+ {
952
+ "name": "--void-tag-border",
953
+ "part": null,
954
+ "property": "border",
955
+ "state": null,
956
+ "default": "var(--_void-tone-border)",
957
+ "description": "Edge colour, of the plain tag and of a coloured one, in place of the hairline or the tint of its tone."
958
+ }
959
+ ],
960
+ "toast": [
961
+ {
962
+ "name": "--void-toast-shadow",
963
+ "part": null,
964
+ "property": "shadow",
965
+ "state": null,
966
+ "default": "var(--void-shadow-lg)",
967
+ "description": "Shadow of a toast, which lies highest over the page."
968
+ }
969
+ ],
970
+ "toggle": [
971
+ {
972
+ "name": "--void-toggle-size",
973
+ "part": null,
974
+ "property": "size",
975
+ "state": null,
976
+ "default": "var(--void-control-height)",
977
+ "description": "Least height and width. Applies at every size step; for a proportional change set the --void-control-* steps instead."
978
+ },
979
+ {
980
+ "name": "--void-toggle-font-size",
981
+ "part": null,
982
+ "property": "font-size",
983
+ "state": null,
984
+ "default": "var(--void-control-text)",
985
+ "description": "Size of the label. Applies at every size step; for a proportional change set the --void-control-* steps instead."
986
+ }
987
+ ],
988
+ "tooltip": [
989
+ {
990
+ "name": "--void-tooltip-surface",
991
+ "part": null,
992
+ "property": "surface",
993
+ "state": null,
994
+ "default": "var(--void-float-surface)",
995
+ "description": "Fill of the bubble."
996
+ },
997
+ {
998
+ "name": "--void-tooltip-ink",
999
+ "part": null,
1000
+ "property": "ink",
1001
+ "state": null,
1002
+ "default": "var(--void-color-text)",
1003
+ "description": "Text colour of the bubble. Set it with the surface: lint:contrast checks the pair."
1004
+ },
1005
+ {
1006
+ "name": "--void-tooltip-border",
1007
+ "part": null,
1008
+ "property": "border",
1009
+ "state": null,
1010
+ "default": "var(--void-float-border)",
1011
+ "description": "Edge colour of the bubble."
1012
+ }
1013
+ ]
1014
+ }
1015
+ }