@beehexa/design-rules 2611.3.3 → 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.
Files changed (171) hide show
  1. package/README.md +1 -1
  2. package/dist/AGENTS.md +1 -7
  3. package/dist/catalog.json +703 -321
  4. package/dist/docs/public/_redirects +2 -0
  5. package/dist/docs/scripts/color-pairs.mjs +5 -1
  6. package/dist/docs/scripts/token-utils.d.mts +5 -1
  7. package/dist/docs/scripts/token-utils.mjs +44 -4
  8. package/dist/docs/src/brand/structure-proposal.md +1 -1
  9. package/dist/docs/src/components/ColorDemo.astro +56 -18
  10. package/dist/docs/src/components/ElevationDemo.astro +196 -0
  11. package/dist/docs/src/components/LayoutDemo.astro +1 -1
  12. package/dist/docs/src/components/MotionDemo.astro +135 -0
  13. package/dist/docs/src/components/NativeControlsDemo.astro +279 -0
  14. package/dist/docs/src/components/OpacityDemo.astro +95 -0
  15. package/dist/docs/src/components/RoleGuides.astro +2 -2
  16. package/dist/docs/src/components/ShapeDemo.astro +88 -44
  17. package/dist/docs/src/components/ShapePin.astro +5 -3
  18. package/dist/docs/src/components/SiteHeader.astro +19 -4
  19. package/dist/docs/src/components/SystemAreas.astro +1 -1
  20. package/dist/docs/src/components/TokenTable.astro +16 -1
  21. package/dist/docs/src/components/TypeDemo.astro +15 -15
  22. package/dist/docs/src/components/ZIndexDemo.astro +102 -0
  23. package/dist/docs/src/components/logos/LogoInUse.astro +3 -3
  24. package/dist/docs/src/content/components/button/accessibility.mdx +41 -8
  25. package/dist/docs/src/content/components/button/code.mdx +8 -1
  26. package/dist/docs/src/content/components/button/examples.mdx +23 -4
  27. package/dist/docs/src/content/components/button/usage.mdx +26 -0
  28. package/dist/docs/src/content/components/resizable-panel/accessibility.mdx +61 -0
  29. package/dist/docs/src/content/components/resizable-panel/changelog.mdx +20 -0
  30. package/dist/docs/src/content/components/resizable-panel/code.mdx +79 -0
  31. package/dist/docs/src/content/components/resizable-panel/examples.mdx +85 -0
  32. package/dist/docs/src/content/components/resizable-panel/meta.json +5 -0
  33. package/dist/docs/src/content/components/resizable-panel/usage.mdx +101 -0
  34. package/dist/docs/src/content/foundations/guidelines/accessibility/keyboard-and-focus.mdx +75 -0
  35. package/dist/docs/src/content/foundations/guidelines/accessibility/statement.mdx +45 -0
  36. package/dist/docs/src/content/foundations/guidelines/accessibility/testing.mdx +58 -0
  37. package/dist/docs/src/content/foundations/guidelines/accessibility.mdx +100 -11
  38. package/dist/docs/src/content/foundations/guidelines/content.mdx +11 -2
  39. package/dist/docs/src/content/foundations/index.mdx +3 -3
  40. package/dist/docs/src/content/foundations/styles/border.mdx +13 -6
  41. package/dist/docs/src/content/foundations/styles/color/accessibility.mdx +4 -2
  42. package/dist/docs/src/content/foundations/styles/color/dark-mode.mdx +2 -2
  43. package/dist/docs/src/content/foundations/styles/color/index.mdx +14 -2
  44. package/dist/docs/src/content/foundations/styles/color/palette.mdx +4 -4
  45. package/dist/docs/src/content/foundations/styles/color/tokens.mdx +2 -2
  46. package/dist/docs/src/content/foundations/styles/color/usage.mdx +34 -5
  47. package/dist/docs/src/content/foundations/styles/data-visualization.mdx +150 -6
  48. package/dist/docs/src/content/foundations/styles/elevation.mdx +72 -3
  49. package/dist/docs/src/content/foundations/styles/icons/accessibility.mdx +1 -1
  50. package/dist/docs/src/content/foundations/styles/icons/code.mdx +6 -18
  51. package/dist/docs/src/content/foundations/styles/icons/index.mdx +2 -2
  52. package/dist/docs/src/content/foundations/styles/icons/usage.mdx +13 -8
  53. package/dist/docs/src/content/foundations/styles/interaction-states.mdx +82 -9
  54. package/dist/docs/src/content/foundations/styles/layout/app-frame.mdx +12 -4
  55. package/dist/docs/src/content/foundations/styles/layout/breakpoints.mdx +10 -7
  56. package/dist/docs/src/content/foundations/styles/layout/grid.mdx +4 -2
  57. package/dist/docs/src/content/foundations/styles/layout/index.mdx +3 -3
  58. package/dist/docs/src/content/foundations/styles/layout/overlays.mdx +28 -37
  59. package/dist/docs/src/content/foundations/styles/layout/page-widths.mdx +4 -4
  60. package/dist/docs/src/content/foundations/styles/logos/downloads-and-terms.mdx +7 -7
  61. package/dist/docs/src/content/foundations/styles/logos/index.mdx +13 -2
  62. package/dist/docs/src/content/foundations/styles/logos/placement-and-containers.mdx +4 -2
  63. package/dist/docs/src/content/foundations/styles/logos/product-logos.mdx +2 -2
  64. package/dist/docs/src/content/foundations/styles/logos/using-the-logo.mdx +3 -1
  65. package/dist/docs/src/content/foundations/styles/motion.mdx +131 -3
  66. package/dist/docs/src/content/foundations/styles/opacity.mdx +49 -5
  67. package/dist/docs/src/content/foundations/styles/radius.mdx +63 -15
  68. package/dist/docs/src/content/foundations/styles/scrollbars.mdx +176 -0
  69. package/dist/docs/src/content/foundations/styles/size-and-density.mdx +23 -6
  70. package/dist/docs/src/content/foundations/styles/spacing.mdx +17 -3
  71. package/dist/docs/src/content/foundations/styles/typography/code.mdx +5 -3
  72. package/dist/docs/src/content/foundations/styles/typography/index.mdx +13 -3
  73. package/dist/docs/src/content/foundations/styles/typography/usage.mdx +5 -3
  74. package/dist/docs/src/content/foundations/styles/typography/vietnamese.mdx +2 -2
  75. package/dist/docs/src/content/foundations/styles/z-index.mdx +67 -5
  76. package/dist/docs/src/content/foundations/tokens/all-tokens.mdx +11 -0
  77. package/dist/docs/src/content/foundations/tokens/index.mdx +17 -9
  78. package/dist/docs/src/content/get-started/design.mdx +1 -1
  79. package/dist/docs/src/content/get-started/develop.mdx +2 -6
  80. package/dist/docs/src/content/get-started/index.mdx +1 -1
  81. package/dist/docs/src/content/release-phases/index.mdx +1 -1
  82. package/dist/docs/src/content/tools/ant-design-vue-theme.mdx +571 -19
  83. package/dist/docs/src/content/tools/application-content.mdx +176 -0
  84. package/dist/docs/src/content/tools/editors.mdx +271 -0
  85. package/dist/docs/src/content/tools/eslint.mdx +1 -1
  86. package/dist/docs/src/content/tools/index.mdx +2 -2
  87. package/dist/docs/src/content/tools/mermaid.mdx +190 -0
  88. package/dist/docs/src/content/tools/vueflow.mdx +179 -0
  89. package/dist/docs/src/content-vi/foundations/guidelines/accessibility/keyboard-and-focus.mdx +75 -0
  90. package/dist/docs/src/content-vi/foundations/guidelines/accessibility/statement.mdx +45 -0
  91. package/dist/docs/src/content-vi/foundations/guidelines/accessibility/testing.mdx +58 -0
  92. package/dist/docs/src/content-vi/foundations/guidelines/accessibility.mdx +108 -0
  93. package/dist/docs/src/content-vi/foundations/guidelines/content.mdx +34 -0
  94. package/dist/docs/src/content-vi/foundations/index.mdx +9 -0
  95. package/dist/docs/src/content-vi/foundations/styles/border.mdx +12 -6
  96. package/dist/docs/src/content-vi/foundations/styles/color/accessibility.mdx +4 -2
  97. package/dist/docs/src/content-vi/foundations/styles/color/dark-mode.mdx +2 -2
  98. package/dist/docs/src/content-vi/foundations/styles/color/index.mdx +14 -2
  99. package/dist/docs/src/content-vi/foundations/styles/color/palette.mdx +5 -5
  100. package/dist/docs/src/content-vi/foundations/styles/color/tokens.mdx +2 -2
  101. package/dist/docs/src/content-vi/foundations/styles/color/usage.mdx +34 -5
  102. package/dist/docs/src/content-vi/foundations/styles/data-visualization.mdx +75 -6
  103. package/dist/docs/src/content-vi/foundations/styles/elevation.mdx +81 -0
  104. package/dist/docs/src/content-vi/foundations/styles/icons/accessibility.mdx +1 -1
  105. package/dist/docs/src/content-vi/foundations/styles/icons/code.mdx +6 -18
  106. package/dist/docs/src/content-vi/foundations/styles/icons/index.mdx +2 -2
  107. package/dist/docs/src/content-vi/foundations/styles/icons/usage.mdx +13 -8
  108. package/dist/docs/src/content-vi/foundations/styles/interaction-states.mdx +22 -8
  109. package/dist/docs/src/content-vi/foundations/styles/layout/app-frame.mdx +13 -1
  110. package/dist/docs/src/content-vi/foundations/styles/layout/breakpoints.mdx +10 -7
  111. package/dist/docs/src/content-vi/foundations/styles/layout/grid.mdx +4 -2
  112. package/dist/docs/src/content-vi/foundations/styles/layout/index.mdx +3 -3
  113. package/dist/docs/src/content-vi/foundations/styles/layout/overlays.mdx +36 -0
  114. package/dist/docs/src/content-vi/foundations/styles/layout/page-widths.mdx +5 -1
  115. package/dist/docs/src/content-vi/foundations/styles/logos/downloads-and-terms.mdx +7 -7
  116. package/dist/docs/src/content-vi/foundations/styles/logos/index.mdx +13 -2
  117. package/dist/docs/src/content-vi/foundations/styles/logos/placement-and-containers.mdx +4 -2
  118. package/dist/docs/src/content-vi/foundations/styles/logos/product-logos.mdx +2 -2
  119. package/dist/docs/src/content-vi/foundations/styles/logos/using-the-logo.mdx +3 -1
  120. package/dist/docs/src/content-vi/foundations/styles/motion.mdx +139 -0
  121. package/dist/docs/src/content-vi/foundations/styles/opacity.mdx +49 -5
  122. package/dist/docs/src/content-vi/foundations/styles/radius.mdx +63 -15
  123. package/dist/docs/src/content-vi/foundations/styles/size-and-density.mdx +23 -6
  124. package/dist/docs/src/content-vi/foundations/styles/spacing.mdx +17 -3
  125. package/dist/docs/src/content-vi/foundations/styles/typography/code.mdx +5 -3
  126. package/dist/docs/src/content-vi/foundations/styles/typography/index.mdx +14 -4
  127. package/dist/docs/src/content-vi/foundations/styles/typography/usage.mdx +4 -2
  128. package/dist/docs/src/content-vi/foundations/styles/typography/vietnamese.mdx +2 -2
  129. package/dist/docs/src/content-vi/foundations/styles/z-index.mdx +67 -5
  130. package/dist/docs/src/content-vi/foundations/tokens/all-tokens.mdx +47 -0
  131. package/dist/docs/src/content-vi/foundations/tokens/index.mdx +35 -0
  132. package/dist/docs/src/lib/i18n.ts +0 -1
  133. package/dist/docs/src/lib/token-descriptions-vi.ts +81 -14
  134. package/dist/docs/src/lib/tokens.ts +3 -0
  135. package/dist/docs/src/styles/chrome.css +21 -14
  136. package/dist/docs/src/styles/color.css +50 -53
  137. package/dist/docs/src/styles/docs.css +37 -55
  138. package/dist/docs/src/styles/elevation.css +83 -0
  139. package/dist/docs/src/styles/global.css +21 -10
  140. package/dist/docs/src/styles/icons.css +20 -23
  141. package/dist/docs/src/styles/kit.css +116 -0
  142. package/dist/docs/src/styles/layout.css +8 -13
  143. package/dist/docs/src/styles/motion.css +34 -0
  144. package/dist/docs/src/styles/opacity.css +43 -0
  145. package/dist/docs/src/styles/scrollbars.css +74 -0
  146. package/dist/docs/src/styles/shapes.css +35 -29
  147. package/dist/docs/src/styles/tokens.css +1663 -4
  148. package/dist/docs/src/styles/tokens.js +538 -4
  149. package/dist/docs/src/styles/typography.css +8 -11
  150. package/dist/docs/src/styles/zindex.css +59 -0
  151. package/dist/docs/tokens/border.json +1 -1
  152. package/dist/docs/tokens/color.json +75 -4
  153. package/dist/docs/tokens/content.json +24 -0
  154. package/dist/docs/tokens/diagram.json +54 -0
  155. package/dist/docs/tokens/editor.json +129 -0
  156. package/dist/docs/tokens/elevation.json +15 -5
  157. package/dist/docs/tokens/flow.json +497 -0
  158. package/dist/docs/tokens/layout.json +4 -0
  159. package/dist/docs/tokens/motion.json +37 -5
  160. package/dist/docs/tokens/opacity.json +9 -0
  161. package/dist/docs/tokens/radius.json +52 -8
  162. package/dist/docs/tokens/resize.json +79 -0
  163. package/dist/docs/tokens/scrollbar.json +40 -0
  164. package/dist/docs/tokens/size.json +7 -1
  165. package/dist/docs/tokens/spacing.json +35 -5
  166. package/dist/docs/tokens/switch.json +280 -0
  167. package/dist/docs/tokens/typography.json +5 -0
  168. package/dist/docs/tokens/visualization.json +123 -0
  169. package/dist/docs/tokens/z-index.json +49 -0
  170. package/dist/index.js +703 -321
  171. package/package.json +1 -1
