@beehexa/design-rules 2611.4.1 → 2611.5.2
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/dist/catalog.json +602 -248
- package/dist/docs/public/_redirects +2 -0
- package/dist/docs/scripts/token-utils.d.mts +5 -1
- package/dist/docs/scripts/token-utils.mjs +28 -3
- package/dist/docs/src/brand/structure-proposal.md +1 -1
- package/dist/docs/src/components/ColorDemo.astro +52 -14
- package/dist/docs/src/components/MotionDemo.astro +135 -0
- package/dist/docs/src/components/NativeControlsDemo.astro +279 -0
- package/dist/docs/src/components/OpacityDemo.astro +8 -8
- package/dist/docs/src/components/RoleGuides.astro +2 -2
- package/dist/docs/src/components/ShapeDemo.astro +78 -35
- package/dist/docs/src/components/SiteHeader.astro +19 -4
- package/dist/docs/src/components/SystemAreas.astro +1 -1
- package/dist/docs/src/components/TokenTable.astro +16 -1
- package/dist/docs/src/components/TypeDemo.astro +15 -15
- package/dist/docs/src/components/ZIndexDemo.astro +1 -1
- package/dist/docs/src/components/logos/LogoInUse.astro +3 -3
- package/dist/docs/src/content/components/button/accessibility.mdx +41 -8
- package/dist/docs/src/content/components/button/code.mdx +8 -1
- package/dist/docs/src/content/components/button/examples.mdx +23 -4
- package/dist/docs/src/content/components/button/usage.mdx +26 -0
- package/dist/docs/src/content/components/resizable-panel/accessibility.mdx +61 -0
- package/dist/docs/src/content/components/resizable-panel/changelog.mdx +20 -0
- package/dist/docs/src/content/components/resizable-panel/code.mdx +79 -0
- package/dist/docs/src/content/components/resizable-panel/examples.mdx +85 -0
- package/dist/docs/src/content/components/resizable-panel/meta.json +5 -0
- package/dist/docs/src/content/components/resizable-panel/usage.mdx +101 -0
- package/dist/docs/src/content/foundations/guidelines/accessibility/keyboard-and-focus.mdx +75 -0
- package/dist/docs/src/content/foundations/guidelines/accessibility/statement.mdx +45 -0
- package/dist/docs/src/content/foundations/guidelines/accessibility/testing.mdx +58 -0
- package/dist/docs/src/content/foundations/guidelines/accessibility.mdx +100 -11
- package/dist/docs/src/content/foundations/guidelines/content.mdx +11 -2
- package/dist/docs/src/content/foundations/index.mdx +3 -3
- package/dist/docs/src/content/foundations/styles/border.mdx +10 -3
- package/dist/docs/src/content/foundations/styles/color/accessibility.mdx +4 -2
- package/dist/docs/src/content/foundations/styles/color/dark-mode.mdx +2 -2
- package/dist/docs/src/content/foundations/styles/color/index.mdx +14 -2
- package/dist/docs/src/content/foundations/styles/color/palette.mdx +4 -4
- package/dist/docs/src/content/foundations/styles/color/tokens.mdx +2 -2
- package/dist/docs/src/content/foundations/styles/color/usage.mdx +25 -3
- package/dist/docs/src/content/foundations/styles/data-visualization.mdx +76 -0
- package/dist/docs/src/content/foundations/styles/elevation.mdx +7 -1
- package/dist/docs/src/content/foundations/styles/icons/accessibility.mdx +1 -1
- package/dist/docs/src/content/foundations/styles/icons/code.mdx +6 -18
- package/dist/docs/src/content/foundations/styles/icons/index.mdx +2 -2
- package/dist/docs/src/content/foundations/styles/icons/usage.mdx +4 -2
- package/dist/docs/src/content/foundations/styles/interaction-states.mdx +82 -9
- package/dist/docs/src/content/foundations/styles/layout/app-frame.mdx +2 -4
- package/dist/docs/src/content/foundations/styles/layout/breakpoints.mdx +10 -7
- package/dist/docs/src/content/foundations/styles/layout/grid.mdx +4 -2
- package/dist/docs/src/content/foundations/styles/layout/index.mdx +3 -3
- package/dist/docs/src/content/foundations/styles/layout/overlays.mdx +28 -37
- package/dist/docs/src/content/foundations/styles/layout/page-widths.mdx +4 -4
- package/dist/docs/src/content/foundations/styles/logos/downloads-and-terms.mdx +7 -7
- package/dist/docs/src/content/foundations/styles/logos/index.mdx +13 -2
- package/dist/docs/src/content/foundations/styles/logos/placement-and-containers.mdx +4 -2
- package/dist/docs/src/content/foundations/styles/logos/product-logos.mdx +2 -2
- package/dist/docs/src/content/foundations/styles/logos/using-the-logo.mdx +3 -1
- package/dist/docs/src/content/foundations/styles/motion.mdx +131 -3
- package/dist/docs/src/content/foundations/styles/opacity.mdx +7 -1
- package/dist/docs/src/content/foundations/styles/radius.mdx +63 -15
- package/dist/docs/src/content/foundations/styles/scrollbars.mdx +176 -0
- package/dist/docs/src/content/foundations/styles/size-and-density.mdx +16 -6
- package/dist/docs/src/content/foundations/styles/spacing.mdx +17 -3
- package/dist/docs/src/content/foundations/styles/typography/code.mdx +4 -2
- package/dist/docs/src/content/foundations/styles/typography/index.mdx +13 -3
- package/dist/docs/src/content/foundations/styles/typography/usage.mdx +5 -3
- package/dist/docs/src/content/foundations/styles/typography/vietnamese.mdx +2 -2
- package/dist/docs/src/content/foundations/styles/z-index.mdx +4 -0
- package/dist/docs/src/content/foundations/tokens/all-tokens.mdx +11 -0
- package/dist/docs/src/content/foundations/tokens/index.mdx +17 -9
- package/dist/docs/src/content/get-started/design.mdx +1 -1
- package/dist/docs/src/content/get-started/develop.mdx +2 -6
- package/dist/docs/src/content/get-started/index.mdx +1 -1
- package/dist/docs/src/content/release-phases/index.mdx +1 -1
- package/dist/docs/src/content/tools/ant-design-vue-theme.mdx +457 -12
- package/dist/docs/src/content/tools/application-content.mdx +166 -32
- package/dist/docs/src/content/tools/editors.mdx +247 -3
- package/dist/docs/src/content/tools/eslint.mdx +1 -1
- package/dist/docs/src/content/tools/index.mdx +2 -2
- package/dist/docs/src/content/tools/mermaid.mdx +108 -13
- package/dist/docs/src/content/tools/vueflow.mdx +58 -0
- package/dist/docs/src/content-vi/foundations/guidelines/accessibility/keyboard-and-focus.mdx +75 -0
- package/dist/docs/src/content-vi/foundations/guidelines/accessibility/statement.mdx +45 -0
- package/dist/docs/src/content-vi/foundations/guidelines/accessibility/testing.mdx +58 -0
- package/dist/docs/src/content-vi/foundations/guidelines/accessibility.mdx +108 -0
- package/dist/docs/src/content-vi/foundations/guidelines/content.mdx +34 -0
- package/dist/docs/src/content-vi/foundations/index.mdx +9 -0
- package/dist/docs/src/content-vi/foundations/styles/border.mdx +9 -3
- package/dist/docs/src/content-vi/foundations/styles/color/accessibility.mdx +4 -2
- package/dist/docs/src/content-vi/foundations/styles/color/dark-mode.mdx +2 -2
- package/dist/docs/src/content-vi/foundations/styles/color/index.mdx +14 -2
- package/dist/docs/src/content-vi/foundations/styles/color/palette.mdx +5 -5
- package/dist/docs/src/content-vi/foundations/styles/color/tokens.mdx +2 -2
- package/dist/docs/src/content-vi/foundations/styles/color/usage.mdx +24 -2
- package/dist/docs/src/content-vi/foundations/styles/elevation.mdx +7 -1
- package/dist/docs/src/content-vi/foundations/styles/icons/accessibility.mdx +1 -1
- package/dist/docs/src/content-vi/foundations/styles/icons/code.mdx +6 -18
- package/dist/docs/src/content-vi/foundations/styles/icons/index.mdx +2 -2
- package/dist/docs/src/content-vi/foundations/styles/icons/usage.mdx +4 -2
- package/dist/docs/src/content-vi/foundations/styles/interaction-states.mdx +22 -8
- package/dist/docs/src/content-vi/foundations/styles/layout/app-frame.mdx +3 -1
- package/dist/docs/src/content-vi/foundations/styles/layout/breakpoints.mdx +10 -7
- package/dist/docs/src/content-vi/foundations/styles/layout/grid.mdx +4 -2
- package/dist/docs/src/content-vi/foundations/styles/layout/index.mdx +3 -3
- package/dist/docs/src/content-vi/foundations/styles/layout/overlays.mdx +36 -0
- package/dist/docs/src/content-vi/foundations/styles/layout/page-widths.mdx +5 -1
- package/dist/docs/src/content-vi/foundations/styles/logos/downloads-and-terms.mdx +7 -7
- package/dist/docs/src/content-vi/foundations/styles/logos/index.mdx +13 -2
- package/dist/docs/src/content-vi/foundations/styles/logos/placement-and-containers.mdx +4 -2
- package/dist/docs/src/content-vi/foundations/styles/logos/product-logos.mdx +2 -2
- package/dist/docs/src/content-vi/foundations/styles/logos/using-the-logo.mdx +3 -1
- package/dist/docs/src/content-vi/foundations/styles/motion.mdx +139 -0
- package/dist/docs/src/content-vi/foundations/styles/opacity.mdx +8 -2
- package/dist/docs/src/content-vi/foundations/styles/radius.mdx +63 -15
- package/dist/docs/src/content-vi/foundations/styles/size-and-density.mdx +16 -6
- package/dist/docs/src/content-vi/foundations/styles/spacing.mdx +17 -3
- package/dist/docs/src/content-vi/foundations/styles/typography/code.mdx +4 -2
- package/dist/docs/src/content-vi/foundations/styles/typography/index.mdx +14 -4
- package/dist/docs/src/content-vi/foundations/styles/typography/usage.mdx +4 -2
- package/dist/docs/src/content-vi/foundations/styles/typography/vietnamese.mdx +2 -2
- package/dist/docs/src/content-vi/foundations/styles/z-index.mdx +4 -0
- package/dist/docs/src/content-vi/foundations/tokens/all-tokens.mdx +47 -0
- package/dist/docs/src/content-vi/foundations/tokens/index.mdx +35 -0
- package/dist/docs/src/lib/i18n.ts +0 -1
- package/dist/docs/src/lib/token-descriptions-vi.ts +60 -9
- package/dist/docs/src/lib/tokens.ts +3 -0
- package/dist/docs/src/styles/chrome.css +10 -3
- package/dist/docs/src/styles/color.css +33 -23
- package/dist/docs/src/styles/docs.css +26 -28
- package/dist/docs/src/styles/elevation.css +4 -4
- package/dist/docs/src/styles/global.css +21 -1
- package/dist/docs/src/styles/icons.css +10 -9
- package/dist/docs/src/styles/kit.css +36 -32
- package/dist/docs/src/styles/layout.css +7 -7
- package/dist/docs/src/styles/motion.css +34 -0
- package/dist/docs/src/styles/opacity.css +3 -3
- package/dist/docs/src/styles/scrollbars.css +74 -0
- package/dist/docs/src/styles/shapes.css +21 -11
- package/dist/docs/src/styles/tokens.css +392 -12
- package/dist/docs/src/styles/tokens.js +185 -6
- package/dist/docs/src/styles/typography.css +4 -4
- package/dist/docs/src/styles/zindex.css +10 -7
- package/dist/docs/tokens/color.json +18 -1
- package/dist/docs/tokens/content.json +8 -3
- package/dist/docs/tokens/diagram.json +9 -3
- package/dist/docs/tokens/flow.json +2 -2
- package/dist/docs/tokens/layout.json +4 -0
- package/dist/docs/tokens/motion.json +37 -5
- package/dist/docs/tokens/radius.json +52 -8
- package/dist/docs/tokens/resize.json +12 -0
- package/dist/docs/tokens/scrollbar.json +40 -0
- package/dist/docs/tokens/size.json +1 -1
- package/dist/docs/tokens/spacing.json +31 -1
- package/dist/docs/tokens/switch.json +280 -0
- package/dist/index.js +602 -248
- package/package.json +1 -1
|
@@ -108,6 +108,9 @@ export const tokens = {
|
|
|
108
108
|
"color.icon.info": "#005195",
|
|
109
109
|
"color.link": "#005195",
|
|
110
110
|
"color.link.hover": "#113264",
|
|
111
|
+
"color.background.primary": "#2b2a28",
|
|
112
|
+
"color.background.primary.hover": "#494846",
|
|
113
|
+
"color.background.primary.pressed": "#676663",
|
|
111
114
|
"color.background.neutral": "#f2f2f1",
|
|
112
115
|
"color.background.neutral.hover": "#e8e8e7",
|
|
113
116
|
"color.background.neutral.pressed": "#dfdedd",
|
|
@@ -185,16 +188,25 @@ export const tokens = {
|
|
|
185
188
|
"content.identity-mark.size": "2.75rem",
|
|
186
189
|
"content.identity-mark.image-size": "1.5rem",
|
|
187
190
|
"content.empty-illustration.size": "6rem",
|
|
191
|
+
"content.step-progress.segment-width": "1rem",
|
|
192
|
+
"content.step-progress.segment-height": "0.25rem",
|
|
193
|
+
"content.step-progress.gap": "0.25rem",
|
|
188
194
|
"diagram.canvas": "#ffffff",
|
|
195
|
+
"diagram.grid": "#d0cfce",
|
|
196
|
+
"diagram.group-fill": "transparent",
|
|
197
|
+
"diagram.grid-gap": "18px",
|
|
198
|
+
"diagram.grid-dot": "1.2px",
|
|
189
199
|
"diagram.node-fill": "#ffffff",
|
|
190
200
|
"diagram.node-border": "#878582",
|
|
191
201
|
"diagram.node-title": "#2b2a28",
|
|
192
202
|
"diagram.node-desc": "#494846",
|
|
193
203
|
"diagram.tile-bg": "#f2f2f1",
|
|
194
204
|
"diagram.tile-glyph": "#494846",
|
|
195
|
-
"diagram.state-ran-ok": "#
|
|
205
|
+
"diagram.state-ran-ok": "#005195",
|
|
196
206
|
"diagram.ran-ok-fill": "#ffffff",
|
|
197
|
-
"diagram.
|
|
207
|
+
"diagram.log-reached": "#005195",
|
|
208
|
+
"diagram.log-unfinished": "#8a3600",
|
|
209
|
+
"diagram.fail-stroke": "#9b1e20",
|
|
198
210
|
"diagram.fail-fill": "#feebe9",
|
|
199
211
|
"diagram.fail-title": "#9b1e20",
|
|
200
212
|
"diagram.fail-desc": "#9b1e20",
|
|
@@ -273,7 +285,7 @@ export const tokens = {
|
|
|
273
285
|
"flow.category.pushStep.background": "#fff1bd",
|
|
274
286
|
"flow.category.pushStep.border": "#a96700",
|
|
275
287
|
"flow.category.pushStep.hover": "#ffe59c",
|
|
276
|
-
"flow.category.decision.foreground": "#
|
|
288
|
+
"flow.category.decision.foreground": "#087b88",
|
|
277
289
|
"flow.category.decision.background": "#e8f8fa",
|
|
278
290
|
"flow.category.decision.border": "#087f8c",
|
|
279
291
|
"flow.category.decision.hover": "#e8f8fa",
|
|
@@ -340,11 +352,35 @@ export const tokens = {
|
|
|
340
352
|
"layout.overlay.default": "max(50vw, 900px)",
|
|
341
353
|
"layout.overlay.wide": "70vw",
|
|
342
354
|
"layout.overlay.mobile": "100vw",
|
|
355
|
+
"layout.renderer.minimum-inline-size": "21.875rem",
|
|
356
|
+
"layout.renderer.minimum-block-size": "21.875rem",
|
|
343
357
|
"layout.description.minimum": "12.5rem",
|
|
358
|
+
"motion.duration.instant": "0ms",
|
|
344
359
|
"motion.duration.fast": "100ms",
|
|
345
360
|
"motion.duration.default": "200ms",
|
|
346
361
|
"motion.duration.slow": "300ms",
|
|
347
|
-
"motion.
|
|
362
|
+
"motion.duration.slower": "400ms",
|
|
363
|
+
"motion.duration.slowest": "600ms",
|
|
364
|
+
"motion.easing.standard": "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
365
|
+
"motion.easing.enter": "cubic-bezier(0, 0, 0.2, 1)",
|
|
366
|
+
"motion.easing.exit": "cubic-bezier(0.4, 0, 1, 1)",
|
|
367
|
+
"motion.easing.linear": "cubic-bezier(0, 0, 1, 1)",
|
|
368
|
+
"motion.easing.emphasized": "cubic-bezier(0.05, 0.7, 0.1, 1)",
|
|
369
|
+
"motion.keyframe.offset.enter": "0.5rem",
|
|
370
|
+
"motion.keyframe.offset.exit": "0.25rem",
|
|
371
|
+
"motion.keyframe.scale": "0.95",
|
|
372
|
+
"motion.keyframe.slide": "100%",
|
|
373
|
+
"motion.control": "100ms cubic-bezier(0.4, 0, 0.2, 1)",
|
|
374
|
+
"motion.indicator": "200ms cubic-bezier(0, 0, 0.2, 1)",
|
|
375
|
+
"motion.expand": "200ms cubic-bezier(0.4, 0, 0.2, 1)",
|
|
376
|
+
"motion.overlay.enter": "200ms cubic-bezier(0, 0, 0.2, 1)",
|
|
377
|
+
"motion.overlay.exit": "100ms cubic-bezier(0.4, 0, 1, 1)",
|
|
378
|
+
"motion.modal.enter": "300ms cubic-bezier(0, 0, 0.2, 1)",
|
|
379
|
+
"motion.modal.exit": "200ms cubic-bezier(0.4, 0, 1, 1)",
|
|
380
|
+
"motion.sheet.enter": "400ms cubic-bezier(0, 0, 0.2, 1)",
|
|
381
|
+
"motion.sheet.exit": "300ms cubic-bezier(0.4, 0, 1, 1)",
|
|
382
|
+
"motion.drop": "100ms cubic-bezier(0.4, 0, 0.2, 1)",
|
|
383
|
+
"motion.emphasized": "600ms cubic-bezier(0.05, 0.7, 0.1, 1)",
|
|
348
384
|
"opacity.disabled": "0.4",
|
|
349
385
|
"radius.0": "0",
|
|
350
386
|
"radius.100": "0.5rem",
|
|
@@ -354,6 +390,13 @@ export const tokens = {
|
|
|
354
390
|
"radius.050": "0.25rem",
|
|
355
391
|
"radius.075": "0.375rem",
|
|
356
392
|
"radius.full": "999px",
|
|
393
|
+
"radius.control": "0.25rem",
|
|
394
|
+
"radius.control.small": "0.25rem",
|
|
395
|
+
"radius.item": "0.25rem",
|
|
396
|
+
"radius.card": "0.5rem",
|
|
397
|
+
"radius.overlay": "0.5rem",
|
|
398
|
+
"radius.modal": "0.75rem",
|
|
399
|
+
"radius.pill": "999px",
|
|
357
400
|
"resize.divider": "4px",
|
|
358
401
|
"resize.target": "1.5rem",
|
|
359
402
|
"resize.touchTarget": "2.75rem",
|
|
@@ -362,10 +405,19 @@ export const tokens = {
|
|
|
362
405
|
"resize.handle.radius": "0.25rem",
|
|
363
406
|
"resize.handle.background": "#ffffff",
|
|
364
407
|
"resize.handle.activeBackground": "#2b2a28",
|
|
408
|
+
"resize.dot.size": "0.125rem",
|
|
409
|
+
"resize.dot.pitch": "0.5rem",
|
|
365
410
|
"resize.color": "#878582",
|
|
366
411
|
"resize.active": "#005195",
|
|
367
412
|
"resize.grip": "#494846",
|
|
368
413
|
"resize.activeGrip": "#fdfdfc",
|
|
414
|
+
"scrollbar.width": "0.5rem",
|
|
415
|
+
"scrollbar.track": "#d0cfce",
|
|
416
|
+
"scrollbar.thumb": "#676663",
|
|
417
|
+
"scrollbar.thumbHover": "#2b2a28",
|
|
418
|
+
"scrollbar.thumbActive": "#2b2a28",
|
|
419
|
+
"scrollbar.corner": "#d0cfce",
|
|
420
|
+
"scrollbar.radius": "999px",
|
|
369
421
|
"size.icon.default": "1rem",
|
|
370
422
|
"size.icon.medium": "1.25rem",
|
|
371
423
|
"size.icon.large": "1.5rem",
|
|
@@ -389,7 +441,72 @@ export const tokens = {
|
|
|
389
441
|
"space.025": "0.125rem",
|
|
390
442
|
"space.050": "0.25rem",
|
|
391
443
|
"space.075": "0.375rem",
|
|
444
|
+
"space.control.x": "0.75rem",
|
|
445
|
+
"space.control.x.small": "0.5rem",
|
|
446
|
+
"space.control.x.large": "1rem",
|
|
447
|
+
"space.control.gap": "0.25rem",
|
|
448
|
+
"space.item.x": "0.75rem",
|
|
449
|
+
"space.overlay": "0.25rem",
|
|
450
|
+
"space.overlay.offset": "0.25rem",
|
|
451
|
+
"space.card": "1.5rem",
|
|
452
|
+
"space.modal": "1.5rem",
|
|
453
|
+
"space.modal.gap": "1rem",
|
|
454
|
+
"space.table.cell.x": "0.75rem",
|
|
455
|
+
"space.table.cell.y": "0.5rem",
|
|
456
|
+
"space.stack": "1rem",
|
|
457
|
+
"space.stack.group": "2rem",
|
|
392
458
|
"state.focus.offset": "2px",
|
|
459
|
+
"switch.focus-ring": "#005195",
|
|
460
|
+
"switch.off.track": "#f2f2f1",
|
|
461
|
+
"switch.off.track.hover": "#e8e8e7",
|
|
462
|
+
"switch.off.track.pressed": "#dfdedd",
|
|
463
|
+
"switch.off.track.focus": "#f2f2f1",
|
|
464
|
+
"switch.off.track.loading": "#f2f2f1",
|
|
465
|
+
"switch.off.track.disabled": "#f2f2f1",
|
|
466
|
+
"switch.off.thumb": "#494846",
|
|
467
|
+
"switch.off.thumb.hover": "#494846",
|
|
468
|
+
"switch.off.thumb.pressed": "#494846",
|
|
469
|
+
"switch.off.thumb.focus": "#494846",
|
|
470
|
+
"switch.off.thumb.loading": "#494846",
|
|
471
|
+
"switch.off.thumb.disabled": "#a3a29f",
|
|
472
|
+
"switch.off.label": "#2b2a28",
|
|
473
|
+
"switch.off.label.hover": "#2b2a28",
|
|
474
|
+
"switch.off.label.pressed": "#2b2a28",
|
|
475
|
+
"switch.off.label.focus": "#2b2a28",
|
|
476
|
+
"switch.off.label.loading": "#2b2a28",
|
|
477
|
+
"switch.off.label.disabled": "#a3a29f",
|
|
478
|
+
"switch.off.border": "#878582",
|
|
479
|
+
"switch.off.border.hover": "#878582",
|
|
480
|
+
"switch.off.border.pressed": "#676663",
|
|
481
|
+
"switch.off.border.focus": "#878582",
|
|
482
|
+
"switch.off.border.loading": "#878582",
|
|
483
|
+
"switch.off.border.disabled": "#d0cfce",
|
|
484
|
+
"switch.off.loading-icon": "#fdfdfc",
|
|
485
|
+
"switch.on.track": "#2b2a28",
|
|
486
|
+
"switch.on.track.hover": "#494846",
|
|
487
|
+
"switch.on.track.pressed": "#676663",
|
|
488
|
+
"switch.on.track.focus": "#2b2a28",
|
|
489
|
+
"switch.on.track.loading": "#2b2a28",
|
|
490
|
+
"switch.on.track.disabled": "#f2f2f1",
|
|
491
|
+
"switch.on.thumb": "#fdfdfc",
|
|
492
|
+
"switch.on.thumb.hover": "#fdfdfc",
|
|
493
|
+
"switch.on.thumb.pressed": "#fdfdfc",
|
|
494
|
+
"switch.on.thumb.focus": "#fdfdfc",
|
|
495
|
+
"switch.on.thumb.loading": "#fdfdfc",
|
|
496
|
+
"switch.on.thumb.disabled": "#a3a29f",
|
|
497
|
+
"switch.on.label": "#fdfdfc",
|
|
498
|
+
"switch.on.label.hover": "#fdfdfc",
|
|
499
|
+
"switch.on.label.pressed": "#fdfdfc",
|
|
500
|
+
"switch.on.label.focus": "#fdfdfc",
|
|
501
|
+
"switch.on.label.loading": "#fdfdfc",
|
|
502
|
+
"switch.on.label.disabled": "#a3a29f",
|
|
503
|
+
"switch.on.border": "#2b2a28",
|
|
504
|
+
"switch.on.border.hover": "#494846",
|
|
505
|
+
"switch.on.border.pressed": "#676663",
|
|
506
|
+
"switch.on.border.focus": "#2b2a28",
|
|
507
|
+
"switch.on.border.loading": "#2b2a28",
|
|
508
|
+
"switch.on.border.disabled": "#d0cfce",
|
|
509
|
+
"switch.on.loading-icon": "#494846",
|
|
393
510
|
"font.features": "\"cv05\", \"cv08\"",
|
|
394
511
|
"font.family.sans": "Inter, \"Noto Sans\", system-ui, sans-serif",
|
|
395
512
|
"font.family.mono": "\"JetBrains Mono\", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace",
|
|
@@ -574,6 +691,9 @@ export const tokens = {
|
|
|
574
691
|
"color.icon.info": "#6bb3fa",
|
|
575
692
|
"color.link": "#6bb3fa",
|
|
576
693
|
"color.link.hover": "#b8dcf5",
|
|
694
|
+
"color.background.primary": "#eeeeed",
|
|
695
|
+
"color.background.primary.hover": "#cac9c6",
|
|
696
|
+
"color.background.primary.pressed": "#a8a6a3",
|
|
577
697
|
"color.background.neutral": "#282827",
|
|
578
698
|
"color.background.neutral.hover": "#302f2e",
|
|
579
699
|
"color.background.neutral.pressed": "#373735",
|
|
@@ -642,15 +762,18 @@ export const tokens = {
|
|
|
642
762
|
"color.code.background": "#181717",
|
|
643
763
|
"color.code.text": "#eeeeed",
|
|
644
764
|
"diagram.canvas": "#181717",
|
|
765
|
+
"diagram.grid": "#434241",
|
|
645
766
|
"diagram.node-fill": "#201f1f",
|
|
646
767
|
"diagram.node-border": "#878682",
|
|
647
768
|
"diagram.node-title": "#eeeeed",
|
|
648
769
|
"diagram.node-desc": "#cac9c6",
|
|
649
770
|
"diagram.tile-bg": "#282827",
|
|
650
771
|
"diagram.tile-glyph": "#cac9c6",
|
|
651
|
-
"diagram.state-ran-ok": "#
|
|
772
|
+
"diagram.state-ran-ok": "#6bb3fa",
|
|
652
773
|
"diagram.ran-ok-fill": "#201f1f",
|
|
653
|
-
"diagram.
|
|
774
|
+
"diagram.log-reached": "#6bb3fa",
|
|
775
|
+
"diagram.log-unfinished": "#f5974e",
|
|
776
|
+
"diagram.fail-stroke": "#ff8e84",
|
|
654
777
|
"diagram.fail-fill": "#3b1310",
|
|
655
778
|
"diagram.fail-title": "#ff8e84",
|
|
656
779
|
"diagram.fail-desc": "#ff8e84",
|
|
@@ -733,6 +856,62 @@ export const tokens = {
|
|
|
733
856
|
"resize.active": "#6bb3fa",
|
|
734
857
|
"resize.grip": "#cac9c6",
|
|
735
858
|
"resize.activeGrip": "#181717",
|
|
859
|
+
"scrollbar.track": "#434241",
|
|
860
|
+
"scrollbar.thumb": "#a8a6a3",
|
|
861
|
+
"scrollbar.thumbHover": "#eeeeed",
|
|
862
|
+
"scrollbar.thumbActive": "#eeeeed",
|
|
863
|
+
"scrollbar.corner": "#434241",
|
|
864
|
+
"switch.focus-ring": "#6bb3fa",
|
|
865
|
+
"switch.off.track": "#282827",
|
|
866
|
+
"switch.off.track.hover": "#302f2e",
|
|
867
|
+
"switch.off.track.pressed": "#373735",
|
|
868
|
+
"switch.off.track.focus": "#282827",
|
|
869
|
+
"switch.off.track.loading": "#282827",
|
|
870
|
+
"switch.off.track.disabled": "#282827",
|
|
871
|
+
"switch.off.thumb": "#cac9c6",
|
|
872
|
+
"switch.off.thumb.hover": "#cac9c6",
|
|
873
|
+
"switch.off.thumb.pressed": "#cac9c6",
|
|
874
|
+
"switch.off.thumb.focus": "#cac9c6",
|
|
875
|
+
"switch.off.thumb.loading": "#cac9c6",
|
|
876
|
+
"switch.off.thumb.disabled": "#6b6a67",
|
|
877
|
+
"switch.off.label": "#eeeeed",
|
|
878
|
+
"switch.off.label.hover": "#eeeeed",
|
|
879
|
+
"switch.off.label.pressed": "#eeeeed",
|
|
880
|
+
"switch.off.label.focus": "#eeeeed",
|
|
881
|
+
"switch.off.label.loading": "#eeeeed",
|
|
882
|
+
"switch.off.label.disabled": "#6b6a67",
|
|
883
|
+
"switch.off.border": "#878682",
|
|
884
|
+
"switch.off.border.hover": "#878682",
|
|
885
|
+
"switch.off.border.pressed": "#a8a6a3",
|
|
886
|
+
"switch.off.border.focus": "#878682",
|
|
887
|
+
"switch.off.border.loading": "#878682",
|
|
888
|
+
"switch.off.border.disabled": "#434241",
|
|
889
|
+
"switch.off.loading-icon": "#181717",
|
|
890
|
+
"switch.on.track": "#eeeeed",
|
|
891
|
+
"switch.on.track.hover": "#cac9c6",
|
|
892
|
+
"switch.on.track.pressed": "#a8a6a3",
|
|
893
|
+
"switch.on.track.focus": "#eeeeed",
|
|
894
|
+
"switch.on.track.loading": "#eeeeed",
|
|
895
|
+
"switch.on.track.disabled": "#282827",
|
|
896
|
+
"switch.on.thumb": "#181717",
|
|
897
|
+
"switch.on.thumb.hover": "#181717",
|
|
898
|
+
"switch.on.thumb.pressed": "#181717",
|
|
899
|
+
"switch.on.thumb.focus": "#181717",
|
|
900
|
+
"switch.on.thumb.loading": "#181717",
|
|
901
|
+
"switch.on.thumb.disabled": "#6b6a67",
|
|
902
|
+
"switch.on.label": "#181717",
|
|
903
|
+
"switch.on.label.hover": "#181717",
|
|
904
|
+
"switch.on.label.pressed": "#181717",
|
|
905
|
+
"switch.on.label.focus": "#181717",
|
|
906
|
+
"switch.on.label.loading": "#181717",
|
|
907
|
+
"switch.on.label.disabled": "#6b6a67",
|
|
908
|
+
"switch.on.border": "#eeeeed",
|
|
909
|
+
"switch.on.border.hover": "#cac9c6",
|
|
910
|
+
"switch.on.border.pressed": "#a8a6a3",
|
|
911
|
+
"switch.on.border.focus": "#eeeeed",
|
|
912
|
+
"switch.on.border.loading": "#eeeeed",
|
|
913
|
+
"switch.on.border.disabled": "#434241",
|
|
914
|
+
"switch.on.loading-icon": "#cac9c6",
|
|
736
915
|
"visualization.metric.total-jobs": "#6bb3fa",
|
|
737
916
|
"visualization.metric.success-rate": "#5ec18a",
|
|
738
917
|
"visualization.metric.completed": "#5ec18a",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* Typography page examples. */
|
|
2
2
|
.type-faces { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--bh-space-200); margin: 0 0 var(--bh-space-300); }
|
|
3
|
-
.type-face { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--bh-space-250); margin: 0; padding: var(--bh-space-250); border: 1px solid var(--c-line); border-radius: var(--bh-radius-
|
|
3
|
+
.type-face { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--bh-space-250); margin: 0; padding: var(--bh-space-250); border: 1px solid var(--c-line); border-radius: var(--bh-radius-100); }
|
|
4
4
|
.prose .type-face-sample { margin: 0; font: var(--bh-font-display-large); }
|
|
5
5
|
.type-face figcaption { display: grid; gap: var(--bh-space-025); color: var(--c-muted); font: var(--bh-font-body-default); }
|
|
6
6
|
.type-face figcaption b { color: var(--c-ink); font: var(--bh-font-heading-small); }
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
@container prose (min-width: 640px) { .type-row { grid-template-columns: 180px minmax(0, 1fr); } .type-meta { grid-row: span 2; } .prose .type-use { grid-column: 2; } }
|
|
23
23
|
|
|
24
24
|
/* Product UI example with numbered markers. */
|
|
25
|
-
.type-ui { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--bh-space-300); margin: 0 0 var(--bh-space-300); padding: var(--bh-space-300); border: 1px solid var(--c-line); border-radius: var(--bh-radius-
|
|
25
|
+
.type-ui { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--bh-space-300); margin: 0 0 var(--bh-space-300); padding: var(--bh-space-300); border: 1px solid var(--c-line); border-radius: var(--bh-radius-100); background: var(--c-surf); }
|
|
26
26
|
/* The mock-up fits its column: no sideways scrolling. The legend sits under it, in two columns where there is room. */
|
|
27
27
|
.type-ui-scroll { min-width: 0; }
|
|
28
28
|
.type-ui-screen { display: grid; gap: var(--bh-space-200); min-width: 0; padding: var(--bh-space-250) var(--bh-space-250) var(--bh-space-250) var(--bh-space-500); border-radius: var(--bh-radius-100); background: var(--bh-color-surface); color: var(--bh-color-text); box-shadow: var(--bh-elevation-shadow-raised); }
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
.prose .type-features td { vertical-align: baseline; }
|
|
64
64
|
|
|
65
65
|
.type-numbers { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--bh-space-200); margin: 0 0 var(--bh-space-300); }
|
|
66
|
-
.type-numbers figure { margin: 0; padding: var(--bh-space-200) var(--bh-space-250); border: 1px solid var(--c-line); border-radius: var(--bh-radius-
|
|
66
|
+
.type-numbers figure { margin: 0; padding: var(--bh-space-200) var(--bh-space-250); border: 1px solid var(--c-line); border-radius: var(--bh-radius-100); }
|
|
67
67
|
.type-numbers figcaption { margin-bottom: var(--bh-space-100); color: var(--c-muted); font: var(--bh-font-body-small); }
|
|
68
68
|
.prose .type-numbers p { margin: 0; font: var(--bh-font-heading-medium); text-align: right; font-variant-numeric: proportional-nums; }
|
|
69
69
|
.prose .type-numbers p.is-tabular { font-variant-numeric: tabular-nums; }
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
|
|
81
81
|
/* Line height over several lines: English and Vietnamese side by side */
|
|
82
82
|
.type-leading { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--bh-space-200); margin: 0 0 var(--bh-space-300); }
|
|
83
|
-
.type-leading figure { margin: 0; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--bh-radius-
|
|
83
|
+
.type-leading figure { margin: 0; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--bh-radius-100); }
|
|
84
84
|
.type-leading figure.is-bad { border-color: var(--bh-color-border-danger); }
|
|
85
85
|
.type-leading-text { margin: 0; padding: var(--bh-space-200); color: var(--bh-color-text); background: repeating-linear-gradient(to bottom, var(--bh-color-background-neutral) 0 var(--lh), transparent var(--lh) calc(var(--lh) * 2)); background-origin: content-box; background-clip: content-box; }
|
|
86
86
|
.type-leading figcaption { display: grid; gap: var(--bh-space-025); padding: var(--bh-space-150) var(--bh-space-200); border-top: 1px solid var(--c-line); font: var(--bh-font-body-small); }
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* Illustrations for the Z-index page. Layers use the z-index tokens; colours, shadows and sizes are tokens. */
|
|
2
|
-
.zi-stack-fig { margin: var(--bh-space-300) 0; overflow: hidden; border: var(--bh-border-width-default) solid var(--bh-color-border); border-radius: var(--bh-radius-
|
|
2
|
+
.zi-stack-fig { margin: var(--bh-space-300) 0; overflow: hidden; border: var(--bh-border-width-default) solid var(--bh-color-border); border-radius: var(--bh-radius-100); }
|
|
3
3
|
.zi-stack-fig figcaption { padding: var(--bh-space-100) var(--bh-space-200); border-top: var(--bh-border-width-default) solid var(--bh-color-border); color: var(--bh-color-text-subtle); font: var(--bh-font-body-small); }
|
|
4
4
|
.zi-stack { position: relative; isolation: isolate; height: calc(8 * var(--bh-space-400) + 7 * var(--bh-space-100) + var(--bh-space-600)); background: var(--bh-color-surface-subtle); }
|
|
5
5
|
.zi-plate { position: absolute; left: calc(var(--bh-space-300) + var(--i, 0) * var(--bh-space-300)); bottom: calc(var(--bh-space-300) + var(--i, 0) * (var(--bh-space-400) + var(--bh-space-100))); display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: var(--bh-space-150); width: min(calc(100% - 9 * var(--bh-space-300)), 24rem); min-width: 14rem; height: calc(var(--bh-space-400) + var(--bh-space-200)); padding: 0 var(--bh-space-150); border: var(--bh-border-width-default) solid var(--bh-color-border); border-radius: var(--bh-radius-100); background: var(--bh-color-surface); }
|
|
6
6
|
.zi-plate b { color: var(--bh-color-text); font: var(--bh-font-label-default); }
|
|
7
|
-
.zi-plate code { color: var(--bh-color-text-subtle); font: var(--bh-font-code-default); font-size: var(--bh-font-size-100); font-variant-numeric: tabular-nums; }
|
|
7
|
+
.zi-plate code { white-space: nowrap; color: var(--bh-color-text-subtle); font: var(--bh-font-code-default); font-size: var(--bh-font-size-100); font-variant-numeric: tabular-nums; }
|
|
8
8
|
.zi-plate em { overflow: hidden; color: var(--bh-color-text-subtle); font: var(--bh-font-body-small); font-style: normal; white-space: nowrap; text-overflow: ellipsis; }
|
|
9
9
|
.zi-plate.is-page { left: var(--bh-space-300); bottom: var(--bh-space-300); background: var(--bh-color-surface-page); border-style: dashed; border-color: var(--bh-color-border-bold); }
|
|
10
10
|
.zi-plate.is-sticky, .zi-plate.is-navigation { background: var(--bh-color-surface-subtle); }
|
|
@@ -17,15 +17,15 @@
|
|
|
17
17
|
/* A product screen with numbered layers and a legend. */
|
|
18
18
|
.zi-screen-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--bh-space-200); margin: var(--bh-space-300) 0; }
|
|
19
19
|
@container prose (min-width: 640px) { .zi-screen-wrap { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; } }
|
|
20
|
-
.zi-screen { position: relative; isolation: isolate; overflow: hidden; border: var(--bh-border-width-default) solid var(--bh-color-border); border-radius: var(--bh-radius-
|
|
20
|
+
.zi-screen { position: relative; isolation: isolate; overflow: hidden; border: var(--bh-border-width-default) solid var(--bh-color-border); border-radius: var(--bh-radius-100); background: var(--bh-color-surface-page); }
|
|
21
21
|
.zi-head { position: relative; z-index: var(--bh-z-index-navigation); display: flex; align-items: center; gap: var(--bh-space-100); height: var(--bh-space-600); padding: 0 var(--bh-space-200); border-bottom: var(--bh-border-width-default) solid var(--bh-color-border); background: var(--bh-color-surface-page); color: var(--bh-color-text); font: var(--bh-font-label-default); }
|
|
22
22
|
.zi-head-r { margin-left: auto; }
|
|
23
|
-
.zi-icon { display: inline-grid; place-items: center; width: var(--bh-size-control-default); height: var(--bh-size-control-default); border-radius: var(--bh-radius-
|
|
23
|
+
.zi-icon { display: inline-grid; place-items: center; width: var(--bh-size-control-default); height: var(--bh-size-control-default); border-radius: var(--bh-radius-control); color: var(--bh-color-icon-subtle); }
|
|
24
24
|
.zi-body { position: relative; display: grid; gap: var(--bh-space-150); padding: var(--bh-space-200); min-height: calc(5 * var(--bh-space-600)); }
|
|
25
|
-
.zi-table { overflow: hidden; border: var(--bh-border-width-default) solid var(--bh-color-border); border-radius: var(--bh-radius-
|
|
25
|
+
.zi-table { overflow: hidden; border: var(--bh-border-width-default) solid var(--bh-color-border); border-radius: var(--bh-radius-0); }
|
|
26
26
|
.zi-th, .zi-tr { display: grid; grid-template-columns: auto 1fr 1fr 1fr; align-items: center; gap: var(--bh-space-100); padding: var(--bh-space-100) var(--bh-space-150); font: var(--bh-font-body-default); color: var(--bh-color-text); }
|
|
27
27
|
.zi-tr { grid-template-columns: 1fr 1fr 1fr; border-top: var(--bh-border-width-default) solid var(--bh-color-border); }
|
|
28
|
-
.zi-th { position: relative; z-index: var(--bh-z-index-sticky); background: var(--bh-color-surface-subtle); color: var(--bh-color-text-subtle); font: var(--bh-font-label-small); }
|
|
28
|
+
.zi-th { grid-template-columns: 1fr 1fr 1fr auto; position: relative; z-index: var(--bh-z-index-sticky); background: var(--bh-color-surface-subtle); color: var(--bh-color-text-subtle); font: var(--bh-font-label-small); }
|
|
29
29
|
.zi-menu { position: absolute; z-index: var(--bh-z-index-overlay); top: calc(var(--bh-size-control-small) + var(--bh-space-250)); left: var(--bh-space-200); min-width: 10rem; }
|
|
30
30
|
.zi-tip { position: absolute; z-index: var(--bh-z-index-tooltip); top: calc(-1 * var(--bh-space-050)); right: var(--bh-space-150); display: inline-flex; align-items: center; gap: var(--bh-space-050); }
|
|
31
31
|
.zi-toast { position: absolute; z-index: var(--bh-z-index-toast); right: var(--bh-space-200); bottom: var(--bh-space-200); gap: var(--bh-space-100); align-items: center; font: var(--bh-font-body-default); }
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
.zi-mini-dialog { position: absolute; z-index: var(--bh-z-index-modal); top: var(--bh-space-300); left: 50%; width: min(85%, 18rem); transform: translateX(-50%); }
|
|
44
44
|
.zi-mini-text { color: var(--bh-color-text-subtle); font: var(--bh-font-body-default); }
|
|
45
45
|
.zi-field { position: relative; }
|
|
46
|
-
.zi-input { display: flex; align-items: center; justify-content: space-between; gap: var(--bh-space-050); height: var(--bh-size-control-default); padding: 0 var(--bh-space-150); border: var(--bh-border-width-default) solid var(--bh-color-border-bold); border-radius: var(--bh-radius-
|
|
46
|
+
.zi-input { display: flex; align-items: center; justify-content: space-between; gap: var(--bh-space-050); height: var(--bh-size-control-default); padding: 0 var(--bh-space-150); border: var(--bh-border-width-default) solid var(--bh-color-border-bold); border-radius: var(--bh-radius-control); font: var(--bh-font-body-default); }
|
|
47
47
|
.zi-mini-list { position: absolute; top: calc(100% + var(--bh-space-050)); left: 0; right: 0; min-width: 0; }
|
|
48
48
|
.zi-mini.is-inside .zi-mini-dialog { top: var(--bh-space-200); }
|
|
49
49
|
.zi-mini.is-inside.is-dont .zi-mini-dialog { overflow: hidden; height: calc(2 * var(--bh-space-600) + var(--bh-space-200)); }
|
|
@@ -54,3 +54,6 @@
|
|
|
54
54
|
.prose .zi-plate code, .zi-plate code { padding: 0; background: transparent; }
|
|
55
55
|
.prose .zi-legend code, .zi-legend code { padding: 0; background: transparent; }
|
|
56
56
|
.zi-input svg { flex: none; color: var(--bh-color-icon-subtle); }
|
|
57
|
+
|
|
58
|
+
/* The menu opens over the left of the sticky header, so its number sits at the right end. */
|
|
59
|
+
.zi-th > .zi-n { order: 1; }
|
|
@@ -784,7 +784,7 @@
|
|
|
784
784
|
"subtlest": {
|
|
785
785
|
"$type": "color",
|
|
786
786
|
"$value": "{color.graphite.10}",
|
|
787
|
-
"$description": "Tertiary text: metadata, timestamps, placeholders, helper text, breadcrumbs."
|
|
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."
|
|
788
788
|
},
|
|
789
789
|
"disabled": {
|
|
790
790
|
"$type": "color",
|
|
@@ -897,6 +897,23 @@
|
|
|
897
897
|
}
|
|
898
898
|
},
|
|
899
899
|
"background": {
|
|
900
|
+
"primary": {
|
|
901
|
+
"$root": {
|
|
902
|
+
"$type": "color",
|
|
903
|
+
"$value": "{color.background.neutral.bold}",
|
|
904
|
+
"$description": "The main action: primary buttons. Points to background.neutral.bold, so changing the primary colour is one edit here."
|
|
905
|
+
},
|
|
906
|
+
"hover": {
|
|
907
|
+
"$type": "color",
|
|
908
|
+
"$value": "{color.background.neutral.bold.hover}",
|
|
909
|
+
"$description": "The main action on hover."
|
|
910
|
+
},
|
|
911
|
+
"pressed": {
|
|
912
|
+
"$type": "color",
|
|
913
|
+
"$value": "{color.background.neutral.bold.pressed}",
|
|
914
|
+
"$description": "The main action when pressed."
|
|
915
|
+
}
|
|
916
|
+
},
|
|
900
917
|
"neutral": {
|
|
901
918
|
"$root": {
|
|
902
919
|
"$type": "color",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"content": {
|
|
3
|
-
"$description": "Reusable application-content identity
|
|
3
|
+
"$description": "Reusable application-content identity, empty-state and read-only step-progress geometry. Identity colours never encode operational status.",
|
|
4
4
|
"partner-logo": {
|
|
5
|
-
"size": { "$type": "dimension", "$value": "2.5rem", "$description": "
|
|
6
|
-
"image-size": { "$type": "dimension", "$value": "1.75rem", "$description": "
|
|
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." }
|
|
7
7
|
},
|
|
8
8
|
"avatar": {
|
|
9
9
|
"size": { "$type": "dimension", "$value": "2.5rem", "$description": "Default person or permission-member identity avatar; a visual identity, not a hit target." }
|
|
@@ -14,6 +14,11 @@
|
|
|
14
14
|
},
|
|
15
15
|
"empty-illustration": {
|
|
16
16
|
"size": { "$type": "dimension", "$value": "6rem", "$description": "Empty-state illustration container. Standard icons inside retain their own source icon sizes." }
|
|
17
|
+
},
|
|
18
|
+
"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." }
|
|
17
22
|
}
|
|
18
23
|
}
|
|
19
24
|
}
|
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"diagram": {
|
|
3
3
|
"$description": "Operational execution diagrams. Descriptive states are not business statuses; selection is an independent outer ring. See tools/mermaid.",
|
|
4
|
-
"canvas": { "$type": "color", "$value": "{color.surface.page}", "$description": "Opaque
|
|
4
|
+
"canvas": { "$type": "color", "$value": "{color.surface.page}", "$description": "Opaque viewport and image-export sheet; transparent live SVG/groups expose its grid. Pair with node and edge text." },
|
|
5
|
+
"grid": { "$type": "color", "$value": "{color.border}", "$description": "Subtle dotted drawing grid, shared with native Data Flow; never an execution cue." },
|
|
6
|
+
"group-fill": { "$type": "color", "$value": "{color.background.neutral.subtle}", "$description": "Transparent graph-stage body: retain native grouping boundary/title without hiding the viewport's dotted grid. Export keeps the opaque canvas sheet behind it." },
|
|
7
|
+
"grid-gap": { "$type": "dimension", "$value": "18px", "$description": "Native Data Flow dotted-grid interval in graph coordinates, transformed with the camera." },
|
|
8
|
+
"grid-dot": { "$type": "dimension", "$value": "1.2px", "$description": "Native Data Flow grid dot radius in graph coordinates." },
|
|
5
9
|
"node-fill": { "$type": "color", "$value": "{color.surface}", "$description": "Default and indeterminate node fill." },
|
|
6
10
|
"node-border": { "$type": "color", "$value": "{color.border.bold}", "$description": "Meaningful default and indeterminate node boundary." },
|
|
7
11
|
"node-title": { "$type": "color", "$value": "{color.text}", "$description": "Node title on node-fill." },
|
|
8
12
|
"node-desc": { "$type": "color", "$value": "{color.text.subtle}", "$description": "Descriptive node and inspector text on neutral surfaces." },
|
|
9
13
|
"tile-bg": { "$type": "color", "$value": "{color.background.neutral}", "$description": "Step-category glyph plate; not a status." },
|
|
10
14
|
"tile-glyph": { "$type": "color", "$value": "{color.icon}", "$description": "Step-category glyph on tile-bg." },
|
|
11
|
-
"state-ran-ok": { "$type": "color", "$value": "{color.text.
|
|
15
|
+
"state-ran-ok": { "$type": "color", "$value": "{color.text.info}", "$description": "Execution evidence without a reported failure. Informational blue and a completion marker, never business-success green." },
|
|
12
16
|
"ran-ok-fill": { "$type": "color", "$value": "{color.surface}", "$description": "Ran step fill; retain text and completion marker as non-colour cues." },
|
|
13
|
-
"
|
|
17
|
+
"log-reached": { "$type": "color", "$value": "{color.text.info}", "$description": "Log-only reachability, paired with a reach marker; not a typed successful execution." },
|
|
18
|
+
"log-unfinished": { "$type": "color", "$value": "{color.text.warning}", "$description": "Started interval without a recorded ending, paired with an ellipsis and dashed boundary; not a proven failure." },
|
|
19
|
+
"fail-stroke": { "$type": "color", "$value": "{color.text.danger}", "$description": "Proven failure boundary and native shared state-label paint; pair with fail-fill and the native failure marker." },
|
|
14
20
|
"fail-fill": { "$type": "color", "$value": "{color.background.danger.subtle}", "$description": "Failed execution node fill." },
|
|
15
21
|
"fail-title": { "$type": "color", "$value": "{color.text.danger}", "$description": "Failure title on fail-fill." },
|
|
16
22
|
"fail-desc": { "$type": "color", "$value": "{color.text.danger}", "$description": "Failure description on fail-fill." },
|
|
@@ -115,8 +115,8 @@
|
|
|
115
115
|
"decision": {
|
|
116
116
|
"foreground": {
|
|
117
117
|
"$type": "color",
|
|
118
|
-
"$value": "#
|
|
119
|
-
"$description": "
|
|
118
|
+
"$value": "#087b88",
|
|
119
|
+
"$description": "Decision identity label on its paired surface; AA small-text contrast, independent of the frame and directed-edge stroke.",
|
|
120
120
|
"$extensions": {
|
|
121
121
|
"design.beehexa": {
|
|
122
122
|
"dark": "#7bdce5"
|
|
@@ -22,6 +22,10 @@
|
|
|
22
22
|
"wide": { "$type": "dimension", "$value": "70vw", "$description": "Explicit wide data-inspection variant when its content needs it, from breakpoint.lg. Never a blanket override of all drawers." },
|
|
23
23
|
"mobile": { "$type": "dimension", "$value": "100vw", "$description": "Full available viewport width for data-inspection overlays below breakpoint.lg; content and actions must reflow." }
|
|
24
24
|
},
|
|
25
|
+
"renderer": {
|
|
26
|
+
"minimum-inline-size": { "$type": "dimension", "$value": "21.875rem", "$description": "350px nominal readable interactive editor/canvas viewport. The allocated outer shell still shrinks; expose narrower allocations through one explicit overflow owner. Not a minimum for static text or read-only fields." },
|
|
27
|
+
"minimum-block-size": { "$type": "dimension", "$value": "21.875rem", "$description": "350px nominal readable interactive editor/canvas viewport below its intrinsic toolbar. Fill larger parent allocations instead of treating this minimum as a fixed height or cap." }
|
|
28
|
+
},
|
|
25
29
|
"description": {
|
|
26
30
|
"minimum": { "$type": "dimension", "$value": "12.5rem", "$description": "200px nominal minimum description-column width in desktop structured data inspection. Below the available inline budget, stack content instead of forcing horizontal overflow." }
|
|
27
31
|
}
|
|
@@ -1,12 +1,44 @@
|
|
|
1
1
|
{
|
|
2
2
|
"motion": {
|
|
3
3
|
"duration": {
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
4
|
+
"instant": { "$type": "duration", "$value": "0ms", "$description": "0 ms. Changes that happen at once. Every duration becomes this when reduced motion is on." },
|
|
5
|
+
"fast": { "$type": "duration", "$value": "100ms", "$description": "100 ms. Hover, press and colour changes; closing tooltips, menus and toasts; dropping a dragged item." },
|
|
6
|
+
"default": { "$type": "duration", "$value": "200ms", "$description": "200 ms. Opening tooltips, menus, popovers and toasts; tab indicator, switch knob, accordion, side navigation; closing dialogs and drawers." },
|
|
7
|
+
"slow": { "$type": "duration", "$value": "300ms", "$description": "300 ms. Opening dialogs and drawers; closing full-screen sheets." },
|
|
8
|
+
"slower": { "$type": "duration", "$value": "400ms", "$description": "400 ms. Opening full-screen sheets and other large surfaces." },
|
|
9
|
+
"slowest": { "$type": "duration", "$value": "600ms", "$description": "600 ms. Rare emphasized moments people see once, such as finishing onboarding. Never for everyday controls." }
|
|
7
10
|
},
|
|
8
11
|
"easing": {
|
|
9
|
-
"standard": { "$type": "cubicBezier", "$value": "cubic-bezier(0.
|
|
10
|
-
|
|
12
|
+
"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." },
|
|
13
|
+
"enter": { "$type": "cubicBezier", "$value": "cubic-bezier(0, 0, 0.2, 1)", "$description": "Starts fast and slows to a stop. Things that come onto the screen: menus, dialogs, drawers, toasts." },
|
|
14
|
+
"exit": { "$type": "cubicBezier", "$value": "cubic-bezier(0.4, 0, 1, 1)", "$description": "Starts slow and speeds up. Things that leave the screen. Pair with a duration one step shorter than the enter." },
|
|
15
|
+
"linear": { "$type": "cubicBezier", "$value": "cubic-bezier(0, 0, 1, 1)", "$description": "Even speed. Fades of opacity or colour, progress bars and spinners." },
|
|
16
|
+
"emphasized": { "$type": "cubicBezier", "$value": "cubic-bezier(0.05, 0.7, 0.1, 1)", "$description": "Covers most of the distance at once, then settles slowly. Only for rare emphasized moments, with motion.duration.slowest." }
|
|
17
|
+
},
|
|
18
|
+
"keyframe": {
|
|
19
|
+
"offset": {
|
|
20
|
+
"enter": { "$type": "dimension", "$value": "0.5rem", "$description": "8 px. How far a menu, popover or toast slides as it comes in." },
|
|
21
|
+
"exit": { "$type": "dimension", "$value": "0.25rem", "$description": "4 px. How far it slides as it leaves." }
|
|
22
|
+
},
|
|
23
|
+
"scale": { "$type": "number", "$value": "0.95", "$description": "Scale a dialog grows from as it opens, and shrinks to as it closes." },
|
|
24
|
+
"slide": { "$type": "dimension", "$value": "100%", "$description": "Drawers, side panels and full-screen sheets slide their own full width or height." }
|
|
25
|
+
},
|
|
26
|
+
"control": { "$type": "transition", "$value": { "duration": "{motion.duration.fast}", "delay": "0ms", "timingFunction": "{motion.easing.standard}" }, "$description": "Hover, press and colour changes of buttons, fields and other controls.", "$extensions": { "design.beehexa": { "family": "control" } } },
|
|
27
|
+
"indicator": { "$type": "transition", "$value": { "duration": "{motion.duration.default}", "delay": "0ms", "timingFunction": "{motion.easing.enter}" }, "$description": "Tab indicator, switch knob and other indicators that slide to a new place.", "$extensions": { "design.beehexa": { "family": "indicator" } } },
|
|
28
|
+
"expand": { "$type": "transition", "$value": { "duration": "{motion.duration.default}", "delay": "0ms", "timingFunction": "{motion.easing.standard}" }, "$description": "Accordions, trees and side navigation that open and close in place.", "$extensions": { "design.beehexa": { "family": "expand" } } },
|
|
29
|
+
"overlay": {
|
|
30
|
+
"enter": { "$type": "transition", "$value": { "duration": "{motion.duration.default}", "delay": "0ms", "timingFunction": "{motion.easing.enter}" }, "$description": "Tooltips, menus, selects, popovers and toasts coming in. Fade and slide motion.keyframe.offset.enter.", "$extensions": { "design.beehexa": { "family": "overlay" } } },
|
|
31
|
+
"exit": { "$type": "transition", "$value": { "duration": "{motion.duration.fast}", "delay": "0ms", "timingFunction": "{motion.easing.exit}" }, "$description": "Tooltips, menus, selects, popovers and toasts leaving. Fade and slide motion.keyframe.offset.exit.", "$extensions": { "design.beehexa": { "family": "overlay" } } }
|
|
32
|
+
},
|
|
33
|
+
"modal": {
|
|
34
|
+
"enter": { "$type": "transition", "$value": { "duration": "{motion.duration.slow}", "delay": "0ms", "timingFunction": "{motion.easing.enter}" }, "$description": "Dialogs, drawers and side panels opening. Dialogs scale from motion.keyframe.scale; drawers slide motion.keyframe.slide.", "$extensions": { "design.beehexa": { "family": "modal" } } },
|
|
35
|
+
"exit": { "$type": "transition", "$value": { "duration": "{motion.duration.default}", "delay": "0ms", "timingFunction": "{motion.easing.exit}" }, "$description": "Dialogs, drawers and side panels closing.", "$extensions": { "design.beehexa": { "family": "modal" } } }
|
|
36
|
+
},
|
|
37
|
+
"sheet": {
|
|
38
|
+
"enter": { "$type": "transition", "$value": { "duration": "{motion.duration.slower}", "delay": "0ms", "timingFunction": "{motion.easing.enter}" }, "$description": "Full-screen sheets and other large surfaces coming in.", "$extensions": { "design.beehexa": { "family": "sheet" } } },
|
|
39
|
+
"exit": { "$type": "transition", "$value": { "duration": "{motion.duration.slow}", "delay": "0ms", "timingFunction": "{motion.easing.exit}" }, "$description": "Full-screen sheets and other large surfaces leaving.", "$extensions": { "design.beehexa": { "family": "sheet" } } }
|
|
40
|
+
},
|
|
41
|
+
"drop": { "$type": "transition", "$value": { "duration": "{motion.duration.fast}", "delay": "0ms", "timingFunction": "{motion.easing.standard}" }, "$description": "A dragged item dropping into place, or going back when the drag is cancelled.", "$extensions": { "design.beehexa": { "family": "drop" } } },
|
|
42
|
+
"emphasized": { "$type": "transition", "$value": { "duration": "{motion.duration.slowest}", "delay": "0ms", "timingFunction": "{motion.easing.emphasized}" }, "$description": "Rare emphasized moments people see once, such as finishing onboarding.", "$extensions": { "design.beehexa": { "family": "emphasized" } } }
|
|
11
43
|
}
|
|
12
44
|
}
|