@beehexa/design-tokens 2611.5.5 → 2611.6.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.
package/README.md CHANGED
@@ -73,9 +73,8 @@ hover/active; standards-only engines use native `thin` geometry and host
73
73
  hover/active colors because their API has no thumb-state pseudo-elements. Platform
74
74
  overlay visibility/geometry remains native, and forced-colors mode retains native
75
75
  system scrollbar paint and geometry. Keyboard, wheel and touch scrolling remain
76
- natural. Full ownership, accessibility, fallback and verification guidance is the
77
- active installed rule `en/foundations/styles/scrollbars` in
78
- `@beehexa/design-rules` (source `src/content/foundations/styles/scrollbars.mdx`).
76
+ natural. Full ownership, accessibility and fallback guidance is the Scrollbar
77
+ component (source `src/content/components/scrollbar/`).
79
78
 
80
79
  ## Source authority and limits
81
80
 
@@ -46,7 +46,7 @@
46
46
  "2": {
47
47
  "$type": "color",
48
48
  "$value": "#f8f8f8",
49
- "$description": "Subtle background: sidebars, table headers, quiet areas.",
49
+ "$description": "Subtle background: table headers, quiet areas.",
50
50
  "$extensions": {
51
51
  "design.beehexa": {
52
52
  "dark": "#201f1f"
@@ -116,7 +116,7 @@
116
116
  "9": {
117
117
  "$type": "color",
118
118
  "$value": "#878582",
119
- "$description": "Edge of controls (border.bold): 3:1 on every neutral fill, selected rows included.",
119
+ "$description": "Middle neutral step. Strong control boundaries in dark; light pressed fills need graphite 10 through border.bold.",
120
120
  "$extensions": {
121
121
  "design.beehexa": {
122
122
  "dark": "#878682"
@@ -126,7 +126,7 @@
126
126
  "10": {
127
127
  "$type": "color",
128
128
  "$value": "#676663",
129
- "$description": "Tertiary text (text.subtlest) and secondary icons (icon.subtle). The primary button when pressed.",
129
+ "$description": "Secondary icons, dark tertiary text and strong light boundaries. Primary button pressed fill.",
130
130
  "$extensions": {
131
131
  "design.beehexa": {
132
132
  "dark": "#a8a6a3"
@@ -169,7 +169,7 @@
169
169
  "2": {
170
170
  "$type": "color",
171
171
  "$value": "#fff9dd",
172
- "$description": "Subtle background: sidebars, table headers, quiet areas.",
172
+ "$description": "Subtle background: table headers, quiet areas.",
173
173
  "$extensions": {
174
174
  "design.beehexa": {
175
175
  "dark": "#1d170f"
@@ -292,7 +292,7 @@
292
292
  "2": {
293
293
  "$type": "color",
294
294
  "$value": "#f4faff",
295
- "$description": "Subtle background: sidebars, table headers, quiet areas.",
295
+ "$description": "Subtle background: table headers, quiet areas.",
296
296
  "$extensions": {
297
297
  "design.beehexa": {
298
298
  "dark": "#111927"
@@ -415,7 +415,7 @@
415
415
  "2": {
416
416
  "$type": "color",
417
417
  "$value": "#f4fbf6",
418
- "$description": "Subtle background: sidebars, table headers, quiet areas.",
418
+ "$description": "Subtle background: table headers, quiet areas.",
419
419
  "$extensions": {
420
420
  "design.beehexa": {
421
421
  "dark": "#121b17"
@@ -538,7 +538,7 @@
538
538
  "2": {
539
539
  "$type": "color",
540
540
  "$value": "#fff7ed",
541
- "$description": "Subtle background: sidebars, table headers, quiet areas.",
541
+ "$description": "Subtle background: table headers, quiet areas.",
542
542
  "$extensions": {
543
543
  "design.beehexa": {
544
544
  "dark": "#1e160f"
@@ -661,7 +661,7 @@
661
661
  "2": {
662
662
  "$type": "color",
663
663
  "$value": "#fff7f6",
664
- "$description": "Subtle background: sidebars, table headers, quiet areas.",
664
+ "$description": "Subtle background: table headers, quiet areas.",
665
665
  "$extensions": {
666
666
  "design.beehexa": {
667
667
  "dark": "#201312"
@@ -783,8 +783,13 @@
783
783
  },
784
784
  "subtlest": {
785
785
  "$type": "color",
786
- "$value": "{color.graphite.10}",
787
- "$description": "Tertiary text: metadata, timestamps, placeholders, helper text, breadcrumbs. Meets 4.5:1 but not 7:1, so never use it for body text."
786
+ "$value": "{color.graphite.11}",
787
+ "$description": "Tertiary metadata, timestamps, placeholders, helper text and breadcrumbs. Readable at 4.5:1 on permitted surfaces and neutral states, including pressed fills. Hierarchy uses type size and placement, never insufficient contrast.",
788
+ "$extensions": {
789
+ "design.beehexa": {
790
+ "dark": "{color.graphite.10}"
791
+ }
792
+ }
788
793
  },
789
794
  "disabled": {
790
795
  "$type": "color",
@@ -1193,7 +1198,7 @@
1193
1198
  "page": {
1194
1199
  "$type": "color",
1195
1200
  "$value": "{color.brand.white}",
1196
- "$description": "Page background.",
1201
+ "$description": "Page background. The app header and side navigation sit on it too, separated by a border line.",
1197
1202
  "$extensions": {
1198
1203
  "design.beehexa": {
1199
1204
  "dark": "{color.graphite.1}"
@@ -1203,7 +1208,7 @@
1203
1208
  "subtle": {
1204
1209
  "$type": "color",
1205
1210
  "$value": "{color.graphite.2}",
1206
- "$description": "Shared global header/sidebar shell surface, mobile navigation drawer, table headers and quiet areas."
1211
+ "$description": "Table headers and quiet areas."
1207
1212
  },
1208
1213
  "overlay": {
1209
1214
  "$root": {
@@ -1283,8 +1288,13 @@
1283
1288
  },
1284
1289
  "bold": {
1285
1290
  "$type": "color",
1286
- "$value": "{color.graphite.9}",
1287
- "$description": "Edges of inputs, checkboxes and selects. 3:1 (WCAG 1.4.11) on every surface and neutral fill, selected rows included."
1291
+ "$value": "{color.graphite.10}",
1292
+ "$description": "Meaningful control edges. At least 3:1 on every permitted surface and neutral state, including pressed fills; paired theme aliases avoid weak light pressed boundaries.",
1293
+ "$extensions": {
1294
+ "design.beehexa": {
1295
+ "dark": "{color.graphite.9}"
1296
+ }
1297
+ }
1288
1298
  },
1289
1299
  "disabled": {
1290
1300
  "$type": "color",
@@ -0,0 +1,39 @@
1
+ {
2
+ "switch": {
3
+ "size": {
4
+ "track": {
5
+ "height": { "$type": "dimension", "$value": "1.25rem", "$description": "20 px. Height of the switch track.", "$extensions": { "design.beehexa": { "component": "switch" } } },
6
+ "width": { "$type": "dimension", "$value": "2.25rem", "$description": "36 px. Width of the switch track.", "$extensions": { "design.beehexa": { "component": "switch" } } }
7
+ },
8
+ "thumb": { "$type": "dimension", "$value": "1rem", "$description": "16 px. Diameter of the switch knob.", "$extensions": { "design.beehexa": { "component": "switch" } } }
9
+ }
10
+ },
11
+ "avatar": {
12
+ "size": {
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" } } }
15
+ }
16
+ },
17
+ "label": {
18
+ "height": {
19
+ "default": { "$type": "dimension", "$value": "1.25rem", "$description": "20 px. Height of a status label in table rows and lists.", "$extensions": { "design.beehexa": { "component": "label" } } },
20
+ "large": { "$type": "dimension", "$value": "{size.control.small}", "$description": "24 px. Height of a large status label.", "$extensions": { "design.beehexa": { "component": "label" } } },
21
+ "state": { "$type": "dimension", "$value": "{size.control.default}", "$description": "32 px. Height of the state label: one per page, the status the page is about.", "$extensions": { "design.beehexa": { "component": "label" } } }
22
+ },
23
+ "padding": {
24
+ "default": { "$type": "dimension", "$value": "{space.075}", "$description": "6 px. Side padding of a status label.", "$extensions": { "design.beehexa": { "component": "label" } } },
25
+ "large": { "$type": "dimension", "$value": "{space.100}", "$description": "8 px. Side padding of a large status label.", "$extensions": { "design.beehexa": { "component": "label" } } },
26
+ "state": { "$type": "dimension", "$value": "{space.150}", "$description": "12 px. Side padding of the state label.", "$extensions": { "design.beehexa": { "component": "label" } } }
27
+ }
28
+ },
29
+ "tag": {
30
+ "height": { "$type": "dimension", "$value": "{size.control.small}", "$description": "24 px. Height of a tag.", "$extensions": { "design.beehexa": { "component": "tag" } } },
31
+ "padding": { "$type": "dimension", "$value": "{space.100}", "$description": "8 px. Side padding of a tag.", "$extensions": { "design.beehexa": { "component": "tag" } } }
32
+ },
33
+ "chip": {
34
+ "height": {
35
+ "small": { "$type": "dimension", "$value": "{size.control.small}", "$description": "24 px. Chip in dense toolbars.", "$extensions": { "design.beehexa": { "component": "chip" } } },
36
+ "default": { "$type": "dimension", "$value": "{size.control.default}", "$description": "32 px. Chip everywhere else.", "$extensions": { "design.beehexa": { "component": "chip" } } }
37
+ }
38
+ }
39
+ }
@@ -1,24 +1,117 @@
1
1
  {
2
2
  "content": {
3
- "$description": "Reusable application-content identity, empty-state and read-only step-progress geometry. Identity colours never encode operational status.",
3
+ "$description": "Reusable application-content identity, empty-state, structured Tooltip and read-only step-progress geometry. Identity colours never encode operational status.",
4
4
  "partner-logo": {
5
- "size": { "$type": "dimension", "$value": "2.5rem", "$description": "Non-image partner-group placeholder extent, not a brand-image width or fixed-square Avatar recipe." },
6
- "image-size": { "$type": "dimension", "$value": "1.75rem", "$description": "Common rendered height of connector and partner brand images. Width is always intrinsic/auto at this height; no square frame, width cap, crop or distortion." }
5
+ "size": {
6
+ "$type": "dimension",
7
+ "$value": "{space.500}",
8
+ "$description": "Non-image partner-group placeholder extent, not a brand-image width or fixed-square Avatar recipe.",
9
+ "$extensions": {
10
+ "design.beehexa": {
11
+ "component": "content"
12
+ }
13
+ }
14
+ },
15
+ "image-size": {
16
+ "$type": "dimension",
17
+ "$value": "{space.300}",
18
+ "$description": "Common rendered height of connector and partner brand images. Width is always intrinsic/auto at this height; no square frame, width cap, crop or distortion.",
19
+ "$extensions": {
20
+ "design.beehexa": {
21
+ "component": "content"
22
+ }
23
+ }
24
+ }
7
25
  },
8
26
  "avatar": {
9
- "size": { "$type": "dimension", "$value": "2.5rem", "$description": "Default person or permission-member identity avatar; a visual identity, not a hit target." }
27
+ "size": {
28
+ "$type": "dimension",
29
+ "$value": "{size.control.default}",
30
+ "$description": "Default person or permission-member identity avatar; a visual identity, not a hit target.",
31
+ "$extensions": {
32
+ "design.beehexa": {
33
+ "component": "content"
34
+ }
35
+ }
36
+ }
10
37
  },
11
38
  "identity-mark": {
12
- "size": { "$type": "dimension", "$value": "2.75rem", "$description": "System/provider identity container when shown beside content labels." },
13
- "image-size": { "$type": "dimension", "$value": "1.5rem", "$description": "Contained system/provider identity glyph within the identity-mark container." }
39
+ "size": {
40
+ "$type": "dimension",
41
+ "$value": "{size.target.touch}",
42
+ "$description": "System/provider identity container when shown beside content labels.",
43
+ "$extensions": {
44
+ "design.beehexa": {
45
+ "component": "content"
46
+ }
47
+ }
48
+ },
49
+ "image-size": {
50
+ "$type": "dimension",
51
+ "$value": "{space.300}",
52
+ "$description": "Contained system/provider identity glyph within the identity-mark container.",
53
+ "$extensions": {
54
+ "design.beehexa": {
55
+ "component": "content"
56
+ }
57
+ }
58
+ }
14
59
  },
15
60
  "empty-illustration": {
16
- "size": { "$type": "dimension", "$value": "6rem", "$description": "Empty-state illustration container. Standard icons inside retain their own source icon sizes." }
61
+ "size": {
62
+ "$type": "dimension",
63
+ "$value": "6rem",
64
+ "$description": "Empty-state illustration container. Standard icons inside retain their own source icon sizes.",
65
+ "$extensions": {
66
+ "design.beehexa": {
67
+ "component": "content"
68
+ }
69
+ }
70
+ }
71
+ },
72
+ "tooltip": {
73
+ "metric-max-inline-size": {
74
+ "$type": "dimension",
75
+ "$value": "28rem",
76
+ "$description": "Maximum readable width for an opt-in native date/metric Tooltip. The actual popup also stays within the viewport with space.200 on either side; not a global Tooltip width or a minimum.",
77
+ "$extensions": {
78
+ "design.beehexa": {
79
+ "component": "content"
80
+ }
81
+ }
82
+ }
17
83
  },
18
84
  "step-progress": {
19
- "segment-width": { "$type": "dimension", "$value": "1rem", "$description": "16px horizontal mark in an opt-in read-only native segmented Progress; not a navigation step or status dot." },
20
- "segment-height": { "$type": "dimension", "$value": "0.25rem", "$description": "4px thickness of each horizontal step-progress mark; scales with the reader's root." },
21
- "gap": { "$type": "dimension", "$value": "{space.050}", "$description": "Space between adjacent read-only step-progress marks; no trailing native item margin." }
85
+ "segment-width": {
86
+ "$type": "dimension",
87
+ "$value": "{space.200}",
88
+ "$description": "16px horizontal mark in an opt-in read-only native segmented Progress; not a navigation step or status dot.",
89
+ "$extensions": {
90
+ "design.beehexa": {
91
+ "component": "content"
92
+ }
93
+ }
94
+ },
95
+ "segment-height": {
96
+ "$type": "dimension",
97
+ "$value": "{space.050}",
98
+ "$description": "4px thickness of each horizontal step-progress mark; scales with the reader's root.",
99
+ "$extensions": {
100
+ "design.beehexa": {
101
+ "component": "content"
102
+ }
103
+ }
104
+ },
105
+ "gap": {
106
+ "$type": "dimension",
107
+ "$value": "{space.050}",
108
+ "$description": "Space between adjacent read-only step-progress marks; no trailing native item margin.",
109
+ "$extensions": {
110
+ "design.beehexa": {
111
+ "component": "content"
112
+ }
113
+ }
114
+ }
22
115
  }
23
116
  }
24
117
  }