@@ -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-150); }
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-150); background: var(--c-surf); }
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); }
@@ -31,20 +31,17 @@
31
31
  .ui-crumb, .ui-meta { color: var(--bh-color-text-subtlest); }
32
32
  .ui-card > span:first-child { color: var(--bh-color-text-subtle); }
33
33
  .ui-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--bh-space-150); }
34
- .ui-card { display: grid; gap: var(--bh-space-025); padding: calc(var(--bh-space-150) - 1px); border: 1px solid var(--bh-color-border); border-radius: var(--bh-radius-100); }
34
+ .ui-card { display: grid; gap: var(--bh-space-025); }
35
35
  .ui-panel { gap: var(--bh-space-100); padding-left: var(--bh-space-150); }
36
36
  .ui-panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--bh-space-150) var(--bh-space-400); }
37
- .ui-btn { display: inline-flex; align-items: center; height: var(--bh-size-control-default); padding: 0 var(--bh-space-150); border-radius: var(--bh-radius-100); background: var(--bh-color-background-neutral-bold); color: var(--bh-color-text-inverse); white-space: nowrap; }
38
37
  .prose .ui-desc { margin: 0; color: var(--bh-color-text-subtle); }
39
38
  .prose .ui-table { width: 100%; margin: var(--bh-space-050) 0 0; }
