@beehexa/design-tokens 2611.8.1 → 2611.17.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.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "button": {
3
- "$description": "Button paint that differs from its family. Survey 55 (18 design systems): a no-fill or bordered neutral button darkens 4–12% on hover and 8–16% when pressed; the row and menu family (color.background.neutral.subtle) stays lighter so a hovered row never looks selected.",
3
+ "$description": "Button paint that differs from its family. Survey 55 (18 design systems): a no-fill or bordered neutral button darkens 4–12% on hover and 8–16% when pressed; the row and menu family (color.background.neutral.subtle) stays lighter (both translucent, Interaction states rule 2) so a hovered row never looks selected.",
4
4
  "background": {
5
5
  "subtle": {
6
6
  "hover": {
7
7
  "$type": "color",
8
- "$value": "{color.background.neutral}",
9
- "$description": "Subtle and Default buttons on hover: one neutral step (graphite 3 in light, about 5% darker than white). Rows and menu items keep color.background.neutral.subtle.hover.",
8
+ "$value": "{color.background.neutral.transparent.hover}",
9
+ "$description": "Subtle and Default buttons on hover: color.background.neutral.transparent.hover (about 4% black in light), laid over whatever is under the button. Rows and menu items keep color.background.neutral.subtle.hover.",
10
10
  "$extensions": {
11
11
  "design.beehexa": {
12
12
  "component": "button"
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "pressed": {
17
17
  "$type": "color",
18
- "$value": "{color.background.neutral.hover}",
19
- "$description": "Subtle and Default buttons while pressed: two neutral steps (graphite 4 in light, about 9% darker than white). Not in the contrast check; text and border keep their rest colour.",
18
+ "$value": "{color.background.neutral.transparent.pressed}",
19
+ "$description": "Subtle and Default buttons while pressed: color.background.neutral.transparent.pressed (about 8% black in light). Not in the contrast check; text and border keep their rest colour.",
20
20
  "$extensions": {
21
21
  "design.beehexa": {
22
22
  "component": "button"
@@ -26,11 +26,12 @@
26
26
  },
27
27
  "selected": {
28
28
  "$type": "color",
29
- "$value": "{color.background.neutral.pressed}",
29
+ "$value": "{color.graphite.5}",
30
30
  "$description": "A toggle button that is on (aria-pressed=\"true\"): two neutral steps above the button hover (graphite 5 in light), so it never looks like a hovered button. Always with color.border.bold as the second cue.",
31
31
  "$extensions": {
32
32
  "design.beehexa": {
33
- "component": "button"
33
+ "component": "button",
34
+ "dark": "{color.graphite.6}"
34
35
  }
35
36
  }
36
37
  }
@@ -6,7 +6,7 @@
6
6
  "yellow": {
7
7
  "$type": "color",
8
8
  "$value": "#fcb017",
9
- "$description": "Brand yellow. Logo, current-page indicator, highlights. Never text or icons on a light background (1.85:1 on white)."
9
+ "$description": "Brand yellow. Logo, highlights, and the current-page indicator in dark (light uses color.yellow.9 for it). Never text or icons on a light background (1.85:1 on white)."
10
10
  },
11
11
  "graphite": {
12
12
  "$type": "color",
@@ -24,7 +24,7 @@
24
24
  "white": {
25
25
  "$type": "color",
26
26
  "$value": "#ffffff",
27
- "$description": "White in both themes: text on solid status fills."
27
+ "$description": "White in both themes. text.on-bold and icon.on-bold use it in light only; in dark they take graphite 1."
28
28
  },
29
29
  "black": {
30
30
  "$type": "color",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "2": {
47
47
  "$type": "color",
48
- "$value": "#f8f8f8",
48
+ "$value": "#f1f1f0",
49
49
  "$description": "Subtle background: table headers, quiet areas.",
50
50
  "$extensions": {
51
51
  "design.beehexa": {
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "3": {
57
57
  "$type": "color",
58
- "$value": "#f2f2f1",
58
+ "$value": "#e5e5e4",
59
59
  "$description": "Component background at rest.",
60
60
  "$extensions": {
61
61
  "design.beehexa": {
@@ -65,37 +65,37 @@
65
65
  },
66
66
  "4": {
67
67
  "$type": "color",
68
- "$value": "#e8e8e7",
68
+ "$value": "#d9d9d8",
69
69
  "$description": "Component background on hover.",
70
70
  "$extensions": {
71
71
  "design.beehexa": {
72
- "dark": "#302f2e"
72
+ "dark": "#31302f"
73
73
  }
74
74
  }
75
75
  },
76
76
  "5": {
77
77
  "$type": "color",
78
- "$value": "#dfdedd",
78
+ "$value": "#cdcccb",
79
79
  "$description": "Component background when pressed or selected.",
80
80
  "$extensions": {
81
81
  "design.beehexa": {
82
- "dark": "#373735"
82
+ "dark": "#393937"
83
83
  }
84
84
  }
85
85
  },
86
86
  "6": {
87
87
  "$type": "color",
88
- "$value": "#d0cfce",
88
+ "$value": "#bdbcbb",
89
89
  "$description": "Subtle border: dividers, cards.",
90
90
  "$extensions": {
91
91
  "design.beehexa": {
92
- "dark": "#434241"
92
+ "dark": "#454443"
93
93
  }
94
94
  }
95
95
  },
96
96
  "7": {
97
97
  "$type": "color",
98
- "$value": "#bcbbb9",
98
+ "$value": "#aaa9a8",
99
99
  "$description": "Border of interactive elements.",
100
100
  "$extensions": {
101
101
  "design.beehexa": {
@@ -105,7 +105,7 @@
105
105
  },
106
106
  "8": {
107
107
  "$type": "color",
108
- "$value": "#a3a29f",
108
+ "$value": "#949390",
109
109
  "$description": "Strong border. Disabled text and icons (text.disabled, icon.disabled).",
110
110
  "$extensions": {
111
111
  "design.beehexa": {
@@ -115,7 +115,7 @@
115
115
  },
116
116
  "9": {
117
117
  "$type": "color",
118
- "$value": "#878582",
118
+ "$value": "#7b7976",
119
119
  "$description": "Edge of controls (border.bold): 3:1 on every neutral fill, selected rows included.",
120
120
  "$extensions": {
121
121
  "design.beehexa": {
@@ -125,7 +125,7 @@
125
125
  },
126
126
  "10": {
127
127
  "$type": "color",
128
- "$value": "#676663",
128
+ "$value": "#5f5e5b",
129
129
  "$description": "Tertiary text (text.subtlest) and secondary icons (icon.subtle). The primary button when pressed.",
130
130
  "$extensions": {
131
131
  "design.beehexa": {
@@ -135,11 +135,11 @@
135
135
  },
136
136
  "11": {
137
137
  "$type": "color",
138
- "$value": "#494846",
138
+ "$value": "#42413f",
139
139
  "$description": "Secondary text (text.subtle) and default icons. The primary button on hover.",
140
140
  "$extensions": {
141
141
  "design.beehexa": {
142
- "dark": "#cac9c6"
142
+ "dark": "#cdccc9"
143
143
  }
144
144
  }
145
145
  },
@@ -155,6 +155,129 @@
155
155
  },
156
156
  "$description": "Neutral scale, a warm grey (OKLCH hue 85°, half the chroma of the source warm grey). Steps follow the shared grey lightness ladder; step 12 is the brand graphite in light. Dark steps 1–8 are evenly spaced backgrounds and borders, page at L* 8. Each step has a dark-theme value under the same name."
157
157
  },
158
+ "graphite-alpha": {
159
+ "$description": "Translucent graphite, after the Radix alpha scales. Step n laid over graphite 1 gives graphite n (within 1 of 255 per channel for steps 1–7, within 3 for steps 8–12, as graphite is warm and the alpha is plain black or white; checked by scripts/check-palette.mjs). Black in light, white in dark. Laid over any other surface, it darkens (or lightens) that surface by the same amount. Products never use it directly: it feeds the state fills of elements with no fill at rest (Interaction states, rule 2).",
160
+ "1": {
161
+ "$type": "color",
162
+ "$value": "#00000000",
163
+ "$description": "Graphite 1, translucent.",
164
+ "$extensions": {
165
+ "design.beehexa": {
166
+ "dark": "#ffffff00"
167
+ }
168
+ }
169
+ },
170
+ "2": {
171
+ "$type": "color",
172
+ "$value": "#0000000c",
173
+ "$description": "Graphite 2, translucent.",
174
+ "$extensions": {
175
+ "design.beehexa": {
176
+ "dark": "#ffffff09"
177
+ }
178
+ }
179
+ },
180
+ "3": {
181
+ "$type": "color",
182
+ "$value": "#00000018",
183
+ "$description": "Graphite 3, translucent.",
184
+ "$extensions": {
185
+ "design.beehexa": {
186
+ "dark": "#ffffff12"
187
+ }
188
+ }
189
+ },
190
+ "4": {
191
+ "$type": "color",
192
+ "$value": "#00000024",
193
+ "$description": "Graphite 4, translucent.",
194
+ "$extensions": {
195
+ "design.beehexa": {
196
+ "dark": "#ffffff1a"
197
+ }
198
+ }
199
+ },
200
+ "5": {
201
+ "$type": "color",
202
+ "$value": "#00000031",
203
+ "$description": "Graphite 5, translucent.",
204
+ "$extensions": {
205
+ "design.beehexa": {
206
+ "dark": "#ffffff24"
207
+ }
208
+ }
209
+ },
210
+ "6": {
211
+ "$type": "color",
212
+ "$value": "#00000041",
213
+ "$description": "Graphite 6, translucent.",
214
+ "$extensions": {
215
+ "design.beehexa": {
216
+ "dark": "#ffffff31"
217
+ }
218
+ }
219
+ },
220
+ "7": {
221
+ "$type": "color",
222
+ "$value": "#00000054",
223
+ "$description": "Graphite 7, translucent.",
224
+ "$extensions": {
225
+ "design.beehexa": {
226
+ "dark": "#ffffff42"
227
+ }
228
+ }
229
+ },
230
+ "8": {
231
+ "$type": "color",
232
+ "$value": "#0000006b",
233
+ "$description": "Graphite 8, translucent.",
234
+ "$extensions": {
235
+ "design.beehexa": {
236
+ "dark": "#ffffff59"
237
+ }
238
+ }
239
+ },
240
+ "9": {
241
+ "$type": "color",
242
+ "$value": "#00000085",
243
+ "$description": "Graphite 9, translucent.",
244
+ "$extensions": {
245
+ "design.beehexa": {
246
+ "dark": "#ffffff78"
247
+ }
248
+ }
249
+ },
250
+ "10": {
251
+ "$type": "color",
252
+ "$value": "#000000a1",
253
+ "$description": "Graphite 10, translucent.",
254
+ "$extensions": {
255
+ "design.beehexa": {
256
+ "dark": "#ffffff9c"
257
+ }
258
+ }
259
+ },
260
+ "11": {
261
+ "$type": "color",
262
+ "$value": "#000000bd",
263
+ "$description": "Graphite 11, translucent.",
264
+ "$extensions": {
265
+ "design.beehexa": {
266
+ "dark": "#ffffffc6"
267
+ }
268
+ }
269
+ },
270
+ "12": {
271
+ "$type": "color",
272
+ "$value": "#000000d4",
273
+ "$description": "Graphite 12, translucent.",
274
+ "$extensions": {
275
+ "design.beehexa": {
276
+ "dark": "#ffffffeb"
277
+ }
278
+ }
279
+ }
280
+ },
158
281
  "yellow": {
159
282
  "1": {
160
283
  "$type": "color",
@@ -917,18 +1040,33 @@
917
1040
  "neutral": {
918
1041
  "$root": {
919
1042
  "$type": "color",
920
- "$value": "{color.graphite.3}",
921
- "$description": "Neutral fill at rest: default buttons, tags, inputs on a subtle surface."
1043
+ "$value": "{color.graphite.2}",
1044
+ "$description": "Neutral fill at rest: default buttons, tags, inputs on a subtle surface.",
1045
+ "$extensions": {
1046
+ "design.beehexa": {
1047
+ "dark": "{color.graphite.3}"
1048
+ }
1049
+ }
922
1050
  },
923
1051
  "hover": {
924
1052
  "$type": "color",
925
- "$value": "{color.graphite.4}",
926
- "$description": "Neutral fill on hover."
1053
+ "$value": "{color.graphite.3}",
1054
+ "$description": "Neutral fill on hover.",
1055
+ "$extensions": {
1056
+ "design.beehexa": {
1057
+ "dark": "{color.graphite.4}"
1058
+ }
1059
+ }
927
1060
  },
928
1061
  "pressed": {
929
1062
  "$type": "color",
930
- "$value": "{color.graphite.5}",
931
- "$description": "Neutral fill when pressed."
1063
+ "$value": "{color.graphite.4}",
1064
+ "$description": "Neutral fill when pressed.",
1065
+ "$extensions": {
1066
+ "design.beehexa": {
1067
+ "dark": "{color.graphite.5}"
1068
+ }
1069
+ }
932
1070
  },
933
1071
  "subtle": {
934
1072
  "$root": {
@@ -938,21 +1076,21 @@
938
1076
  },
939
1077
  "hover": {
940
1078
  "$type": "color",
941
- "$value": "{color.graphite.2}",
942
- "$description": "Row, menu item or ghost button on hover. Lighter than selected, so a hovered row never looks selected.",
1079
+ "$value": "{color.graphite-alpha.2}",
1080
+ "$description": "Row, menu item or ghost button on hover. Translucent, so it shows on any surface (a white card, a grey panel). Lighter than selected, so a hovered row never looks selected.",
943
1081
  "$extensions": {
944
1082
  "design.beehexa": {
945
- "dark": "{color.graphite.3}"
1083
+ "dark": "{color.graphite-alpha.2}"
946
1084
  }
947
1085
  }
948
1086
  },
949
1087
  "pressed": {
950
1088
  "$type": "color",
951
- "$value": "{color.graphite.3}",
952
- "$description": "Row, menu item or ghost button when pressed.",
1089
+ "$value": "{color.graphite-alpha.3}",
1090
+ "$description": "Row, menu item or ghost button when pressed. Translucent, like the hover.",
953
1091
  "$extensions": {
954
1092
  "design.beehexa": {
955
- "dark": "{color.graphite.4}"
1093
+ "dark": "{color.graphite-alpha.3}"
956
1094
  }
957
1095
  }
958
1096
  }
@@ -973,6 +1111,28 @@
973
1111
  "$value": "{color.graphite.10}",
974
1112
  "$description": "Primary button when pressed: two steps back from graphite 12."
975
1113
  }
1114
+ },
1115
+ "transparent": {
1116
+ "hover": {
1117
+ "$type": "color",
1118
+ "$value": "{color.graphite-alpha.3}",
1119
+ "$description": "A control with no fill at rest (Subtle and Default buttons) on hover. One step stronger than color.background.neutral.subtle.hover, which rows and menu items use so a hovered row never looks like a selected one. Translucent, so it shows on any surface.",
1120
+ "$extensions": {
1121
+ "design.beehexa": {
1122
+ "dark": "{color.graphite-alpha.3}"
1123
+ }
1124
+ }
1125
+ },
1126
+ "pressed": {
1127
+ "$type": "color",
1128
+ "$value": "{color.graphite-alpha.4}",
1129
+ "$description": "A control with no fill at rest while pressed. Translucent.",
1130
+ "$extensions": {
1131
+ "design.beehexa": {
1132
+ "dark": "{color.graphite-alpha.4}"
1133
+ }
1134
+ }
1135
+ }
976
1136
  }
977
1137
  },
978
1138
  "selected": {
@@ -999,8 +1159,13 @@
999
1159
  },
1000
1160
  "disabled": {
1001
1161
  "$type": "color",
1002
- "$value": "{color.graphite.3}",
1003
- "$description": "Background of disabled controls."
1162
+ "$value": "{color.graphite.2}",
1163
+ "$description": "Background of disabled controls.",
1164
+ "$extensions": {
1165
+ "design.beehexa": {
1166
+ "dark": "{color.graphite.3}"
1167
+ }
1168
+ }
1004
1169
  },
1005
1170
  "brand": {
1006
1171
  "subtle": {
@@ -1299,12 +1464,17 @@
1299
1464
  "focus": {
1300
1465
  "$type": "color",
1301
1466
  "$value": "{color.blue.11}",
1302
- "$description": "Focus ring: 2 px, 2 px away from the control. 3:1 on every surface and selected row."
1467
+ "$description": "Focus ring: 2 px, 2 px away from the control. 3:1 on every surface and selected row. Text fields: their 1 px border turns this colour and a 2 px inset ring of the same colour sits inside it, a 3 px solid edge with no halo."
1303
1468
  },
1304
1469
  "selected": {
1305
1470
  "$type": "color",
1306
- "$value": "{color.brand.yellow}",
1307
- "$description": "Indicator bar of the current page or tab. Always with a second cue."
1471
+ "$value": "{color.yellow.9}",
1472
+ "$description": "Indicator bar of the current page or tab. Yellow 9 in light, so the bar reaches 3:1 on the page and on background.selected; brand yellow in dark. Always with a second cue.",
1473
+ "$extensions": {
1474
+ "design.beehexa": {
1475
+ "dark": "{color.brand.yellow}"
1476
+ }
1477
+ }
1308
1478
  },
1309
1479
  "brand": {
1310
1480
  "$root": {
@@ -11,7 +11,11 @@
11
11
  "avatar": {
12
12
  "size": {
13
13
  "default": { "$type": "dimension", "$value": "{size.control.default}", "$description": "32 px. Avatar everywhere except dense tables and lists; the same height as a default control.", "$extensions": { "design.beehexa": { "component": "avatar" } } },
14
- "small": { "$type": "dimension", "$value": "{size.control.small}", "$description": "24 px. Avatar in dense tables and lists; the same height as a small control.", "$extensions": { "design.beehexa": { "component": "avatar" } } }
14
+ "small": { "$type": "dimension", "$value": "{size.control.small}", "$description": "24 px. Avatar in dense tables and lists; the same height as a small control.", "$extensions": { "design.beehexa": { "component": "avatar" } } },
15
+ "large": { "$type": "dimension", "$value": "{size.control.large}", "$description": "40 px. Avatar in a page or profile header; the same height as a large control.", "$extensions": { "design.beehexa": { "component": "avatar" } } }
16
+ },
17
+ "badge": {
18
+ "size": { "$type": "dimension", "$value": "{space.100}", "$description": "8 px. Status dot on an avatar.", "$extensions": { "design.beehexa": { "component": "avatar" } } }
15
19
  }
16
20
  },
17
21
  "label": {
@@ -35,5 +39,37 @@
35
39
  "small": { "$type": "dimension", "$value": "{size.control.small}", "$description": "24 px. Chip in dense toolbars.", "$extensions": { "design.beehexa": { "component": "chip" } } },
36
40
  "default": { "$type": "dimension", "$value": "{size.control.default}", "$description": "32 px. Chip everywhere else.", "$extensions": { "design.beehexa": { "component": "chip" } } }
37
41
  }
42
+ },
43
+ "radio": {
44
+ "size": {
45
+ "dot": { "$type": "dimension", "$value": "{space.100}", "$description": "8 px. Dot inside a checked 16 px radio.", "$extensions": { "design.beehexa": { "component": "radio" } } }
46
+ }
47
+ },
48
+ "slider": {
49
+ "size": {
50
+ "track-min-length": { "$type": "dimension", "$value": "10rem", "$description": "160 px. Shortest a vertical slider gets.", "$extensions": { "design.beehexa": { "component": "slider" } } },
51
+ "thumb": { "$type": "dimension", "$value": "{space.200}", "$description": "16 px. Slider thumb; the same size as switch.size.thumb.", "$extensions": { "design.beehexa": { "component": "slider" } } }
52
+ }
53
+ },
54
+ "kbd": {
55
+ "height": { "$type": "dimension", "$value": "{space.250}", "$description": "20 px. Height of a keyboard key; the same height as a status label.", "$extensions": { "design.beehexa": { "component": "kbd" } } }
56
+ },
57
+ "drawer": {
58
+ "handle": {
59
+ "width": { "$type": "dimension", "$value": "{space.1000}", "$description": "80 px. Grab bar at the top of a bottom drawer. Thickness size.track.default, radius.full, colour color.border.bold.", "$extensions": { "design.beehexa": { "component": "drawer" } } }
60
+ }
61
+ },
62
+ "empty": {
63
+ "max-width": { "$type": "dimension", "$value": "24rem", "$description": "384 px. Widest the title, text and actions of an empty state grow, so lines stay short.", "$extensions": { "design.beehexa": { "component": "empty" } } }
64
+ },
65
+ "attachment": {
66
+ "width": {
67
+ "tile": { "$type": "dimension", "$value": "6rem", "$description": "96 px. A vertical attachment tile with only a preview.", "$extensions": { "design.beehexa": { "component": "attachment" } } },
68
+ "card": { "$type": "dimension", "$value": "7.5rem", "$description": "120 px. A vertical attachment with a preview and its name.", "$extensions": { "design.beehexa": { "component": "attachment" } } }
69
+ },
70
+ "min-width": { "$type": "dimension", "$value": "10rem", "$description": "160 px. Narrowest a horizontal attachment row gets.", "$extensions": { "design.beehexa": { "component": "attachment" } } }
71
+ },
72
+ "toast": {
73
+ "width": { "$type": "dimension", "$value": "22.5rem", "$description": "360 px. Width of a toast; one width keeps the stack aligned.", "$extensions": { "design.beehexa": { "component": "toast" } } }
38
74
  }
39
75
  }
@@ -13,14 +13,14 @@
13
13
  "show": { "$type": "duration", "$value": "300ms", "$description": "300 ms. A tooltip shows after the pointer rests this long; at once on keyboard focus, and at once for the next tooltip. A waiting time, not a duration: it stays the same under reduced motion." },
14
14
  "hide": { "$type": "duration", "$value": "100ms", "$description": "100 ms. A tooltip hides this long after the pointer leaves. Stays the same under reduced motion." }
15
15
  },
16
- "spinner": { "$type": "duration", "$value": "300ms", "$description": "300 ms. Show a spinner only when a wait passes this long, so quick loads do not flash. Stays the same under reduced motion." },
16
+ "spinner": { "$type": "duration", "$value": "1000ms", "$description": "1000 ms. Show a spinner only when a wait passes this long, so quick loads do not flash; under 1 second people stay in flow without a progress sign. Stays the same under reduced motion." },
17
17
  "toast": {
18
18
  "$root": { "$type": "duration", "$value": "5000ms", "$description": "5 s. A toast closes after this long. The timer pauses while the pointer or focus is on it." },
19
19
  "action": { "$type": "duration", "$value": "10000ms", "$description": "10 s. A toast with an action closes after this long. The timer pauses while the pointer or focus is on it." }
20
20
  }
21
21
  },
22
22
  "loop": {
23
- "spinner": { "$type": "duration", "$value": "1000ms", "$description": "1 s. One full turn of a loading spinner, at constant speed. Under reduced motion it turns at half speed but never stops, because it is the only sign that work is running." }
23
+ "spinner": { "$type": "duration", "$value": "1000ms", "$description": "1 s. One full turn of a loading spinner, at constant speed. Reduced motion does not change it: the spinner keeps turning at this speed, because it is the only sign that work is running." }
24
24
  },
25
25
  "easing": {
26
26
  "standard": { "$type": "cubicBezier", "$value": "cubic-bezier(0.4, 0, 0.2, 1)", "$description": "Speeds up, then slows down. Things that move within the screen, and changes the system makes on its own." },
@@ -14,6 +14,22 @@
14
14
  "medium": { "$type": "dimension", "$value": "1.25rem", "$description": "20 px. Icons next to 16 px text, in toolbars and in the page header." },
15
15
  "large": { "$type": "dimension", "$value": "1.5rem", "$description": "24 px. An icon on its own, such as a status in a card or a small empty state." },
16
16
  "empty": { "$type": "dimension", "$value": "2rem", "$description": "32 px. Empty states only." }
17
+ },
18
+ "tooltip": {
19
+ "max-width": { "$type": "dimension", "$value": "15rem", "$description": "240 px. Widest a tooltip grows before its text wraps. Atlassian and Fluent use 240 px, Ant and Primer 250 px; the range across 7 systems is 200 to 300 px." }
20
+ },
21
+ "track": {
22
+ "default": { "$type": "dimension", "$value": "{space.050}", "$description": "4 px. Thickness of a thin track or grab bar: progress, slider track, drawer handle. Pair with radius.full." }
23
+ },
24
+ "overlay": {
25
+ "min-width": { "$type": "dimension", "$value": "8rem", "$description": "128 px. Narrowest a menu or a select, combobox or command list gets; it grows to its trigger or its widest item." },
26
+ "width": { "$type": "dimension", "$value": "18rem", "$description": "288 px. Width of a popover or hover card that holds content." },
27
+ "max-height": { "$type": "dimension", "$value": "18rem", "$description": "288 px. Tallest a combobox or command list grows before it scrolls: about eight 32 px items." }
28
+ },
29
+ "dialog": {
30
+ "default": { "$type": "dimension", "$value": "32rem", "$description": "512 px. Widest a dialog grows, on screens wider than that plus the page margins." },
31
+ "small": { "$type": "dimension", "$value": "24rem", "$description": "384 px. Widest an alert dialog or a side drawer of a few controls grows." },
32
+ "xsmall": { "$type": "dimension", "$value": "20rem", "$description": "320 px. A small alert dialog (one short question), and the narrowest phone width an alert dialog keeps." }
17
33
  }
18
34
  }
19
35
  }
@@ -26,8 +26,9 @@
26
26
  "x": { "$type": "dimension", "$value": "{space.150}", "$description": "Side padding of items in menus, lists and side navigation.", "$extensions": { "design.beehexa": { "family": "item" } } }
27
27
  },
28
28
  "overlay": {
29
- "$root": { "$type": "dimension", "$value": "{space.050}", "$description": "Inside menus, selects and popovers, around their items. Nests the corners: radius.overlay = radius.item + space.overlay.", "$extensions": { "design.beehexa": { "family": "overlay" } } },
30
- "offset": { "$type": "dimension", "$value": "{space.050}", "$description": "Between a menu, popover or tooltip and the element that opened it.", "$extensions": { "design.beehexa": { "family": "overlay" } } }
29
+ "$root": { "$type": "dimension", "$value": "{space.050}", "$description": "Inside menus, selects and popovers that hold a list, around their items. Nests the corners: radius.overlay = radius.item + space.overlay.", "$extensions": { "design.beehexa": { "family": "overlay" } } },
30
+ "offset": { "$type": "dimension", "$value": "{space.050}", "$description": "Between a menu, popover or tooltip and the element that opened it.", "$extensions": { "design.beehexa": { "family": "overlay" } } },
31
+ "content": { "$type": "dimension", "$value": "{space.200}", "$description": "16 px. Inside popovers and hover cards that hold content rather than a list. Lists keep space.overlay.", "$extensions": { "design.beehexa": { "family": "overlay" } } }
31
32
  },
32
33
  "card": { "$type": "dimension", "$value": "{space.300}", "$description": "Inside cards and panels.", "$extensions": { "design.beehexa": { "family": "card" } } },
33
34
  "modal": {
@@ -530,6 +530,16 @@
530
530
  "component": "visualization"
531
531
  }
532
532
  }
533
+ },
534
+ "legend-mark-size": {
535
+ "$type": "dimension",
536
+ "$value": "{space.100}",
537
+ "$description": "8 px. Colour mark beside a legend label.",
538
+ "$extensions": {
539
+ "design.beehexa": {
540
+ "component": "visualization"
541
+ }
542
+ }
533
543
  }
534
544
  }
535
545
  }