40
- .prose .ui-table th { padding: var(--bh-space-075) var(--bh-space-100); color: var(--bh-color-text-subtle); border-bottom: 1px solid var(--bh-color-border); }
41
- .prose .ui-table td { padding: var(--bh-space-100); border-bottom: 1px solid var(--bh-color-border); vertical-align: baseline; } /* cells share one baseline, whatever their style */
39
+ .prose .ui-table th { padding: var(--bh-space-100) var(--bh-space-150); color: var(--bh-color-text-subtle); background: var(--bh-color-surface-subtle); border-bottom: var(--bh-border-width-default) solid var(--bh-color-border); font: var(--bh-font-label-small); }
40
+ .prose .ui-table td { padding: var(--bh-space-100) var(--bh-space-150); border-bottom: var(--bh-border-width-default) solid var(--bh-color-border); vertical-align: baseline; } /* cells share one baseline, whatever their style */
42
41
  /* The mock-up is a light screen in both themes, so it uses the light values of the role tokens
43
42
  as fixed colours: border.success / text.success (green 9 / 11) and border.danger / text.danger (red 9 / 11). */
44
- .ui-badge { display: inline-flex; align-items: center; height: 20px; padding: 0 calc(var(--bh-space-100) - 1px); border: 1px solid var(--bh-color-border-success); border-radius: var(--bh-radius-full); color: var(--bh-color-text-success); }
45
- .ui-badge.is-error { border-color: var(--bh-color-border-danger); color: var(--bh-color-text-danger); }
46
43
  .type-ui [data-n] { position: relative; }
47
- .type-ui [data-n]::after { content: attr(data-n); position: absolute; top: 50%; right: calc(100% + var(--bh-space-100)); translate: 0 -50%; display: grid; place-items: center; box-sizing: border-box; min-width: 20px; height: 20px; padding: 0 var(--bh-space-050); border-radius: var(--bh-radius-100); background: var(--bh-color-background-brand-bold); color: var(--bh-color-text-on-brand); font: var(--bh-font-label-small); font-variant-numeric: tabular-nums; }
44
+ .type-ui [data-n]::after { content: attr(data-n); position: absolute; top: 50%; right: calc(100% + var(--bh-space-100)); translate: 0 -50%; display: grid; place-items: center; box-sizing: border-box; min-width: 20px; height: 20px; padding: 0 var(--bh-space-050); border-radius: var(--bh-radius-100); background: var(--bh-color-background-neutral-bold); color: var(--bh-color-text-inverse); font: var(--bh-font-label-small); font-variant-numeric: tabular-nums; }
48
45
  .prose .type-ui-legend { align-self: start; display: grid; gap: var(--bh-space-075); margin: 0; padding-left: var(--bh-space-250); font: var(--bh-font-body-small); }
49
46
  .prose .type-ui-legend li { margin: 0; color: var(--c-muted); }
50
47
  .prose .type-ui-legend li::marker { color: var(--c-ink); }
@@ -66,7 +63,7 @@
66
63
  .prose .type-features td { vertical-align: baseline; }
67
64
 
68
65
  .type-numbers { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--bh-space-200); margin: 0 0 var(--bh-space-300); }
69
- .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-150); }
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); }
70
67
  .type-numbers figcaption { margin-bottom: var(--bh-space-100); color: var(--c-muted); font: var(--bh-font-body-small); }
71
68
  .prose .type-numbers p { margin: 0; font: var(--bh-font-heading-medium); text-align: right; font-variant-numeric: proportional-nums; }
72
69
  .prose .type-numbers p.is-tabular { font-variant-numeric: tabular-nums; }
@@ -83,7 +80,7 @@
83
80
 
84
81
  /* Line height over several lines: English and Vietnamese side by side */
85
82
  .type-leading { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--bh-space-200); margin: 0 0 var(--bh-space-300); }
86
- .type-leading figure { margin: 0; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--bh-radius-150); }
83
+ .type-leading figure { margin: 0; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--bh-radius-100); }
87
84
  .type-leading figure.is-bad { border-color: var(--bh-color-border-danger); }
88
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; }
89
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); }
@@ -0,0 +1,59 @@
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-100); }
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
+ .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
+ .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
+ .zi-plate b { color: var(--bh-color-text); font: var(--bh-font-label-default); }
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
+ .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
+ .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
+ .zi-plate.is-sticky, .zi-plate.is-navigation { background: var(--bh-color-surface-subtle); }
11
+ .zi-plate.is-tooltip { border-color: transparent; background: var(--bh-color-surface-inverse); }
12
+ .zi-plate.is-tooltip :is(b, code, em) { color: var(--bh-color-text-inverse); }
13
+ .zi-plate.is-overlay, .zi-plate.is-toast { background: var(--bh-color-surface-overlay); border-color: transparent; box-shadow: var(--bh-elevation-shadow-overlay); }
14
+ .zi-plate.is-modal, .zi-plate.is-spotlight { background: var(--bh-color-surface-overlay); border-color: transparent; box-shadow: var(--bh-elevation-shadow-modal); }
15
+ @container prose (max-width: 560px) { .zi-plate em { display: none; } .zi-plate { min-width: 0; grid-template-columns: auto auto; } }
16
+
17
+ /* A product screen with numbered layers and a legend. */
18
+ .zi-screen-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--bh-space-200); margin: var(--bh-space-300) 0; }
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-100); background: var(--bh-color-surface-page); }
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
+ .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-control); color: var(--bh-color-icon-subtle); }
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-0); }
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
+ .zi-tr { grid-template-columns: 1fr 1fr 1fr; border-top: var(--bh-border-width-default) solid var(--bh-color-border); }
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
+ .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
+ .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
+ .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); }
32
+ .zi-menu > .zi-n { position: absolute; top: calc(-1 * var(--bh-space-100)); left: calc(-1 * var(--bh-space-100)); }
33
+ .zi-legend { display: grid; gap: var(--bh-space-100); margin: 0; padding: 0; list-style: none; }
34
+ .zi-legend li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 var(--bh-space-100); align-items: center; }
35
+ .zi-legend li > span:last-child { grid-column: 2; color: var(--bh-color-text-subtle); font: var(--bh-font-body-small); }
36
+ .zi-legend code { font: var(--bh-font-code-default); font-size: var(--bh-font-size-100); }
37
+
38
+ /* Do and don't: a small dialog scene. */
39
+ .zi-dd { padding: var(--bh-space-150); }
40
+ .zi-mini { position: relative; isolation: isolate; width: 100%; height: calc(5 * var(--bh-space-600)); overflow: hidden; border-radius: var(--bh-radius-100); background: var(--bh-color-surface-page); }
41
+ .zi-mini .el-lines { position: absolute; inset: 0 0 auto; }
42
+ .zi-mini-scrim { z-index: var(--bh-z-index-modal); }
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
+ .zi-mini-text { color: var(--bh-color-text-subtle); font: var(--bh-font-body-default); }
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-control); font: var(--bh-font-body-default); }
47
+ .zi-mini-list { position: absolute; top: calc(100% + var(--bh-space-050)); left: 0; right: 0; min-width: 0; }
48
+ .zi-mini.is-inside .zi-mini-dialog { top: var(--bh-space-200); }
49
+ .zi-mini.is-inside.is-dont .zi-mini-dialog { overflow: hidden; height: calc(2 * var(--bh-space-600) + var(--bh-space-200)); }
50
+ .zi-mini-toast { position: absolute; right: var(--bh-space-150); bottom: var(--bh-space-150); }
51
+ .zi-mini.is-toast.is-do .zi-mini-toast { z-index: var(--bh-z-index-toast); }
52
+ .zi-mini.is-toast.is-dont .zi-mini-toast { z-index: var(--bh-z-index-overlay); }
53
+ .zi-mini.is-scrim.is-dont .zi-mini-scrim { z-index: calc(var(--bh-z-index-modal) + 1); }
54
+ .prose .zi-plate code, .zi-plate code { padding: 0; background: transparent; }
55
+ .prose .zi-legend code, .zi-legend code { padding: 0; background: transparent; }
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; }
@@ -19,7 +19,7 @@
19
19
  "accent": {
20
20
  "$type": "dimension",
21
21
  "$value": "4px",
22
- "$description": "4 px. A status or emphasis bar on one edge: alerts, banners, rows with an error, callouts and quotes. Pair with a status or brand border colour."
22
+ "$description": "4 px. A status or emphasis bar on one edge: rows with an error, callouts and quotes. Pair with a status or brand border colour."
23
23
  }
24
24
  }
25
25
  }
@@ -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",
@@ -1166,7 +1183,7 @@
1166
1183
  "$root": {
1167
1184
  "$type": "color",
1168
1185
  "$value": "{color.brand.white}",
1169
- "$description": "Cards, panels, dialogs. One step lighter than the page in dark.",
1186
+ "$description": "Cards and panels. One step lighter than the page in dark.",
1170
1187
  "$extensions": {
1171
1188
  "design.beehexa": {
1172
1189
  "dark": "{color.graphite.2}"
@@ -1186,12 +1203,66 @@
1186
1203
  "subtle": {
1187
1204
  "$type": "color",
1188
1205
  "$value": "{color.graphite.2}",
1189
- "$description": "Sidebars, table headers, quiet areas."
1206
+ "$description": "Shared global header/sidebar shell surface, mobile navigation drawer, table headers and quiet areas."
1207
+ },
1208
+ "overlay": {
1209
+ "$root": {
1210
+ "$type": "color",
1211
+ "$value": "{color.brand.white}",
1212
+ "$description": "Menus, popovers, select lists, toasts, dialogs and drawers. One step lighter than color.surface in dark, so a floating layer reads above cards.",
1213
+ "$extensions": {
1214
+ "design.beehexa": {
1215
+ "dark": "{color.graphite.3}"
1216
+ }
1217
+ }
1218
+ },
1219
+ "hover": {
1220
+ "$type": "color",
1221
+ "$value": "{color.graphite.2}",
1222
+ "$description": "Menu item or option on hover, inside color.surface.overlay.",
1223
+ "$extensions": {
1224
+ "design.beehexa": {
1225
+ "dark": "{color.graphite.4}"
1226
+ }
1227
+ }
1228
+ },
1229
+ "pressed": {
1230
+ "$type": "color",
1231
+ "$value": "{color.graphite.3}",
1232
+ "$description": "Menu item or option when pressed, inside color.surface.overlay.",
1233
+ "$extensions": {
1234
+ "design.beehexa": {
1235
+ "dark": "{color.graphite.5}"
1236
+ }
1237
+ }
1238
+ },
1239
+ "selected": {
1240
+ "$root": {
1241
+ "$type": "color",
1242
+ "$value": "{color.graphite.3}",
1243
+ "$description": "Selected option inside color.surface.overlay. Always add a second cue: a check or bold text.",
1244
+ "$extensions": {
1245
+ "design.beehexa": {
1246
+ "dark": "{color.graphite.5}"
1247
+ }
1248
+ }
1249
+ },
1250
+ "hover": {
1251
+ "$type": "color",
1252
+ "$value": "{color.graphite.4}",
1253
+ "$description": "Selected option on hover, inside color.surface.overlay. In dark it stays on graphite 5, as graphite 6 fails text and border contrast; the check mark carries the state.",
1254
+ "$extensions": {
1255
+ "design.beehexa": {
1256
+ "dark": "{color.graphite.5}"
1257
+ }
1258
+ }
1259
+ }
1260
+ }
1190
1261
  },
1191
1262
  "inverse": {
1192
1263
  "$type": "color",
1193
1264
  "$value": "{color.graphite.12}",
1194
- "$description": "Inverse surface: tooltips, toasts. Text on top: text.inverse."
1265
+ "$description": "Inverse surface: tooltips. Text on top: text.inverse."
1195
1266
  },
1196
1267
  "scrim": {
1197
1268
  "$type": "color",
@@ -0,0 +1,24 @@
1
+ {
2
+ "content": {
3
+ "$description": "Reusable application-content identity, empty-state and read-only step-progress geometry. Identity colours never encode operational status.",
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." }
7
+ },
8
+ "avatar": {
9
+ "size": { "$type": "dimension", "$value": "2.5rem", "$description": "Default person or permission-member identity avatar; a visual identity, not a hit target." }
10
+ },
11
+ "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." }
14
+ },
15
+ "empty-illustration": {
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." }
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,54 @@
1
+ {
2
+ "diagram": {
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 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." },
9
+ "node-fill": { "$type": "color", "$value": "{color.surface}", "$description": "Default and indeterminate node fill." },
10
+ "node-border": { "$type": "color", "$value": "{color.border.bold}", "$description": "Meaningful default and indeterminate node boundary." },
11
+ "node-title": { "$type": "color", "$value": "{color.text}", "$description": "Node title on node-fill." },
12
+ "node-desc": { "$type": "color", "$value": "{color.text.subtle}", "$description": "Descriptive node and inspector text on neutral surfaces." },
13
+ "tile-bg": { "$type": "color", "$value": "{color.background.neutral}", "$description": "Step-category glyph plate; not a status." },
14
+ "tile-glyph": { "$type": "color", "$value": "{color.icon}", "$description": "Step-category glyph on tile-bg." },
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." },
16
+ "ran-ok-fill": { "$type": "color", "$value": "{color.surface}", "$description": "Ran step fill; retain text and completion marker as non-colour cues." },
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." },
20
+ "fail-fill": { "$type": "color", "$value": "{color.background.danger.subtle}", "$description": "Failed execution node fill." },
21
+ "fail-title": { "$type": "color", "$value": "{color.text.danger}", "$description": "Failure title on fail-fill." },
22
+ "fail-desc": { "$type": "color", "$value": "{color.text.danger}", "$description": "Failure description on fail-fill." },
23
+ "unreached-fill": { "$type": "color", "$value": "{color.surface.subtle}", "$description": "Never-reached node fill; not a disabled control." },
24
+ "unreached-stroke": { "$type": "color", "$value": "{color.border.bold}", "$description": "Solid never-reached boundary with an explicit state label." },
25
+ "unreached-title": { "$type": "color", "$value": "{color.text.subtle}", "$description": "Never-reached title on unreached-fill." },
26
+ "unreached-desc": { "$type": "color", "$value": "{color.text.subtle}", "$description": "Never-reached description on unreached-fill." },
27
+ "nottaken-stroke": { "$type": "color", "$value": "{color.text.subtle}", "$description": "Dashed not-taken boundary; dashes and label distinguish it from never reached." },
28
+ "nottaken-fill": { "$type": "color", "$value": "{color.surface}", "$description": "Not-taken branch fill." },
29
+ "nottaken-title": { "$type": "color", "$value": "{color.text}", "$description": "Not-taken title on nottaken-fill." },
30
+ "nottaken-desc": { "$type": "color", "$value": "{color.text.subtle}", "$description": "Not-taken description on nottaken-fill." },
31
+ "badge-bg": { "$type": "color", "$value": "{color.surface}", "$description": "Repeat-count plate; repetition alone is not a warning." },
32
+ "badge-text": { "$type": "color", "$value": "{color.text.subtle}", "$description": "Descriptive repeat count on badge-bg." },
33
+ "badge-border": { "$type": "color", "$value": "{color.border.bold}", "$description": "Repeat-count outline." },
34
+ "edge": { "$type": "color", "$value": "{color.border.bold}", "$description": "Meaningful neutral relation line and arrow." },
35
+ "edge-label-text": { "$type": "color", "$value": "{color.text.subtle}", "$description": "Relation label on edge-label-bg." },
36
+ "edge-label-bg": { "$type": "color", "$value": "{color.surface.page}", "$description": "Opaque relation label plate." },
37
+ "panel-bg": { "$type": "color", "$value": "{color.surface}", "$description": "Inspector evidence surface." },
38
+ "panel-border": { "$type": "color", "$value": "{color.border}", "$description": "Decorative inspector divider, not an interactive boundary." },
39
+ "code-bg": { "$type": "color", "$value": "{color.surface}", "$description": "Structured key/value evidence surface; full code blocks use color.code roles." },
40
+ "code-key": { "$type": "color", "$value": "{color.text.subtle}", "$description": "Evidence field label on code-bg; not a link." },
41
+ "code-value": { "$type": "color", "$value": "{color.text}", "$description": "Evidence field value on code-bg." },
42
+ "selection-ring": { "$type": "color", "$value": "{color.border.focus}", "$description": "Independent outer selection/hover ring on canvas; never replace run-state paint." },
43
+ "node-font": { "$type": "font", "$value": "{font.body.default}", "$description": "Default Mermaid node label; inherits Vietnamese line-height." },
44
+ "card-width": { "$type": "dimension", "$value": "15rem", "$description": "240px measurable execution-step label card width; preserve fixed layout topology." },
45
+ "tile-size": { "$type": "dimension", "$value": "2.75rem", "$description": "44px step-category glyph tile inside execution-card labels, not an interaction target." },
46
+ "glyph-size": { "$type": "dimension", "$value": "2rem", "$description": "32px category symbol ink size within tile-size; this is a glyph, not display text." },
47
+ "preview-height": { "$type": "dimension", "$value": "45rem", "$description": "720px embedded authoring preview budget shared by the diagram and adjacent step-detail panel; fullscreen fills its host instead." },
48
+ "minimum-height": { "$type": "dimension", "$value": "20rem", "$description": "320px minimum authoring-preview viewport budget. Read-only split diagrams instead shrink with their enclosing pane." },
49
+ "evidence-height": { "$type": "dimension", "$value": "13.75rem", "$description": "220px embedded structured-result viewer height; content scrolls within this budget." },
50
+ "evidence-minimum-height": { "$type": "dimension", "$value": "12rem", "$description": "192px minimum pane budget for multiple request bodies so one expanded part does not hide another." },
51
+ "padding": { "$type": "dimension", "$value": "{space.100}", "$description": "Internal Mermaid node padding." },
52
+ "export-padding": { "$type": "dimension", "$value": "{space.300}", "$description": "Breathing room around fitted and exported drawing bounds." }
53
+ }
54
+ }
@@ -0,0 +1,129 @@
1
+ {
2
+ "editor": {
3
+ "background": {
4
+ "$type": "color",
5
+ "$value": "{color.surface}",
6
+ "$description": "Editor code canvas; pair with editor.text and syntax roles."
7
+ },
8
+ "text": {
9
+ "$type": "color",
10
+ "$value": "{color.text}",
11
+ "$description": "Editor default code foreground."
12
+ },
13
+ "gutter": {
14
+ "$type": "color",
15
+ "$value": "{color.surface.subtle}",
16
+ "$description": "Line-number gutter surface."
17
+ },
18
+ "lineNumber": {
19
+ "$type": "color",
20
+ "$value": "{color.text.subtlest}",
21
+ "$description": "Line numbers on the gutter."
22
+ },
23
+ "selection": {
24
+ "$type": "color",
25
+ "$value": "{color.background.selected}",
26
+ "$description": "Selected code range, with native selection/caret cues."
27
+ },
28
+ "lineHighlight": {
29
+ "$type": "color",
30
+ "$value": "{color.surface.subtle}",
31
+ "$description": "Current editor line; caret and gutter provide additional cues."
32
+ },
33
+ "cursor": {
34
+ "$type": "color",
35
+ "$value": "{color.text}",
36
+ "$description": "Insertion caret."
37
+ },
38
+ "border": {
39
+ "$type": "color",
40
+ "$value": "{color.border}",
41
+ "$description": "Editor frame."
42
+ },
43
+ "syntax": {
44
+ "comment": {
45
+ "$type": "color",
46
+ "$value": "{color.text.subtlest}",
47
+ "$description": "Comments: neutral, readable, no dimming."
48
+ },
49
+ "string": {
50
+ "$type": "color",
51
+ "$value": "{color.text.success}",
52
+ "$description": "String literals, not success state indicators."
53
+ },
54
+ "number": {
55
+ "$type": "color",
56
+ "$value": "{color.text.warning}",
57
+ "$description": "Numeric literals, not warning state indicators."
58
+ },
59
+ "keyword": {
60
+ "$type": "color",
61
+ "$value": "{color.text.info}",
62
+ "$description": "Language keywords, not info state indicators."
63
+ },
64
+ "type": {
65
+ "$type": "color",
66
+ "$value": "{color.text}",
67
+ "$description": "Types and identifiers."
68
+ },
69
+ "delimiter": {
70
+ "$type": "color",
71
+ "$value": "{color.text.subtle}",
72
+ "$description": "Punctuation and delimiters."
73
+ }
74
+ },
75
+ "diff": {
76
+ "inserted": {
77
+ "background": {
78
+ "$type": "color",
79
+ "$value": "{color.background.success.subtle}",
80
+ "$description": "Inserted diff text and lines; show + gutter marker."
81
+ },
82
+ "text": {
83
+ "$type": "color",
84
+ "$value": "{color.text.success}",
85
+ "$description": "Inserted diff annotation; + or inserted label required."
86
+ }
87
+ },
88
+ "removed": {
89
+ "background": {
90
+ "$type": "color",
91
+ "$value": "{color.background.danger.subtle}",
92
+ "$description": "Removed diff text and lines; show − gutter marker."
93
+ },
94
+ "text": {
95
+ "$type": "color",
96
+ "$value": "{color.text.danger}",
97
+ "$description": "Removed diff annotation; − or removed label required."
98
+ }
99
+ }
100
+ },
101
+ "font": {
102
+ "family": {
103
+ "$type": "fontFamily",
104
+ "$value": "{font.family.mono}",
105
+ "$description": "Editor numeric API family from code.default."
106
+ },
107
+ "size": {
108
+ "$type": "dimension",
109
+ "$value": "{font.size.200}",
110
+ "$description": "Editor numeric API size from code.default: 14px nominal."
111
+ },
112
+ "lineHeight": {
113
+ "$type": "dimension",
114
+ "$value": "1.25rem",
115
+ "$description": "Editor numeric API line height: 20px nominal; Vietnamese 24px.",
116
+ "$extensions": {
117
+ "design.beehexa": {
118
+ "vi": "1.5rem"
119
+ }
120
+ }
121
+ },
122
+ "weight": {
123
+ "$type": "fontWeight",
124
+ "$value": "{font.weight.regular}",
125
+ "$description": "Editor code weight."
126
+ }
127
+ }
128
+ }
129
+ }
@@ -4,7 +4,7 @@
4
4
  "raised": {
5
5
  "$type": "shadow",
6
6
  "$value": "0 1px 2px rgb(43 42 40 / 8%), 0 1px 3px rgb(43 42 40 / 6%)",
7
- "$description": "Cards that sit on the page.",
7
+ "$description": "Cards, including cards that only show content, and a card being dragged. Stronger in dark mode.",
8
8
  "$extensions": {
9
9
  "design.beehexa": {
10
10
  "dark": "0 1px 2px rgb(0 0 0 / 40%), 0 1px 3px rgb(0 0 0 / 30%)"
@@ -13,14 +13,24 @@
13
13
  },
14
14
  "overlay": {
15
15
  "$type": "shadow",
16
- "$value": "0 24px 80px rgb(43 42 40 / 14%)",
17
- "$description": "Dropdowns, popovers and dialogs.",
16
+ "$value": "0 4px 12px rgb(43 42 40 / 15%)",
17
+ "$description": "Dropdowns, menus, popovers, select lists and toasts. Pair with color.surface.overlay.",
18
18
  "$extensions": {
19
19
  "design.beehexa": {
20
- "dark": "0 24px 80px rgb(0 0 0 / 50%)"
20
+ "dark": "0 4px 12px rgb(0 0 0 / 50%)"
21
+ }
22
+ }
23
+ },
24
+ "modal": {
25
+ "$type": "shadow",
26
+ "$value": "0 8px 24px rgb(43 42 40 / 15%)",
27
+ "$description": "Dialogs, drawers and full sheets that sit on the scrim. Pair with color.surface.overlay.",
28
+ "$extensions": {
29
+ "design.beehexa": {
30
+ "dark": "0 8px 24px rgb(0 0 0 / 50%)"
21
31
  }
22
32
  }
23
33
  }
24
34
  }
25
35
  }
26
- }
36
+ }