On this page

All design tokens

Every Beehexa token in one place, with its value in light and dark and the job it does. Search by name, value or use.

Already know what you need? Look it up here. Every token is listed with its CSS custom property, its value and what it is for. Not sure which token fits? Start from the style page instead, such as Color usage or Spacing, where each token is shown in use.

Reading the tables

  • Token is the CSS custom property you write in code, such as --bh-color-text-subtle.
  • Value is what the token points at. When it points at another token, the final value is shown under it. Tokens that change in dark mode or for Vietnamese text show those values too.
  • Family tokens are role tokens for one kind of element, such as cards or controls. Each group lists them after its scale steps. Use them before you reach for a step.

Color

TokenValueDescription
--bh-color-brand-yellow#fcb017Brand yellow. Logo, highlights, and the current-page indicator in dark (light uses color.yellow.9 for it). Never text or icons on a light background (1.85:1 on white).
--bh-color-brand-graphite#2b2a28Brand graphite. Text and the primary button.
--bh-color-brand-white#ffffffBrand white.
--bh-color-static-white#ffffffWhite in both themes. text.on-bold and icon.on-bold use it in light only; in dark they take graphite 1.
--bh-color-static-black#000000Black in both themes.
--bh-color-graphite-1#fdfdfcDark: #181717App background.
--bh-color-graphite-2#f1f1f0Dark: #201f1fSubtle background: table headers, quiet areas.
--bh-color-graphite-3#e5e5e4Dark: #282827Component background at rest.
--bh-color-graphite-4#d9d9d8Dark: #31302fComponent background on hover.
--bh-color-graphite-5#cdcccbDark: #393937Component background when pressed or selected.
--bh-color-graphite-6#bdbcbbDark: #454443Subtle border: dividers, cards.
--bh-color-graphite-7#aaa9a8Dark: #555452Border of interactive elements.
--bh-color-graphite-8#949390Dark: #6b6a67Strong border. Disabled text and icons (text.disabled, icon.disabled).
--bh-color-graphite-9#7b7976Dark: #878682Edge of controls (border.bold): 3:1 on every neutral fill, selected rows included.
--bh-color-graphite-10#5f5e5bDark: #a8a6a3Tertiary text (text.subtlest) and secondary icons (icon.subtle). The primary button when pressed.
--bh-color-graphite-11#42413fDark: #cdccc9Secondary text (text.subtle) and default icons. The primary button on hover.
--bh-color-graphite-12#2b2a28Dark: #eeeeedHigh-contrast text and the primary button. In light it is the brand graphite.
--bh-color-graphite-alpha-1#00000000Dark: #ffffff00Graphite 1, translucent.
--bh-color-graphite-alpha-2#0000000cDark: #ffffff09Graphite 2, translucent.
--bh-color-graphite-alpha-3#00000018Dark: #ffffff12Graphite 3, translucent.
--bh-color-graphite-alpha-4#00000024Dark: #ffffff1aGraphite 4, translucent.
--bh-color-graphite-alpha-5#00000031Dark: #ffffff24Graphite 5, translucent.
--bh-color-graphite-alpha-6#00000041Dark: #ffffff31Graphite 6, translucent.
--bh-color-graphite-alpha-7#00000054Dark: #ffffff42Graphite 7, translucent.
--bh-color-graphite-alpha-8#0000006bDark: #ffffff59Graphite 8, translucent.
--bh-color-graphite-alpha-9#00000085Dark: #ffffff78Graphite 9, translucent.
--bh-color-graphite-alpha-10#000000a1Dark: #ffffff9cGraphite 10, translucent.
--bh-color-graphite-alpha-11#000000bdDark: #ffffffc6Graphite 11, translucent.
--bh-color-graphite-alpha-12#000000d4Dark: #ffffffebGraphite 12, translucent.
--bh-color-yellow-1#fefdf4Dark: #17130dApp background.
--bh-color-yellow-2#fff9ddDark: #1d170fSubtle background: table headers, quiet areas.
--bh-color-yellow-3#fff1bdDark: #32210aComponent background at rest.
--bh-color-yellow-4#ffe59cDark: #422902Component background on hover.
--bh-color-yellow-5#ffd87cDark: #513304Component background when pressed or selected.
--bh-color-yellow-6#ffc757Dark: #61400cSubtle border: dividers, cards.
--bh-color-yellow-7#fcb017Dark: #74501cBorder of interactive elements.
--bh-color-yellow-8#d68b00Dark: #9a6613Strong border.
--bh-color-yellow-9#a96700Dark: #bd7e1bSolid fill.
--bh-color-yellow-10#905600Dark: #db9517Solid fill on hover.
--bh-color-yellow-11#764400Dark: #fcb017Low-contrast text.
--bh-color-yellow-12#4a3015Dark: #f2dba4High-contrast text.
--bh-color-blue-1#fbfdffDark: #0d1520App background.
--bh-color-blue-2#f4faffDark: #111927Subtle background: table headers, quiet areas.
--bh-color-blue-3#e6f4feDark: #0d2847Component background at rest.
--bh-color-blue-4#d5efffDark: #003362Component background on hover.
--bh-color-blue-5#c2e5ffDark: #004074Component background when pressed or selected.
--bh-color-blue-6#acd8fcDark: #104d87Subtle border: dividers, cards.
--bh-color-blue-7#8ec8f6Dark: #205d9eBorder of interactive elements.
--bh-color-blue-8#52a1e6Dark: #1b6fc5Strong border.
--bh-color-blue-9#0077d5Dark: #0088f1Solid fill.
--bh-color-blue-10#0064b5Dark: #3599faSolid fill on hover.
--bh-color-blue-11#005195Dark: #6bb3faLow-contrast text.
--bh-color-blue-12#113264Dark: #b8dcf5High-contrast text.
--bh-color-green-1#fbfefcDark: #0e1512App background.
--bh-color-green-2#f4fbf6Dark: #121b17Subtle background: table headers, quiet areas.
--bh-color-green-3#e6f6ebDark: #132d21Component background at rest.
--bh-color-green-4#d6f1dfDark: #113b29Component background on hover.
--bh-color-green-5#c4e8d1Dark: #174933Component background when pressed or selected.
--bh-color-green-6#adddc0Dark: #20573eSubtle border: dividers, cards.
--bh-color-green-7#8eceaaDark: #28684aBorder of interactive elements.
--bh-color-green-8#51ac7dDark: #207d54Strong border.
--bh-color-green-9#008753Dark: #1f9962Solid fill.
--bh-color-green-10#007246Dark: #37a971Solid fill on hover.
--bh-color-green-11#005c3aDark: #5ec18aLow-contrast text.
--bh-color-green-12#193b2dDark: #a6e5c0High-contrast text.
--bh-color-orange-1#fefcfbDark: #17120eApp background.
--bh-color-orange-2#fff7edDark: #1e160fSubtle background: table headers, quiet areas.
--bh-color-orange-3#ffefd6Dark: #331e0bComponent background at rest.
--bh-color-orange-4#ffdfb5Dark: #462100Component background on hover.
--bh-color-orange-5#ffd19aDark: #562800Component background when pressed or selected.
--bh-color-orange-6#ffc182Dark: #66350cSubtle border: dividers, cards.
--bh-color-orange-7#f5ae73Dark: #7e451dBorder of interactive elements.
--bh-color-orange-8#df8547Dark: #ab5315Strong border.
--bh-color-orange-9#ba4e00Dark: #db6200Solid fill.
--bh-color-orange-10#a74500Dark: #ef7200Solid fill on hover.
--bh-color-orange-11#8a3600Dark: #f5974eLow-contrast text.
--bh-color-orange-12#582d1dDark: #f1d2b4High-contrast text.
--bh-color-red-1#fffcfcDark: #191110App background.
--bh-color-red-2#fff7f6Dark: #201312Subtle background: table headers, quiet areas.
--bh-color-red-3#feebe9Dark: #3b1310Component background at rest.
--bh-color-red-4#ffdbd7Dark: #50100fComponent background on hover.
--bh-color-red-5#ffcec8Dark: #611716Component background when pressed or selected.
--bh-color-red-6#fdbeb7Dark: #722421Subtle border: dividers, cards.
--bh-color-red-7#f4aaa2Dark: #8c3430Border of interactive elements.
--bh-color-red-8#eb7a71Dark: #bc403bStrong border.
--bh-color-red-9#d83b39Dark: #ef4c48Solid fill.
--bh-color-red-10#ba2d2dDark: #ff615aSolid fill on hover.
--bh-color-red-11#9b1e20Dark: #ff8e84Low-contrast text.
--bh-color-red-12#641817Dark: #facdc8High-contrast text.
--bh-color-text{color.graphite.12}#2b2a28Dark: #eeeeedDefault text.
--bh-color-text-subtle{color.graphite.11}#42413fDark: #cdccc9Secondary text: descriptions, table secondary columns, navigation.
--bh-color-text-subtlest{color.graphite.10}#5f5e5bDark: #a8a6a3Tertiary text: metadata, timestamps, placeholders, helper text, breadcrumbs. Meets 4.5:1 but not 7:1, so never use it for body text.
--bh-color-text-disabled{color.graphite.8}#949390Dark: #6b6a67Text of disabled controls. Exempt from contrast (WCAG 1.4.3).
--bh-color-text-inverse{color.graphite.1}#fdfdfcDark: #181717Text on background.neutral.bold and surface.inverse.
--bh-color-text-on-bold{color.static.white}#ffffffDark: {color.graphite.1} → #181717Text on the solid status fills (background.*.bold): white in light, graphite 1 in dark.
--bh-color-text-on-brand{color.brand.graphite}#2b2a28Text on the brand yellow (7.76:1).
--bh-color-text-danger{color.red.11}#9b1e20Dark: #ff8e84Danger text.
--bh-color-text-warning{color.orange.11}#8a3600Dark: #f5974eWarning text.
--bh-color-text-success{color.green.11}#005c3aDark: #5ec18aSuccess text.
--bh-color-text-info{color.blue.11}#005195Dark: #6bb3faInfo text.
--bh-color-icon{color.graphite.11}#42413fDark: #cdccc9Default icon colour.
--bh-color-icon-subtle{color.graphite.10}#5f5e5bDark: #a8a6a3Secondary icons, next to text.subtle or text.subtlest.
--bh-color-icon-disabled{color.graphite.8}#949390Dark: #6b6a67Icons of disabled controls.
--bh-color-icon-inverse{color.graphite.1}#fdfdfcDark: #181717Icons on background.neutral.bold and surface.inverse.
--bh-color-icon-on-bold{color.static.white}#ffffffDark: {color.graphite.1} → #181717Icons on the solid status fills.
--bh-color-icon-danger{color.red.11}#9b1e20Dark: #ff8e84Danger icon.
--bh-color-icon-warning{color.orange.11}#8a3600Dark: #f5974eWarning icon.
--bh-color-icon-success{color.green.11}#005c3aDark: #5ec18aSuccess icon.
--bh-color-icon-info{color.blue.11}#005195Dark: #6bb3faInfo icon.
--bh-color-link{color.blue.11}#005195Dark: #6bb3faLink text.
--bh-color-link-hover{color.blue.12}#113264Dark: #b8dcf5Link on hover.
--bh-color-background-primary{color.background.neutral.bold}#2b2a28Dark: #eeeeedThe main action: primary buttons. Points to background.neutral.bold, so changing the primary colour is one edit here.
--bh-color-background-primary-hover{color.background.neutral.bold.hover}#42413fDark: #cdccc9The main action on hover.
--bh-color-background-primary-pressed{color.background.neutral.bold.pressed}#5f5e5bDark: #a8a6a3The main action when pressed.
--bh-color-background-neutral{color.graphite.2}#f1f1f0Dark: {color.graphite.3} → #282827Neutral fill at rest: default buttons, tags, inputs on a subtle surface.
--bh-color-background-neutral-hover{color.graphite.3}#e5e5e4Dark: {color.graphite.4} → #31302fNeutral fill on hover.
--bh-color-background-neutral-pressed{color.graphite.4}#d9d9d8Dark: {color.graphite.5} → #393937Neutral fill when pressed.
--bh-color-background-neutral-subtletransparentTransparent at rest: table rows, menu items, ghost buttons.
--bh-color-background-neutral-subtle-hover{color.graphite-alpha.2}#0000000cDark: {color.graphite-alpha.2} → #ffffff09Row, menu item or ghost button on hover. Translucent, so it shows on any surface (a white card, a grey panel). Lighter than selected, so a hovered row never looks selected.
--bh-color-background-neutral-subtle-pressed{color.graphite-alpha.3}#00000018Dark: {color.graphite-alpha.3} → #ffffff12Row, menu item or ghost button when pressed. Translucent, like the hover.
--bh-color-background-neutral-bold{color.graphite.12}#2b2a28Dark: #eeeeedPrimary button. Graphite in light; turns light in dark, so it stays the strongest element.
--bh-color-background-neutral-bold-hover{color.graphite.11}#42413fDark: #cdccc9Primary button on hover: one step back from graphite 12, as it is the last step.
--bh-color-background-neutral-bold-pressed{color.graphite.10}#5f5e5bDark: #a8a6a3Primary button when pressed: two steps back from graphite 12.
--bh-color-background-neutral-transparent-hover{color.graphite-alpha.3}#00000018Dark: {color.graphite-alpha.3} → #ffffff12A control with no fill at rest (Subtle and Default buttons) on hover. One step stronger than color.background.neutral.subtle.hover, which rows and menu items use so a hovered row never looks like a selected one. Translucent, so it shows on any surface.
--bh-color-background-neutral-transparent-pressed{color.graphite-alpha.4}#00000024Dark: {color.graphite-alpha.4} → #ffffff1aA control with no fill at rest while pressed. Translucent.
--bh-color-background-selected{color.graphite.3}#e5e5e4Dark: {color.graphite.4} → #31302fSelected row or item. Always add a second cue: the yellow indicator, a check or bold text.
--bh-color-background-selected-hover{color.graphite.4}#d9d9d8Dark: {color.graphite.5} → #393937Selected row or item on hover.
--bh-color-background-disabled{color.graphite.2}#f1f1f0Dark: {color.graphite.3} → #282827Background of disabled controls.
--bh-color-background-brand-subtle{color.yellow.2}#fff9ddDark: #1d170fBrand surfaces and notes.
--bh-color-background-brand-bold{color.brand.yellow}#fcb017Brand yellow fill. Graphite text on top (text.on-brand). No yellow buttons.
--bh-color-background-danger-subtle{color.red.3}#feebe9Dark: #3b1310Danger panel or label background.
--bh-color-background-danger-subtle-hover{color.red.4}#ffdbd7Dark: #50100fDanger subtle background on hover.
--bh-color-background-danger-subtle-pressed{color.red.5}#ffcec8Dark: #611716Danger subtle background when pressed.
--bh-color-background-danger{color.red.5}#ffcec8Dark: #611716Danger background, stronger than subtle.
--bh-color-background-danger-bold{color.red.9}#d83b39Dark: #ef4c48Solid danger fill: state labels, the danger button. Text and icons on it use text.on-bold / icon.on-bold (white in light, graphite 1 in dark).
--bh-color-background-danger-bold-hover{color.red.10}#ba2d2dDark: #ff615aSolid danger fill on hover.
--bh-color-background-danger-bold-pressed{color.red.11}#9b1e20Dark: #ff8e84Solid danger fill when pressed.
--bh-color-background-warning-subtle{color.orange.3}#ffefd6Dark: #331e0bWarning panel or label background.
--bh-color-background-warning-subtle-hover{color.orange.4}#ffdfb5Dark: #462100Warning subtle background on hover.
--bh-color-background-warning-subtle-pressed{color.orange.5}#ffd19aDark: #562800Warning subtle background when pressed.
--bh-color-background-warning{color.orange.5}#ffd19aDark: #562800Warning background, stronger than subtle.
--bh-color-background-warning-bold{color.orange.9}#ba4e00Dark: #db6200Solid warning fill: state labels, badges. Text and icons on it use text.on-bold / icon.on-bold (white in light, graphite 1 in dark).
--bh-color-background-warning-bold-hover{color.orange.10}#a74500Dark: #ef7200Solid warning fill on hover.
--bh-color-background-warning-bold-pressed{color.orange.11}#8a3600Dark: #f5974eSolid warning fill when pressed.
--bh-color-background-success-subtle{color.green.3}#e6f6ebDark: #132d21Success panel or label background.
--bh-color-background-success-subtle-hover{color.green.4}#d6f1dfDark: #113b29Success subtle background on hover.
--bh-color-background-success-subtle-pressed{color.green.5}#c4e8d1Dark: #174933Success subtle background when pressed.
--bh-color-background-success{color.green.5}#c4e8d1Dark: #174933Success background, stronger than subtle.
--bh-color-background-success-bold{color.green.9}#008753Dark: #1f9962Solid success fill: state labels, badges. Text and icons on it use text.on-bold / icon.on-bold (white in light, graphite 1 in dark).
--bh-color-background-success-bold-hover{color.green.10}#007246Dark: #37a971Solid success fill on hover.
--bh-color-background-success-bold-pressed{color.green.11}#005c3aDark: #5ec18aSolid success fill when pressed.
--bh-color-background-info-subtle{color.blue.3}#e6f4feDark: #0d2847Info panel or label background.
--bh-color-background-info-subtle-hover{color.blue.4}#d5efffDark: #003362Info subtle background on hover.
--bh-color-background-info-subtle-pressed{color.blue.5}#c2e5ffDark: #004074Info subtle background when pressed.
--bh-color-background-info{color.blue.5}#c2e5ffDark: #004074Info background, stronger than subtle.
--bh-color-background-info-bold{color.blue.9}#0077d5Dark: #0088f1Solid info fill: state labels, badges. Text and icons on it use text.on-bold / icon.on-bold (white in light, graphite 1 in dark).
--bh-color-background-info-bold-hover{color.blue.10}#0064b5Dark: #3599faSolid info fill on hover.
--bh-color-background-info-bold-pressed{color.blue.11}#005195Dark: #6bb3faSolid info fill when pressed.
--bh-color-surface{color.brand.white}#ffffffDark: {color.graphite.2} → #201f1fCards and panels. One step lighter than the page in dark.
--bh-color-surface-page{color.brand.white}#ffffffDark: {color.graphite.1} → #181717Page background. The app header and side navigation sit on it too, separated by a border line.
--bh-color-surface-subtle{color.graphite.2}#f1f1f0Dark: #201f1fTable headers and quiet areas.
--bh-color-surface-overlay{color.brand.white}#ffffffDark: {color.graphite.3} → #282827Menus, popovers, select lists, toasts, dialogs and drawers. One step lighter than color.surface in dark, so a floating layer reads above cards.
--bh-color-surface-overlay-hover{color.graphite.2}#f1f1f0Dark: {color.graphite.4} → #31302fMenu item or option on hover, inside color.surface.overlay.
--bh-color-surface-overlay-pressed{color.graphite.3}#e5e5e4Dark: {color.graphite.5} → #393937Menu item or option when pressed, inside color.surface.overlay.
--bh-color-surface-overlay-selected{color.graphite.3}#e5e5e4Dark: {color.graphite.5} → #393937Selected option inside color.surface.overlay. Always add a second cue: a check or bold text.
--bh-color-surface-overlay-selected-hover{color.graphite.4}#d9d9d8Dark: {color.graphite.5} → #393937Selected 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.
--bh-color-surface-inverse{color.graphite.12}#2b2a28Dark: #eeeeedInverse surface: tooltips. Text on top: text.inverse.
--bh-color-surface-scrimrgb(43 42 40 / 40%)Dark: rgb(0 0 0 / 60%)Behind dialogs and drawers.
--bh-color-border{color.graphite.6}#bdbcbbDark: #454443Default border: dividers, cards, tables.
--bh-color-border-bold{color.graphite.9}#7b7976Dark: #878682Edges of inputs, checkboxes and selects. 3:1 (WCAG 1.4.11) on every surface and neutral fill, selected rows included.
--bh-color-border-hover{color.graphite.7}#aaa9a8Dark: #555452Border of a bordered button on hover and while pressed, one step darker than color.border. Survey 55: 8 of 11 bordered buttons darken their edge on hover.
--bh-color-border-disabled{color.graphite.6}#bdbcbbDark: #454443Border of disabled controls.
--bh-color-border-focus{color.blue.11}#005195Dark: #6bb3faFocus ring: 2 px, 2 px away from the control. 3:1 on every surface and selected row. Text fields: their 1 px border turns this colour and a 2 px inset ring of the same colour sits inside it, a 3 px solid edge with no halo.
--bh-color-border-selected{color.yellow.9}#a96700Dark: {color.brand.yellow} → #fcb017Indicator bar of the current page or tab. Yellow 9 in light, so the bar reaches 3:1 on the page and on background.selected; brand yellow in dark. Always with a second cue.
--bh-color-border-brand{color.brand.yellow}#fcb017Brand outline, such as the early-access label.
--bh-color-border-brand-subtle{color.yellow.6}#ffc757Dark: #61400cBorder of brand surfaces and notes.
--bh-color-border-danger{color.red.9}#d83b39Dark: {color.red.10} → #ff615aDanger outline: labels. Step 9 in light; step 10 in dark.
--bh-color-border-danger-subtle{color.red.7}#f4aaa2Dark: #8c3430Border of danger panels.
--bh-color-border-warning{color.orange.9}#ba4e00Dark: {color.orange.10} → #ef7200Warning outline: labels. Step 9 in light; step 10 in dark.
--bh-color-border-warning-subtle{color.orange.7}#f5ae73Dark: #7e451dBorder of warning panels.
--bh-color-border-success{color.green.9}#008753Dark: {color.green.10} → #37a971Success outline: labels. Step 9 in light; step 10 in dark.
--bh-color-border-success-subtle{color.green.7}#8eceaaDark: #28684aBorder of success panels.
--bh-color-border-info{color.blue.9}#0077d5Dark: {color.blue.10} → #3599faInfo outline: labels. Step 9 in light; step 10 in dark.
--bh-color-border-info-subtle{color.blue.7}#8ec8f6Dark: #205d9eBorder of info panels.
--bh-color-skeleton{color.graphite.4}#d9d9d8Dark: #31302fLoading placeholder.
--bh-color-skeleton-subtle{color.graphite.3}#e5e5e4Dark: #282827Moving sheen on a loading placeholder.
--bh-color-code-background{color.brand.graphite}#2b2a28Dark: {color.graphite.1} → #181717Code block background.
--bh-color-code-text{color.graphite.2}#f1f1f0Dark: {color.graphite.12} → #eeeeedCode block text.

Typography

TokenValueDescription
--bh-font-features"cv05", "cv08"Inter character variants, on everywhere (decided 27/10/2026): cv05 gives lowercase l a tail and cv08 gives uppercase I serifs, so l, I and 1 never look alike in names, IDs and keys. The font shorthand resets font-feature-settings, so the token CSS sets them on every element. JetBrains Mono has no cv05 or cv08, so code is not affected.
--bh-font-family-sansInter, "Noto Sans", system-ui, sans-serifAll interface and reading text. Noto Sans is the fallback: it covers Vietnamese and ₫ and is close to Inter in size.
--bh-font-family-mono"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospaceCode, IDs, keys and token names.
--bh-font-size-1000.75rem12 px. Small body, small labels, captions.
--bh-font-size-2000.875rem14 px. Default UI text, labels, code, smallest heading.
--bh-font-size-3001rem16 px. Reading text, card titles.
--bh-font-size-4001.25rem20 px. Section headings.
--bh-font-size-5001.5rem24 px. Page titles.
--bh-font-size-6002rem32 px. Large titles.
--bh-font-size-7003rem48 px. Display, marketing only.
--bh-font-size-8003.75rem60 px. Display, marketing only.
--bh-font-size-9004.5rem72 px. Display, marketing only.
--bh-font-weight-regular400Body text.
--bh-font-weight-medium500Labels: buttons, form labels, tabs, menu items.
--bh-font-weight-semibold600Headings.
--bh-font-weight-bold700Display text only.
--bh-font-display-large{font.weight.bold} {font.size.900}/5rem {font.family.sans}700 4.5rem/5rem Inter, "Noto Sans", system-ui, sans-serifVietnamese (lang="vi"): 700 4.5rem/6.75rem Inter, "Noto Sans", system-ui, sans-serif72/80. Marketing hero. Below 768 px, use display.small. Vietnamese: 72/108.
--bh-font-display-medium{font.weight.bold} {font.size.800}/4.25rem {font.family.sans}700 3.75rem/4.25rem Inter, "Noto Sans", system-ui, sans-serifVietnamese (lang="vi"): 700 3.75rem/5.5rem Inter, "Noto Sans", system-ui, sans-serif60/68. Marketing section opener. Below 768 px, use display.small. Vietnamese: 60/88.
--bh-font-display-small{font.weight.bold} {font.size.700}/3.5rem {font.family.sans}700 3rem/3.5rem Inter, "Noto Sans", system-ui, sans-serifVietnamese (lang="vi"): 700 3rem/4.5rem Inter, "Noto Sans", system-ui, sans-serif48/56. Marketing headline. Below 768 px, use heading.xlarge. Vietnamese: 48/72.
--bh-font-heading-xlarge{font.weight.semibold} {font.size.600}/2.5rem {font.family.sans}600 2rem/2.5rem Inter, "Noto Sans", system-ui, sans-serifVietnamese (lang="vi"): 600 2rem/3rem Inter, "Noto Sans", system-ui, sans-serif32/40. Large title: empty states, onboarding, docs and landing sections. Vietnamese: 32/48.
--bh-font-heading-large{font.weight.semibold} {font.size.500}/2rem {font.family.sans}600 1.5rem/2rem Inter, "Noto Sans", system-ui, sans-serifVietnamese (lang="vi"): 600 1.5rem/2.5rem Inter, "Noto Sans", system-ui, sans-serif24/32. Page title, one per page. Vietnamese: 24/40.
--bh-font-heading-medium{font.weight.semibold} {font.size.400}/1.75rem {font.family.sans}600 1.25rem/1.75rem Inter, "Noto Sans", system-ui, sans-serifVietnamese (lang="vi"): 600 1.25rem/2rem Inter, "Noto Sans", system-ui, sans-serif20/28. Section and dialog titles. Vietnamese: 20/32.
--bh-font-heading-small{font.weight.semibold} {font.size.300}/1.5rem {font.family.sans}600 1rem/1.5rem Inter, "Noto Sans", system-ui, sans-serif16/24. Card, panel and drawer titles. Vietnamese: same line height.
--bh-font-heading-xsmall{font.weight.semibold} {font.size.200}/1.25rem {font.family.sans}600 0.875rem/1.25rem Inter, "Noto Sans", system-ui, sans-serifVietnamese (lang="vi"): 600 0.875rem/1.5rem Inter, "Noto Sans", system-ui, sans-serif14/20. Group titles in forms, lists and menus; banner titles. Vietnamese: 14/24.
--bh-font-body-large{font.weight.regular} {font.size.300}/1.5rem {font.family.sans}400 1rem/1.5rem Inter, "Noto Sans", system-ui, sans-serif16/24. Reading text: descriptions, help, documents, email. Vietnamese: same line height.
--bh-font-body-default{font.weight.regular} {font.size.200}/1.25rem {font.family.sans}400 0.875rem/1.25rem Inter, "Noto Sans", system-ui, sans-serifVietnamese (lang="vi"): 400 0.875rem/1.5rem Inter, "Noto Sans", system-ui, sans-serif14/20. Default UI text: table cells, inputs, messages. Vietnamese: 14/24.
--bh-font-body-small{font.weight.regular} {font.size.100}/1rem {font.family.sans}400 0.75rem/1rem Inter, "Noto Sans", system-ui, sans-serifVietnamese (lang="vi"): 400 0.75rem/1.25rem Inter, "Noto Sans", system-ui, sans-serif12/16. Secondary text: helper text, meta, timestamps, tooltips. Vietnamese: 12/20.
--bh-font-label-default{font.weight.medium} {font.size.200}/1.25rem {font.family.sans}500 0.875rem/1.25rem Inter, "Noto Sans", system-ui, sans-serifVietnamese (lang="vi"): 500 0.875rem/1.5rem Inter, "Noto Sans", system-ui, sans-serif14/20. Buttons, form labels, tabs, menu and nav items. Vietnamese: 14/24.
--bh-font-label-small{font.weight.medium} {font.size.100}/1rem {font.family.sans}500 0.75rem/1rem Inter, "Noto Sans", system-ui, sans-serifVietnamese (lang="vi"): 500 0.75rem/1.25rem Inter, "Noto Sans", system-ui, sans-serif12/16. Badges, tags, small buttons, table headers. Vietnamese: 12/20.
--bh-font-code-default{font.weight.regular} {font.size.200}/1.25rem {font.family.mono}400 0.875rem/1.25rem "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace14/20. Code blocks, IDs, keys, JSON. Same size as body.default: JetBrains Mono and Inter have the same x-height. Vietnamese: same line height.

Spacing

TokenValueDescription
--bh-space-000. Joined items, such as the buttons of a segmented group.
--bh-space-0250.125rem2 px. A badge on an icon, a status dot beside text. Never between controls or as padding.
--bh-space-0500.25rem4 px. Between an icon and 14 px text; between a title and its description; above and below the text of a tooltip and of a compact table cell.
--bh-space-0750.375rem6 px. Inside components only: above and below the label of a 32 px control, and the sides of a tooltip. Never for layout, sections or card padding.
--bh-space-1000.5rem8 px. Between an icon and 16 px text; between buttons; between a label and its field; side padding of 24 px controls; above and below the text of a table cell.
--bh-space-1500.75rem12 px. Side padding of 32 px controls, such as text fields and buttons, and of table cells.
--bh-space-2001rem16 px. Between related items: fields, list items, cards. Page margin and grid gutter below 768 px.
--bh-space-2501.25rem20 px. Between a section heading and its content. The edge of the logo and the side navigation icons.
--bh-space-3001.5rem24 px. Inside cards, panels and dialogs. Between tabs. Page margin and grid gutter from 768 px.
--bh-space-4002rem32 px. Between groups, such as form sections. Page margin from 1440 px.
--bh-space-5002.5rem40 px. Around empty states.
--bh-space-6003rem48 px. Between page sections.
--bh-space-8004rem64 px. Between the major sections of a long page. The width of the collapsed side navigation.
--bh-space-10005rem80 px. Top and bottom of sign-in and onboarding pages. Use rarely.

Family tokens · Use these for a kind of element; each points to a step of the scale above.

TokenValueDescription
--bh-space-control-x{space.150}0.75remSide padding of 32 px controls: buttons, text fields, selects.
--bh-space-control-x-small{space.100}0.5remSide padding of 24 px controls.
--bh-space-control-x-large{space.200}1remSide padding of 40 px controls on sign-in and onboarding pages.
--bh-space-control-gap{space.050}0.25remBetween the icon and the label inside a control.
--bh-space-item-x{space.150}0.75remSide padding of items in menus, lists and side navigation.
--bh-space-overlay{space.050}0.25remInside menus, selects and popovers that hold a list, around their items. Nests the corners: radius.overlay = radius.item + space.overlay.
--bh-space-overlay-offset{space.050}0.25remBetween a menu, popover or tooltip and the element that opened it.
--bh-space-overlay-content{space.200}1rem16 px. Inside popovers and hover cards that hold content rather than a list. Lists keep space.overlay.
--bh-space-card{space.300}1.5remInside cards and panels.
--bh-space-modal{space.300}1.5remInside dialogs and drawers.
--bh-space-modal-gap{space.200}1remBetween the title, body and actions of a dialog or drawer.
--bh-space-table-cell-x{space.150}0.75remSide padding of table cells.
--bh-space-table-cell-y{space.100}0.5remTop and bottom padding of table cells.
--bh-space-stack{space.200}1remBetween related items in a column: form fields, list items, cards.
--bh-space-stack-group{space.400}2remBetween groups in a column, such as form sections.

Size

TokenValueDescription
--bh-size-control-small1.5rem24 px. Height of small controls: dense tables and their toolbars, filters, tags. Side padding space.100.
--bh-size-control-default2rem32 px. Height of buttons, text fields, selects, segmented controls and tabs everywhere else: forms, the header, toolbars. Side padding space.150.
--bh-size-control-large2.5rem40 px. Height of controls on sign-in and onboarding pages. Optional for the main action on touch screens.
--bh-size-target-minimum1.5rem24 px. Smallest area that responds to a click or tap (WCAG 2.2 SC 2.5.8). Every control and icon button is at least this size.
--bh-size-target-touch2.75rem44 px. Area that responds to a tap on touch screens. Extend the hit area around a smaller control and keep its visible size; rows in lists and menus grow to this height instead.
--bh-size-icon-default1rem16 px. Default icon size: buttons, menus, tables, form fields, next to 14 px text.
--bh-size-icon-medium1.25rem20 px. Icons next to 16 px text, in toolbars and in the page header.
--bh-size-icon-large1.5rem24 px. An icon on its own, such as a status in a card or a small empty state.
--bh-size-icon-empty2rem32 px. Empty states only.
--bh-size-tooltip-max-width15rem240 px. Widest a tooltip grows before its text wraps. Atlassian and Fluent use 240 px, Ant and Primer 250 px; the range across 7 systems is 200 to 300 px.
--bh-size-track-default{space.050}0.25rem4 px. Thickness of a thin track or grab bar: progress, slider track, drawer handle. Pair with radius.full.
--bh-size-overlay-min-width8rem128 px. Narrowest a menu or a select, combobox or command list gets; it grows to its trigger or its widest item.
--bh-size-overlay-width18rem288 px. Width of a popover or hover card that holds content.
--bh-size-overlay-max-height18rem288 px. Tallest a combobox or command list grows before it scrolls: about eight 32 px items.
--bh-size-dialog-default32rem512 px. Widest a dialog grows, on screens wider than that plus the page margins.
--bh-size-dialog-small24rem384 px. Widest an alert dialog or a side drawer of a few controls grows.
--bh-size-dialog-xsmall20rem320 px. A small alert dialog (one short question), and the narrowest phone width an alert dialog keeps.

Radius

TokenValueDescription
--bh-radius-000. Edges that touch the screen: the page header, full-width tables and panels that run to the edge.
--bh-radius-0250.125rem2 px. Small details: badges, checkboxes and keyboard shortcuts.
--bh-radius-0500.25rem4 px. Supporting elements: tags, status labels, tooltips, dates and timestamps, compact buttons, and items inside a menu.
--bh-radius-0750.375rem6 px. Interactive elements: buttons, inputs, text areas, selects and side navigation items.
--bh-radius-1000.5rem8 px. Containment: cards, alerts and banners, in-page containers, and floating UI such as menus, popovers and toasts.
--bh-radius-1500.75rem12 px. Large page elements: dialogs, drawers, full-page containers and tables in their own frame.
--bh-radius-2001rem16 px. Large media: video and image preview containers. No component takes it by default.
--bh-radius-full999pxPill and circle. Avatars and other user UI, switches and chips.

Family tokens · Use these for a kind of element; each points to a step of the scale above.

TokenValueDescription
--bh-radius-control{radius.075}0.375remButtons, text fields, selects and side navigation items.
--bh-radius-control-small{radius.050}0.25rem24 px controls: compact buttons and their fields.
--bh-radius-item{radius.050}0.25remItems inside menus and lists. Nests inside radius.overlay with space.overlay.
--bh-radius-card{radius.100}0.5remCards, alerts, banners and in-page containers.
--bh-radius-overlay{radius.100}0.5remFloating UI: menus, popovers, select lists and toasts.
--bh-radius-modal{radius.150}0.75remDialogs, drawers and full-page containers.
--bh-radius-pill{radius.full}999pxAvatars, switches and chips.

Border

TokenValueDescription
--bh-border-width-default1px1 px. Inputs, secondary buttons, cards, tables and dividers.
--bh-border-width-selected2px2 px. The bar under a selected tab or beside a selected side navigation item, and the edge of a selected card. Pair with color.border.selected.
--bh-border-width-focused2px2 px. The focus ring. Pair with color.border.focus and state.focus.offset.
--bh-border-width-accent4px4 px. A status or emphasis bar on one edge: rows with an error, callouts and quotes. Pair with a status or brand border colour.

Opacity

TokenValueDescription
--bh-opacity-disabled0.4Images, logos, avatars and illustrations inside something that is turned off. Never for buttons, inputs, text or icons: they use the disabled colour tokens.

Elevation

TokenValueDescription
--bh-elevation-shadow-raised0 1px 2px rgb(43 42 40 / 8%), 0 1px 3px rgb(43 42 40 / 6%)Dark: 0 1px 2px rgb(0 0 0 / 40%), 0 1px 3px rgb(0 0 0 / 30%)Cards, including cards that only show content, and a card being dragged. Stronger in dark mode.
--bh-elevation-shadow-overlay0 4px 12px rgb(43 42 40 / 15%)Dark: 0 4px 12px rgb(0 0 0 / 50%)Dropdowns, menus, popovers, select lists and toasts. Pair with color.surface.overlay.
--bh-elevation-shadow-modal0 8px 24px rgb(43 42 40 / 15%)Dark: 0 8px 24px rgb(0 0 0 / 50%)Dialogs, drawers and full sheets that sit on the scrim. Pair with color.surface.overlay.

Z-index

TokenValueDescription
--bh-z-index-sticky100Sticky table headers and toolbars inside the page.
--bh-z-index-navigation200App header and side navigation.
--bh-z-index-overlay300Dropdowns, menus, popovers and select lists.
--bh-z-index-modal400Dialogs, drawers and their scrim.
--bh-z-index-spotlight500Product tour and onboarding spotlight, above a dialog.
--bh-z-index-tooltip600Tooltips, above everything you can interact with.
--bh-z-index-toast700Toasts and the skip link: always on top.

Motion

TokenValueDescription
--bh-motion-duration-instant0ms0 ms. Changes that happen at once. Every duration becomes this when reduced motion is on.
--bh-motion-duration-fast100ms100 ms. Hover, press and colour changes; closing tooltips, menus and toasts; dropping a dragged item.
--bh-motion-duration-default200ms200 ms. Opening tooltips, menus, popovers and toasts; tab indicator, switch knob, accordion, side navigation; closing dialogs and drawers.
--bh-motion-duration-slow300ms300 ms. Opening dialogs and drawers; closing full-screen sheets.
--bh-motion-duration-slower400ms400 ms. Opening full-screen sheets and other large surfaces.
--bh-motion-duration-slowest600ms600 ms. Rare emphasized moments people see once, such as finishing onboarding. Never for everyday controls.
--bh-motion-wait-tooltip-show300ms300 ms. A tooltip shows after the pointer rests this long; at once on keyboard focus, and at once for the next tooltip. A waiting time, not a duration: it stays the same under reduced motion.
--bh-motion-wait-tooltip-hide100ms100 ms. A tooltip hides this long after the pointer leaves. Stays the same under reduced motion.
--bh-motion-wait-spinner1000ms1000 ms. Show a spinner only when a wait passes this long, so quick loads do not flash; under 1 second people stay in flow without a progress sign. Stays the same under reduced motion.
--bh-motion-wait-toast5000ms5 s. A toast closes after this long. The timer pauses while the pointer or focus is on it.
--bh-motion-wait-toast-action10000ms10 s. A toast with an action closes after this long. The timer pauses while the pointer or focus is on it.
--bh-motion-loop-spinner1000ms1 s. One full turn of a loading spinner, at constant speed. Reduced motion does not change it: the spinner keeps turning at this speed, because it is the only sign that work is running.
--bh-motion-easing-standardcubic-bezier(0.4, 0, 0.2, 1)Speeds up, then slows down. Things that move within the screen, and changes the system makes on its own.
--bh-motion-easing-entercubic-bezier(0, 0, 0.2, 1)Starts fast and slows to a stop. Things that come onto the screen: menus, dialogs, drawers, toasts.
--bh-motion-easing-exitcubic-bezier(0.4, 0, 1, 1)Starts slow and speeds up. Things that leave the screen. Pair with a duration one step shorter than the enter.
--bh-motion-easing-linearcubic-bezier(0, 0, 1, 1)Even speed. Fades of opacity or colour, progress bars and spinners.
--bh-motion-easing-emphasizedcubic-bezier(0.05, 0.7, 0.1, 1)Covers most of the distance at once, then settles slowly. Only for rare emphasized moments, with motion.duration.slowest.
--bh-motion-keyframe-offset-enter0.5rem8 px. How far a menu, popover or toast slides as it comes in.
--bh-motion-keyframe-offset-exit0.25rem4 px. How far it slides as it leaves.
--bh-motion-keyframe-scale0.95Scale a dialog grows from as it opens, and shrinks to as it closes.
--bh-motion-keyframe-slide100%Drawers, side panels and full-screen sheets slide their own full width or height.

Family tokens · Use these for a kind of element; each points to a step of the scale above.

TokenValueDescription
--bh-motion-control{motion.duration.fast} {motion.easing.standard}100ms cubic-bezier(0.4, 0, 0.2, 1)Hover, press and colour changes of buttons, fields and other controls.
--bh-motion-indicator{motion.duration.default} {motion.easing.enter}200ms cubic-bezier(0, 0, 0.2, 1)Tab indicator, switch knob and other indicators that slide to a new place.
--bh-motion-expand{motion.duration.default} {motion.easing.standard}200ms cubic-bezier(0.4, 0, 0.2, 1)Accordions, trees and side navigation that open and close in place.
--bh-motion-overlay-enter{motion.duration.default} {motion.easing.enter}200ms cubic-bezier(0, 0, 0.2, 1)Tooltips, menus, selects, popovers and toasts coming in. Fade and slide motion.keyframe.offset.enter.
--bh-motion-overlay-exit{motion.duration.fast} {motion.easing.exit}100ms cubic-bezier(0.4, 0, 1, 1)Tooltips, menus, selects, popovers and toasts leaving. Fade and slide motion.keyframe.offset.exit.
--bh-motion-modal-enter{motion.duration.slow} {motion.easing.enter}300ms cubic-bezier(0, 0, 0.2, 1)Dialogs, drawers and side panels opening. Dialogs scale from motion.keyframe.scale; drawers slide motion.keyframe.slide.
--bh-motion-modal-exit{motion.duration.default} {motion.easing.exit}200ms cubic-bezier(0.4, 0, 1, 1)Dialogs, drawers and side panels closing.
--bh-motion-sheet-enter{motion.duration.slower} {motion.easing.enter}400ms cubic-bezier(0, 0, 0.2, 1)Full-screen sheets and other large surfaces coming in.
--bh-motion-sheet-exit{motion.duration.slow} {motion.easing.exit}300ms cubic-bezier(0.4, 0, 1, 1)Full-screen sheets and other large surfaces leaving.
--bh-motion-drop{motion.duration.fast} {motion.easing.standard}100ms cubic-bezier(0.4, 0, 0.2, 1)A dragged item dropping into place, or going back when the drag is cancelled.
--bh-motion-emphasized{motion.duration.slowest} {motion.easing.emphasized}600ms cubic-bezier(0.05, 0.7, 0.1, 1)Rare emphasized moments people see once, such as finishing onboarding.

Breakpoints

TokenValueDescription
--bh-breakpoint-xs0pxPhones and small windows, below 768 px. One fluid layout: 4 columns, gutter and margin 16 px, side navigation in a drawer. Must work down to 320 px.
--bh-breakpoint-md768pxTablets and narrow windows. 8 columns, gutter and margin 24 px. Side navigation still in a drawer.
--bh-breakpoint-lg1024pxLaptops from 1024 px, including 1280 and 1366 px screens. 12 columns. Side navigation open at 280 px; people can collapse it to the 64 px rail.
--bh-breakpoint-xl1440pxDesktops, including 1536 and 1920 px screens. Page margin 32 px.

Layout

TokenValueDescription
--bh-layout-header-height{space.600}3rem48px app header content height; the bottom border is separate. Global controls only; breadcrumbs and page actions belong to the page header.
--bh-layout-sidebar-expanded17.5rem280px expanded app navigation; below breakpoint.lg it appears in a drawer, not a permanent sider.
--bh-layout-sidebar-collapsed{space.800}4rem64px navigation rail after an explicit user collapse. Preserve accessible labels and tooltips.
--bh-layout-page-narrow48rem768px maximum content width for forms, wizard steps, help and documentation; page margins are outside this cap.
--bh-layout-page-wide80rem1280px maximum content width for dashboards, details and settings overviews. Tables, logs, builders and canvases use Full without a cap.
--bh-layout-page-margin-small{space.200}1rem16px page margin below breakpoint.md.
--bh-layout-page-margin-medium{space.300}1.5rem24px page margin from breakpoint.md to below breakpoint.xl.
--bh-layout-page-margin-large{space.400}2rem32px page margin from breakpoint.xl.
--bh-layout-grid-columns-small44 columns below breakpoint.md. Gutter and page margin space.200.
--bh-layout-grid-columns-medium88 columns from breakpoint.md. Gutter and page margin space.300.
--bh-layout-grid-columns-large1212 columns from breakpoint.lg. Gutter space.300; page margin space.400 from breakpoint.xl.
--bh-layout-panel-columns-default4A side panel beside the main content takes 4 of 12 columns from breakpoint.lg. Below breakpoint.lg it opens as a drawer.
--bh-layout-panel-columns-large3A side panel takes 3 of 12 columns from breakpoint.xl.
--bh-layout-overlay-defaultmax(50vw, 900px)Default desktop width for a data-inspection overlay, from breakpoint.lg. Use the mobile role below breakpoint.lg. Not a default for small confirmation dialogs.
--bh-layout-overlay-wide70vwExplicit wide data-inspection variant when its content needs it, from breakpoint.lg. Never a blanket override of all drawers.
--bh-layout-overlay-mobile100vwFull available viewport width for data-inspection overlays below breakpoint.lg; content and actions must reflow.
--bh-layout-description-minimum12.5rem200px nominal minimum description-column width in desktop structured data inspection. Below the available inline budget, stack content instead of forcing horizontal overflow.

Component tokens · Used inside one component only.

TokenValueDescription
--bh-layout-renderer-minimum-inline-size21.875rem350 px. Added by PR #5 for interactive editor and canvas viewports in products. Not an approved foundation value and not on a scale; kept as a component token until the renderer decision.
--bh-layout-renderer-minimum-block-size21.875rem350 px. Added by PR #5 for interactive editor and canvas viewports in products. Not an approved foundation value and not on a scale; kept as a component token until the renderer decision.

Interaction states

TokenValueDescription
--bh-state-focus-offset2px2 px. Gap between a control and its focus ring. The ring is drawn outside; inside a box that clips it (menu items, table cells, tabs in a scroll area) use the negative value.

Component tokens

Tokens for one component. A product uses the component; the component uses these tokens. Each points to a foundation token or a scale step where one fits.

Switch

TokenValueDescription
--bh-switch-size-track-height1.25rem20 px. Height of the switch track.
--bh-switch-size-track-width2.25rem36 px. Width of the switch track.
--bh-switch-size-thumb1rem16 px. Diameter of the switch knob.
--bh-switch-focus-ring{color.border.focus}#005195Dark: #6bb3faKeyboard-visible ring for either checked state; keep the existing focused border width and focus offset. Does not replace the ON/OFF track, thumb or label.
--bh-switch-off-track{color.background.neutral}#f1f1f0Dark: #282827OFF track, normal. Neutral boolean-state fill, never business-success green.
--bh-switch-off-track-hover{color.background.neutral.hover}#e5e5e4Dark: #31302fOFF track, hover. Neutral boolean-state fill, never business-success green.
--bh-switch-off-track-pressed{color.background.neutral.pressed}#d9d9d8Dark: #393937OFF track, pressed. Neutral boolean-state fill, never business-success green.
--bh-switch-off-track-focus{switch.off.track}#f1f1f0Dark: #282827OFF track, focus. Normal pair under the independent keyboard focus ring; pointer hover/pressed feedback may coexist with the ring.
--bh-switch-off-track-loading{switch.off.track}#f1f1f0Dark: #282827OFF track, loading. Preserve the normal checked-state pair while the native spinner signals pending work; native interaction stays blocked.
--bh-switch-off-track-disabled{color.background.disabled}#f1f1f0Dark: #282827OFF track, disabled. Opaque disabled role; checked position and visible labels remain. No opacity dimming.
--bh-switch-off-thumb{color.icon}#42413fDark: #cdccc9OFF thumb, normal. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground.
--bh-switch-off-thumb-hover{color.icon}#42413fDark: #cdccc9OFF thumb, hover. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground.
--bh-switch-off-thumb-pressed{color.icon}#42413fDark: #cdccc9OFF thumb, pressed. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground.
--bh-switch-off-thumb-focus{switch.off.thumb}#42413fDark: #cdccc9OFF thumb, focus. Normal pair under the independent keyboard focus ring; pointer hover/pressed feedback may coexist with the ring.
--bh-switch-off-thumb-loading{switch.off.thumb}#42413fDark: #cdccc9OFF thumb, loading. Preserve the normal checked-state pair while the native spinner signals pending work; native interaction stays blocked.
--bh-switch-off-thumb-disabled{color.icon.disabled}#949390Dark: #6b6a67OFF thumb, disabled. Opaque disabled role; checked position and visible labels remain. No opacity dimming.
--bh-switch-off-label{color.text}#2b2a28Dark: #eeeeedOFF label, normal. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground.
--bh-switch-off-label-hover{color.text}#2b2a28Dark: #eeeeedOFF label, hover. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground.
--bh-switch-off-label-pressed{color.text}#2b2a28Dark: #eeeeedOFF label, pressed. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground.
--bh-switch-off-label-focus{switch.off.label}#2b2a28Dark: #eeeeedOFF label, focus. Normal pair under the independent keyboard focus ring; pointer hover/pressed feedback may coexist with the ring.
--bh-switch-off-label-loading{switch.off.label}#2b2a28Dark: #eeeeedOFF label, loading. Preserve the normal checked-state pair while the native spinner signals pending work; native interaction stays blocked.
--bh-switch-off-label-disabled{color.text.disabled}#949390Dark: #6b6a67OFF label, disabled. Opaque disabled role; checked position and visible labels remain. No opacity dimming.
--bh-switch-off-border{color.border.bold}#7b7976Dark: #878682OFF border, normal. Meaningful boundary without changing native geometry.
--bh-switch-off-border-hover{color.border.bold}#7b7976Dark: #878682OFF border, hover. Meaningful boundary without changing native geometry.
--bh-switch-off-border-pressed{color.graphite.10}#5f5e5bDark: #a8a6a3OFF border, pressed. Graphite 10 keeps at least 3:1 against the pressed neutral track in both themes without changing native geometry.
--bh-switch-off-border-focus{switch.off.border}#7b7976Dark: #878682OFF border, focus. Normal pair under the independent keyboard focus ring; pointer hover/pressed feedback may coexist with the ring.
--bh-switch-off-border-loading{switch.off.border}#7b7976Dark: #878682OFF border, loading. Preserve the normal checked-state pair while the native spinner signals pending work; native interaction stays blocked.
--bh-switch-off-border-disabled{color.border.disabled}#bdbcbbDark: #454443OFF border, disabled. Opaque disabled role; checked position and visible labels remain. No opacity dimming.
--bh-switch-off-loading-icon{color.icon.inverse}#fdfdfcDark: #181717Spinner foreground inside the OFF thumb, paired with switch.off.thumb.loading. Keep the native spinning indicator and blocked callback behavior.
--bh-switch-on-track{color.background.neutral.bold}#2b2a28Dark: #eeeeedON track, normal. Neutral boolean-state fill, never business-success green.
--bh-switch-on-track-hover{color.background.neutral.bold.hover}#42413fDark: #cdccc9ON track, hover. Neutral boolean-state fill, never business-success green.
--bh-switch-on-track-pressed{color.background.neutral.bold.pressed}#5f5e5bDark: #a8a6a3ON track, pressed. Neutral boolean-state fill, never business-success green.
--bh-switch-on-track-focus{switch.on.track}#2b2a28Dark: #eeeeedON track, focus. Normal pair under the independent keyboard focus ring; pointer hover/pressed feedback may coexist with the ring.
--bh-switch-on-track-loading{switch.on.track}#2b2a28Dark: #eeeeedON track, loading. Preserve the normal checked-state pair while the native spinner signals pending work; native interaction stays blocked.
--bh-switch-on-track-disabled{color.background.disabled}#f1f1f0Dark: #282827ON track, disabled. Opaque disabled role; checked position and visible labels remain. No opacity dimming.
--bh-switch-on-thumb{color.icon.inverse}#fdfdfcDark: #181717ON thumb, normal. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground.
--bh-switch-on-thumb-hover{color.icon.inverse}#fdfdfcDark: #181717ON thumb, hover. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground.
--bh-switch-on-thumb-pressed{color.icon.inverse}#fdfdfcDark: #181717ON thumb, pressed. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground.
--bh-switch-on-thumb-focus{switch.on.thumb}#fdfdfcDark: #181717ON thumb, focus. Normal pair under the independent keyboard focus ring; pointer hover/pressed feedback may coexist with the ring.
--bh-switch-on-thumb-loading{switch.on.thumb}#fdfdfcDark: #181717ON thumb, loading. Preserve the normal checked-state pair while the native spinner signals pending work; native interaction stays blocked.
--bh-switch-on-thumb-disabled{color.icon.disabled}#949390Dark: #6b6a67ON thumb, disabled. Opaque disabled role; checked position and visible labels remain. No opacity dimming.
--bh-switch-on-label{color.text.inverse}#fdfdfcDark: #181717ON label, normal. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground.
--bh-switch-on-label-hover{color.text.inverse}#fdfdfcDark: #181717ON label, hover. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground.
--bh-switch-on-label-pressed{color.text.inverse}#fdfdfcDark: #181717ON label, pressed. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground.
--bh-switch-on-label-focus{switch.on.label}#fdfdfcDark: #181717ON label, focus. Normal pair under the independent keyboard focus ring; pointer hover/pressed feedback may coexist with the ring.
--bh-switch-on-label-loading{switch.on.label}#fdfdfcDark: #181717ON label, loading. Preserve the normal checked-state pair while the native spinner signals pending work; native interaction stays blocked.
--bh-switch-on-label-disabled{color.text.disabled}#949390Dark: #6b6a67ON label, disabled. Opaque disabled role; checked position and visible labels remain. No opacity dimming.
--bh-switch-on-border{color.background.neutral.bold}#2b2a28Dark: #eeeeedON border, normal. Meaningful boundary without changing native geometry.
--bh-switch-on-border-hover{color.background.neutral.bold.hover}#42413fDark: #cdccc9ON border, hover. Meaningful boundary without changing native geometry.
--bh-switch-on-border-pressed{color.background.neutral.bold.pressed}#5f5e5bDark: #a8a6a3ON border, pressed. Meaningful boundary without changing native geometry.
--bh-switch-on-border-focus{switch.on.border}#2b2a28Dark: #eeeeedON border, focus. Normal pair under the independent keyboard focus ring; pointer hover/pressed feedback may coexist with the ring.
--bh-switch-on-border-loading{switch.on.border}#2b2a28Dark: #eeeeedON border, loading. Preserve the normal checked-state pair while the native spinner signals pending work; native interaction stays blocked.
--bh-switch-on-border-disabled{color.border.disabled}#bdbcbbDark: #454443ON border, disabled. Opaque disabled role; checked position and visible labels remain. No opacity dimming.
--bh-switch-on-loading-icon{color.icon}#42413fDark: #cdccc9Spinner foreground inside the ON thumb, paired with switch.on.thumb.loading. Keep the native spinning indicator and blocked callback behavior.

Avatar

TokenValueDescription
--bh-avatar-size-default{size.control.default}2rem32 px. Avatar everywhere except dense tables and lists; the same height as a default control.
--bh-avatar-size-small{size.control.small}1.5rem24 px. Avatar in dense tables and lists; the same height as a small control.
--bh-avatar-size-large{size.control.large}2.5rem40 px. Avatar in a page or profile header; the same height as a large control.
--bh-avatar-badge-size{space.100}0.5rem8 px. Status dot on an avatar.

Label

TokenValueDescription
--bh-label-height-default1.25rem20 px. Height of a status label in table rows and lists.
--bh-label-height-large{size.control.small}1.5rem24 px. Height of a large status label.
--bh-label-height-state{size.control.default}2rem32 px. Height of the state label: one per page, the status the page is about.
--bh-label-padding-default{space.075}0.375rem6 px. Side padding of a status label.
--bh-label-padding-large{space.100}0.5rem8 px. Side padding of a large status label.
--bh-label-padding-state{space.150}0.75rem12 px. Side padding of the state label.

Tag

TokenValueDescription
--bh-tag-height{size.control.small}1.5rem24 px. Height of a tag.
--bh-tag-padding{space.100}0.5rem8 px. Side padding of a tag.

Chip

TokenValueDescription
--bh-chip-height-small{size.control.small}1.5rem24 px. Chip in dense toolbars.
--bh-chip-height-default{size.control.default}2rem32 px. Chip everywhere else.

Scrollbar

TokenValueDescription
--bh-scrollbar-width{space.100}0.5remShared vertical width and horizontal height: 0.5rem, nominal 8px at the native 16px root, matching Ant tableScrollThumbSize. Standards-only browsers use their native thin metric; overlay platforms may retain platform geometry. Never duplicate per-axis or per-application sizes.
--bh-scrollbar-track{color.border}#bdbcbbDark: #454443Track in both axes, following Ant tableScrollBg = colorSplit, mapped by the Beehexa Ant factory to color.border. Theme aliases resolve in light and dark.
--bh-scrollbar-thumb{color.text.subtlest}#5f5e5bDark: #a8a6a3Foreground thumb at rest, following Ant tableScrollThumbBg = colorTextPlaceholder, mapped to color.text.subtlest. Keep the opaque thumb distinguishable from scrollbar.track; do not weaken it with opacity.
--bh-scrollbar-thumbHover{color.text}#2b2a28Dark: #eeeeedHovered thumb, following Ant tableScrollThumbBgHover = colorTextHeading, mapped to color.text. Standards-only browsers expose the scroll host hover state rather than a thumb pseudo-element.
--bh-scrollbar-thumbActive{scrollbar.thumbHover}#2b2a28Dark: #eeeeedDragged/pressed thumb; Ant sticky scrollbar uses the same colorTextHeading role for hover and active. Standards-only browsers expose the scroll host active state rather than thumb drag state.
--bh-scrollbar-corner{scrollbar.track}#bdbcbbDark: #454443Junction of horizontal and vertical native tracks. Match the track so one two-axis scroll owner has a continuous surface; no separate app color.
--bh-scrollbar-radius{radius.full}999pxFully rounded thumb and track. Ant sticky scrollbar uses borderRadius 100 to form a pill; use the canonical Beehexa full-radius alias rather than copying its fixed number.

Resizable panel

TokenValueDescription
--bh-resize-divider{border.width.accent}4pxVisible divider thickness; do not use as the sole pointer hit area.
--bh-resize-target{size.target.minimum}1.5remMinimum pointer/keyboard target around a resize divider.
--bh-resize-touchTarget{size.target.touch}2.75remTouch target around a resize divider.
--bh-resize-handle-width{space.200}1remVisible handle width.
--bh-resize-handle-height{space.400}2remVisible handle height.
--bh-resize-handle-radius{radius.050}0.25remVisible handle corner radius.
--bh-resize-handle-background{color.surface}#ffffffDark: #201f1fHandle surface paired with resize.grip.
--bh-resize-handle-activeBackground{color.background.neutral.bold}#2b2a28Dark: #eeeeedHovered or dragged handle surface paired with resize.activeGrip.
--bh-resize-dot-size{space.025}0.125remDiameter of each of the exactly three circular grip dots.
--bh-resize-dot-pitch{space.100}0.5remEqual center-to-center spacing of three dots, symmetric about the handle center in either orientation.
--bh-resize-color{color.border.bold}#7b7976Dark: #878682Resize divider and grip at rest.
--bh-resize-active{color.border.focus}#005195Dark: #6bb3faHovered, keyboard-focused or dragged resize divider.
--bh-resize-grip{color.icon}#42413fDark: #cdccc9Grip mark on surface.
--bh-resize-activeGrip{color.text.inverse}#fdfdfcDark: #181717Grip marks on the active neutral bold handle surface.

Application content

TokenValueDescription
--bh-content-partner-logo-size{space.500}2.5remNon-image partner-group placeholder extent, not a brand-image width or fixed-square Avatar recipe.
--bh-content-partner-logo-image-size{space.300}1.5remCommon rendered height of connector and partner brand images. Width is always intrinsic/auto at this height; no square frame, width cap, crop or distortion.
--bh-content-avatar-size{size.control.default}2remDefault person or permission-member identity avatar; a visual identity, not a hit target.
--bh-content-identity-mark-size{size.target.touch}2.75remSystem/provider identity container when shown beside content labels.
--bh-content-identity-mark-image-size{space.300}1.5remContained system/provider identity glyph within the identity-mark container.
--bh-content-empty-illustration-size6remEmpty-state illustration container. Standard icons inside retain their own source icon sizes.
--bh-content-tooltip-metric-max-inline-size28remMaximum readable width for an opt-in native date/metric Tooltip. The actual popup also stays within the viewport with space.200 on either side; not a global Tooltip width or a minimum.
--bh-content-step-progress-segment-width{space.200}1rem16px horizontal mark in an opt-in read-only native segmented Progress; not a navigation step or status dot.
--bh-content-step-progress-segment-height{space.050}0.25rem4px thickness of each horizontal step-progress mark; scales with the reader's root.
--bh-content-step-progress-gap{space.050}0.25remSpace between adjacent read-only step-progress marks; no trailing native item margin.

Code editor

TokenValueDescription
--bh-editor-background{color.surface}#ffffffDark: #201f1fEditor code canvas; pair with editor.text and syntax roles.
--bh-editor-text{color.text}#2b2a28Dark: #eeeeedEditor default code foreground.
--bh-editor-gutter{color.surface.subtle}#f1f1f0Dark: #201f1fLine-number gutter surface.
--bh-editor-lineNumber{color.text.subtlest}#5f5e5bDark: #a8a6a3Line numbers on the gutter.
--bh-editor-selection{color.background.selected}#e5e5e4Dark: #31302fSelected code range, with native selection/caret cues.
--bh-editor-lineHighlight{color.surface.subtle}#f1f1f0Dark: #201f1fCurrent editor line; caret and gutter provide additional cues.
--bh-editor-cursor{color.text}#2b2a28Dark: #eeeeedInsertion caret.
--bh-editor-border{color.border}#bdbcbbDark: #454443Editor frame.
--bh-editor-syntax-comment{color.text.subtlest}#5f5e5bDark: #a8a6a3Comments: neutral, readable, no dimming.
--bh-editor-syntax-string{color.text.success}#005c3aDark: #5ec18aString literals, not success state indicators.
--bh-editor-syntax-number{color.text.warning}#8a3600Dark: #f5974eNumeric literals, not warning state indicators.
--bh-editor-syntax-keyword{color.text.info}#005195Dark: #6bb3faLanguage keywords, not info state indicators.
--bh-editor-syntax-type{color.text}#2b2a28Dark: #eeeeedTypes and identifiers.
--bh-editor-syntax-delimiter{color.text.subtle}#42413fDark: #cdccc9Punctuation and delimiters.
--bh-editor-diff-inserted-background{color.background.success.subtle}#e6f6ebDark: #132d21Inserted diff text and lines; show + gutter marker.
--bh-editor-diff-inserted-text{color.text.success}#005c3aDark: #5ec18aInserted diff annotation; + or inserted label required.
--bh-editor-diff-removed-background{color.background.danger.subtle}#feebe9Dark: #3b1310Removed diff text and lines; show − gutter marker.
--bh-editor-diff-removed-text{color.text.danger}#9b1e20Dark: #ff8e84Removed diff annotation; − or removed label required.
--bh-editor-font-family{font.family.mono}"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospaceEditor numeric API family from code.default.
--bh-editor-font-size{font.size.200}0.875remEditor numeric API size from code.default: 14px nominal.
--bh-editor-font-lineHeight1.25remVietnamese (lang="vi"): 1.5remEditor numeric API line height: 20px nominal; Vietnamese 24px.
--bh-editor-font-weight{font.weight.regular}400Editor code weight.

Diagram

TokenValueDescription
--bh-diagram-canvas{color.surface.page}#ffffffDark: #181717Opaque viewport and image-export sheet; transparent live SVG/groups expose its grid. Pair with node and edge text.
--bh-diagram-grid{color.border}#bdbcbbDark: #454443Subtle dotted drawing grid, shared with native Data Flow; never an execution cue.
--bh-diagram-group-fill{color.background.neutral.subtle}transparentTransparent graph-stage body: retain native grouping boundary/title without hiding the viewport's dotted grid. Export keeps the opaque canvas sheet behind it.
--bh-diagram-grid-gap{space.200}1remNative Data Flow dotted-grid interval in graph coordinates, transformed with the camera.
--bh-diagram-grid-dot{border.width.default}1pxNative Data Flow grid dot radius in graph coordinates.
--bh-diagram-node-fill{color.surface}#ffffffDark: #201f1fDefault and indeterminate node fill.
--bh-diagram-node-border{color.border.bold}#7b7976Dark: #878682Meaningful default and indeterminate node boundary.
--bh-diagram-node-title{color.text}#2b2a28Dark: #eeeeedNode title on node-fill.
--bh-diagram-node-desc{color.text.subtle}#42413fDark: #cdccc9Descriptive node and inspector text on neutral surfaces.
--bh-diagram-tile-bg{color.background.neutral}#f1f1f0Dark: #282827Step-category glyph plate; not a status.
--bh-diagram-tile-glyph{color.icon}#42413fDark: #cdccc9Step-category glyph on tile-bg.
--bh-diagram-state-ran-ok{color.text.info}#005195Dark: #6bb3faExecution evidence without a reported failure. Informational blue and a completion marker, never business-success green.
--bh-diagram-ran-ok-fill{color.surface}#ffffffDark: #201f1fRan step fill; retain text and completion marker as non-colour cues.
--bh-diagram-log-reached{color.text.info}#005195Dark: #6bb3faLog-only reachability, paired with a reach marker; not a typed successful execution.
--bh-diagram-log-unfinished{color.text.warning}#8a3600Dark: #f5974eStarted interval without a recorded ending, paired with an ellipsis and dashed boundary; not a proven failure.
--bh-diagram-fail-stroke{color.text.danger}#9b1e20Dark: #ff8e84Proven failure boundary and native shared state-label paint; pair with fail-fill and the native failure marker.
--bh-diagram-fail-fill{color.background.danger.subtle}#feebe9Dark: #3b1310Failed execution node fill.
--bh-diagram-fail-title{color.text.danger}#9b1e20Dark: #ff8e84Failure title on fail-fill.
--bh-diagram-fail-desc{color.text.danger}#9b1e20Dark: #ff8e84Failure description on fail-fill.
--bh-diagram-unreached-fill{color.surface.subtle}#f1f1f0Dark: #201f1fNever-reached node fill; not a disabled control.
--bh-diagram-unreached-stroke{color.border.bold}#7b7976Dark: #878682Solid never-reached boundary with an explicit state label.
--bh-diagram-unreached-title{color.text.subtle}#42413fDark: #cdccc9Never-reached title on unreached-fill.
--bh-diagram-unreached-desc{color.text.subtle}#42413fDark: #cdccc9Never-reached description on unreached-fill.
--bh-diagram-nottaken-stroke{color.text.subtle}#42413fDark: #cdccc9Dashed not-taken boundary; dashes and label distinguish it from never reached.
--bh-diagram-nottaken-fill{color.surface}#ffffffDark: #201f1fNot-taken branch fill.
--bh-diagram-nottaken-title{color.text}#2b2a28Dark: #eeeeedNot-taken title on nottaken-fill.
--bh-diagram-nottaken-desc{color.text.subtle}#42413fDark: #cdccc9Not-taken description on nottaken-fill.
--bh-diagram-badge-bg{color.surface}#ffffffDark: #201f1fRepeat-count plate; repetition alone is not a warning.
--bh-diagram-badge-text{color.text.subtle}#42413fDark: #cdccc9Descriptive repeat count on badge-bg.
--bh-diagram-badge-border{color.border.bold}#7b7976Dark: #878682Repeat-count outline.
--bh-diagram-edge{color.border.bold}#7b7976Dark: #878682Meaningful neutral relation line and arrow.
--bh-diagram-edge-label-text{color.text.subtle}#42413fDark: #cdccc9Relation label on edge-label-bg.
--bh-diagram-edge-label-bg{color.surface.page}#ffffffDark: #181717Opaque relation label plate.
--bh-diagram-panel-bg{color.surface}#ffffffDark: #201f1fInspector evidence surface.
--bh-diagram-panel-border{color.border}#bdbcbbDark: #454443Decorative inspector divider, not an interactive boundary.
--bh-diagram-code-bg{color.surface}#ffffffDark: #201f1fStructured key/value evidence surface; full code blocks use color.code roles.
--bh-diagram-code-key{color.text.subtle}#42413fDark: #cdccc9Evidence field label on code-bg; not a link.
--bh-diagram-code-value{color.text}#2b2a28Dark: #eeeeedEvidence field value on code-bg.
--bh-diagram-selection-ring{color.border.focus}#005195Dark: #6bb3faIndependent outer selection/hover ring on canvas; never replace run-state paint.
--bh-diagram-node-font{font.body.default}400 0.875rem/1.25rem Inter, "Noto Sans", system-ui, sans-serifDefault Mermaid node label; inherits Vietnamese line-height.
--bh-diagram-card-width15rem240px measurable execution-step label card width; preserve fixed layout topology.
--bh-diagram-tile-size{size.target.touch}2.75rem44px step-category glyph tile inside execution-card labels, not an interaction target.
--bh-diagram-glyph-size{space.400}2rem32px category symbol ink size within tile-size; this is a glyph, not display text.
--bh-diagram-preview-height45rem720px embedded authoring preview budget shared by the diagram and adjacent step-detail panel; fullscreen fills its host instead.
--bh-diagram-minimum-height20rem320px minimum authoring-preview viewport budget. Read-only split diagrams instead shrink with their enclosing pane.
--bh-diagram-evidence-height13.75rem220px embedded structured-result viewer height; content scrolls within this budget.
--bh-diagram-evidence-minimum-height12rem192px minimum pane budget for multiple request bodies so one expanded part does not hide another.
--bh-diagram-padding{space.100}0.5remInternal Mermaid node padding.
--bh-diagram-export-padding{space.300}1.5remBreathing room around fitted and exported drawing bounds.

Flow

TokenValueDescription
--bh-flow-category-task-foreground{color.blue.11}#005195Dark: #6bb3fatask identity foreground; not a workflow status.
--bh-flow-category-task-background{color.blue.3}#e6f4feDark: #0d2847task identity background; not a workflow status.
--bh-flow-category-task-border{color.blue.9}#0077d5Dark: #0088f1task identity border; not a workflow status.
--bh-flow-category-task-hover{color.blue.4}#d5efffDark: #003362task identity hover; not a workflow status.
--bh-flow-category-dependency-foreground{color.red.11}#9b1e20Dark: #ff8e84dependency identity foreground; not a workflow status.
--bh-flow-category-dependency-background{color.red.3}#feebe9Dark: #3b1310dependency identity background; not a workflow status.
--bh-flow-category-dependency-border{color.red.9}#d83b39Dark: #ef4c48dependency identity border; not a workflow status.
--bh-flow-category-dependency-hover{color.red.4}#ffdbd7Dark: #50100fdependency identity hover; not a workflow status.
--bh-flow-category-transformation-foreground{color.green.11}#005c3aDark: #5ec18atransformation identity foreground; not a workflow status.
--bh-flow-category-transformation-background{color.green.3}#e6f6ebDark: #132d21transformation identity background; not a workflow status.
--bh-flow-category-transformation-border{color.green.9}#008753Dark: #1f9962transformation identity border; not a workflow status.
--bh-flow-category-transformation-hover{color.green.4}#d6f1dfDark: #113b29transformation identity hover; not a workflow status.
--bh-flow-category-validation-foreground{color.red.11}#9b1e20Dark: #ff8e84validation identity foreground; not a workflow status.
--bh-flow-category-validation-background{color.red.3}#feebe9Dark: #3b1310validation identity background; not a workflow status.
--bh-flow-category-validation-border{color.red.11}#9b1e20Dark: #ff8e84validation identity border; not a workflow status.
--bh-flow-category-validation-hover{color.red.4}#ffdbd7Dark: #50100fvalidation identity hover; not a workflow status.
--bh-flow-category-pushStep-foreground{color.yellow.11}#764400Dark: #fcb017pushStep identity foreground; not a workflow status.
--bh-flow-category-pushStep-background{color.yellow.3}#fff1bdDark: #32210apushStep identity background; not a workflow status.
--bh-flow-category-pushStep-border{color.yellow.9}#a96700Dark: #bd7e1bpushStep identity border; not a workflow status.
--bh-flow-category-pushStep-hover{color.yellow.4}#ffe59cDark: #422902pushStep identity hover; not a workflow status.
--bh-flow-category-decision-foreground#087b88Dark: #7bdce5Decision identity label on its paired surface; AA small-text contrast, independent of the frame and directed-edge stroke.
--bh-flow-category-decision-background#e8f8faDark: #123c43decision node surface.
--bh-flow-category-decision-border#087f8cDark: #7bdce5decision meaningful frame and directed edge.
--bh-flow-category-decision-hover#e8f8faDark: #123c43decision hovered surface; focus is separate.
--bh-flow-category-loop-foreground#ad2171Dark: #f3a0d1loop label on paired background.
--bh-flow-category-loop-background#fcecf5Dark: #411b34loop node surface.
--bh-flow-category-loop-border#ad2171Dark: #f3a0d1loop meaningful frame and directed edge.
--bh-flow-category-loop-hover#fcecf5Dark: #411b34loop hovered surface; focus is separate.
--bh-flow-category-grouped-foreground#7040a0Dark: #c9a2eegrouped label on paired background.
--bh-flow-category-grouped-background#f3ecfaDark: #30213fgrouped node surface.
--bh-flow-category-grouped-border#7040a0Dark: #c9a2eegrouped meaningful frame and directed edge.
--bh-flow-category-grouped-hover#f3ecfaDark: #30213fgrouped hovered surface; focus is separate.
--bh-flow-geometry-task-width450pxFixed operational task width; rendering and layout share this value.
--bh-flow-geometry-task-height130pxFixed operational task height; rendering and layout share this value.
--bh-flow-geometry-task_dependency-width450pxFixed operational task_dependency width; rendering and layout share this value.
--bh-flow-geometry-task_dependency-height130pxFixed operational task_dependency height; rendering and layout share this value.
--bh-flow-geometry-task_transformation-width450pxFixed operational task_transformation width; rendering and layout share this value.
--bh-flow-geometry-task_transformation-height130pxFixed operational task_transformation height; rendering and layout share this value.
--bh-flow-geometry-task_data-width450pxFixed operational task_data width; rendering and layout share this value.
--bh-flow-geometry-task_data-height130pxFixed operational task_data height; rendering and layout share this value.
--bh-flow-geometry-validationGroup-width350pxFixed operational validationGroup width; rendering and layout share this value.
--bh-flow-geometry-validationGroup-height130pxFixed operational validationGroup height; rendering and layout share this value.
--bh-flow-geometry-transformationGroup-width350pxFixed operational transformationGroup width; rendering and layout share this value.
--bh-flow-geometry-transformationGroup-height130pxFixed operational transformationGroup height; rendering and layout share this value.
--bh-flow-geometry-pushStepsGroup-width350pxFixed operational pushStepsGroup width; rendering and layout share this value.
--bh-flow-geometry-pushStepsGroup-height130pxFixed operational pushStepsGroup height; rendering and layout share this value.
--bh-flow-geometry-validation-width200pxFixed operational validation width; rendering and layout share this value.
--bh-flow-geometry-validation-height130pxFixed operational validation height; rendering and layout share this value.
--bh-flow-geometry-transformation-width200pxFixed operational transformation width; rendering and layout share this value.
--bh-flow-geometry-transformation-height130pxFixed operational transformation height; rendering and layout share this value.
--bh-flow-geometry-push_step-width200pxFixed operational push_step width; rendering and layout share this value.
--bh-flow-geometry-push_step-height130pxFixed operational push_step height; rendering and layout share this value.
--bh-flow-geometry-decision-width160pxFixed operational decision width; rendering and layout share this value.
--bh-flow-geometry-decision-height160pxFixed operational decision height; rendering and layout share this value.
--bh-flow-geometry-loop-width120pxFixed operational loop width; rendering and layout share this value.
--bh-flow-geometry-loop-height120pxFixed operational loop height; rendering and layout share this value.
--bh-flow-geometry-profile-width240pxFixed operational profile width; rendering and layout share this value.
--bh-flow-geometry-profile-height100pxFixed operational profile height; rendering and layout share this value.
--bh-flow-grid-HORIZONTAL80pxOperational graph grid HORIZONTAL; preserve graph coordinates.
--bh-flow-grid-VERTICAL40pxOperational graph grid VERTICAL; preserve graph coordinates.
--bh-flow-grid-TASK_DATA_X_GAP300pxOperational graph grid TASK_DATA_X_GAP; preserve graph coordinates.
--bh-flow-grid-GROUP_Y_OFFSET200pxOperational graph grid GROUP_Y_OFFSET; preserve graph coordinates.
--bh-flow-layout-VALIDATION_NODE_Y_GAP100pxOperational graph layout VALIDATION_NODE_Y_GAP; preserve graph coordinates.
--bh-flow-layout-TRANSFORMATION_NODE_Y_GAP100pxOperational graph layout TRANSFORMATION_NODE_Y_GAP; preserve graph coordinates.
--bh-flow-layout-PUSH_STEP_NODE_Y_GAP80pxOperational graph layout PUSH_STEP_NODE_Y_GAP; preserve graph coordinates.
--bh-flow-layout-PUSH_STEP_NODE_X_GAP120pxOperational graph layout PUSH_STEP_NODE_X_GAP; preserve graph coordinates.
--bh-flow-layout-PUSH_STEP_BRANCH_X_GAP200pxOperational graph layout PUSH_STEP_BRANCH_X_GAP; preserve graph coordinates.
--bh-flow-layout-EXPANDED_GROUP_X50pxOperational graph layout EXPANDED_GROUP_X; preserve graph coordinates.
--bh-flow-layout-EXPANDED_GROUP_Y_START50pxOperational graph layout EXPANDED_GROUP_Y_START; preserve graph coordinates.
--bh-flow-layout-TREE_LEVEL_Y_GAP150pxOperational graph layout TREE_LEVEL_Y_GAP; preserve graph coordinates.
--bh-flow-layout-TREE_SIBLING_X_GAP250pxOperational graph layout TREE_SIBLING_X_GAP; preserve graph coordinates.
--bh-flow-layout-TREE_MIN_WIDTH200pxOperational graph layout TREE_MIN_WIDTH; preserve graph coordinates.
--bh-flow-edge-width{border.width.selected}2pxOperational graph edge width; preserve graph coordinates.
--bh-flow-edge-marker{space.200}1remOperational graph edge marker; preserve graph coordinates.
--bh-flow-edge-radius{space.250}1.25remOperational graph edge radius; preserve graph coordinates.
--bh-flow-edge-handle{space.150}0.75remOperational graph edge handle; preserve graph coordinates.

Data visualization

TokenValueDescription
--bh-visualization-metric-total-jobs{color.text.info}#005195Dark: #6bb3faTotal execution volume, not an execution status; pair with a named series and values.
--bh-visualization-metric-success-rate{color.text.success}#005c3aDark: #5ec18aSuccessful execution proportion; thresholds remain explicit in text.
--bh-visualization-metric-completed{color.text.success}#005c3aDark: #5ec18aCompleted execution count, with a completed label.
--bh-visualization-metric-failed{color.text.danger}#9b1e20Dark: #ff8e84Failed execution count, with a failed label.
--bh-visualization-metric-active-jobs{color.text.info}#005195Dark: #6bb3faCurrently active executions, not a success assessment.
--bh-visualization-metric-avg-execution-time{color.text.subtle}#42413fDark: #cdccc9Average execution duration; duration alone does not imply warning.
--bh-visualization-metric-queue-depth{color.text}#2b2a28Dark: #eeeeedQueued execution volume; backlog alone does not imply failure.
--bh-visualization-job-type-queue-status{color.blue.11}#005195Dark: #6bb3faQueue-status categorical identity. Never infer processing status from this colour.
--bh-visualization-job-type-sync-history{color.green.11}#005c3aDark: #5ec18aSync-history categorical identity. Never infer success from this colour.
--bh-visualization-job-type-polling-jobs{color.orange.11}#8a3600Dark: #f5974ePolling categorical identity. Never infer warning from this colour.
--bh-visualization-job-type-generic-jobs{color.graphite.11}#42413fDark: #cdccc9Generic-job categorical identity. Always include job-type text or a distinct glyph.
--bh-visualization-priority-1{color.text.danger}#9b1e20Dark: #ff8e84Highest queue urgency, explicitly labelled P1; not a failed execution.
--bh-visualization-priority-2{color.text.warning}#8a3600Dark: #f5974eHigh queue urgency, explicitly labelled P2; not a warning outcome.
--bh-visualization-priority-3{color.text.info}#005195Dark: #6bb3faNormal queue urgency, explicitly labelled P3.
--bh-visualization-priority-4{color.text.subtle}#42413fDark: #cdccc9Low queue urgency, explicitly labelled P4; not a success outcome.
--bh-visualization-priority-5{color.text.subtlest}#5f5e5bDark: #a8a6a3Lowest queue urgency, explicitly labelled P5.
--bh-visualization-traffic-healthy-fill{color.background.success.subtle}#e6f6ebDark: #132d21Accepted traffic; show its label.
--bh-visualization-traffic-healthy-outline{color.border.success}#008753Dark: #37a971Accepted traffic; show its label.
--bh-visualization-traffic-attention-fill{color.background.warning.subtle}#ffefd6Dark: #331e0bLower reject-ratio threshold; distinct label and pattern from degraded.
--bh-visualization-traffic-attention-outline{color.border.warning}#ba4e00Dark: #ef7200Lower reject-ratio threshold; distinct label and pattern from degraded.
--bh-visualization-traffic-degraded-fill{color.background.warning.subtle}#ffefd6Dark: #331e0bHigher reject-ratio threshold; distinct label and pattern from attention.
--bh-visualization-traffic-degraded-outline{color.border.warning}#ba4e00Dark: #ef7200Higher reject-ratio threshold; distinct label and pattern from attention.
--bh-visualization-traffic-critical-fill{color.background.danger.subtle}#feebe9Dark: #3b1310Critical rejected-request ratio, not a failed fetch.
--bh-visualization-traffic-critical-outline{color.border.danger}#d83b39Dark: #ff615aCritical rejected-request ratio, not a failed fetch.
--bh-visualization-traffic-unavailable-fill{color.surface.subtle}#f1f1f0Dark: #201f1fNo requests to assess; not a backend failure.
--bh-visualization-traffic-unavailable-outline{color.border.bold}#7b7976Dark: #878682No requests to assess; not a backend failure.
--bh-visualization-traffic-fault-fill{color.background.danger.subtle}#feebe9Dark: #3b1310Backend/internal request-processing faults; show a separate count and explicit fault label/icon, not a rejected-ratio threshold.
--bh-visualization-traffic-fault-outline{color.border.danger}#d83b39Dark: #ff615aBackend/internal request-processing faults; show a separate count and explicit fault label/icon, not a rejected-ratio threshold.
--bh-visualization-line-width{border.width.selected}2pxPrimary chart series stroke in CSS pixels.
--bh-visualization-sparkline-width{border.width.default}1pxCompact sparkline stroke in CSS pixels.
--bh-visualization-grid-width{border.width.default}1pxChart grid and crosshair stroke in CSS pixels.
--bh-visualization-sparkline-point-radius{space.025}0.125remCompact sparkline endpoint radius.
--bh-visualization-timeline-node-size{space.200}1remDesktop timeline outer job-type mark diameter.
--bh-visualization-timeline-node-inner-size{space.100}0.5remDesktop timeline inner execution-status mark diameter.
--bh-visualization-timeline-node-touch-size{space.250}1.25remTouch and tablet outer timeline mark diameter; hit target remains size.target.touch.
--bh-visualization-timeline-node-touch-inner-size{space.150}0.75remTouch timeline inner status diameter.
--bh-visualization-timeline-node-tablet-inner-size{space.100}0.5remTablet timeline inner status diameter.
--bh-visualization-timeline-cluster-size{space.300}1.5remMinimum aggregated timeline count marker diameter.
--bh-visualization-chart-height120pxOperational trend chart plotting height.
--bh-visualization-chart-initial-width400pxInitial plot width before measurement; replaced by actual container width.
--bh-visualization-sparkline-height{space.500}2.5remStandard compact trend plotting height.
--bh-visualization-sparkline-compact-height{space.400}2remMetric tile sparkline plotting height.
--bh-visualization-sparkline-initial-width100pxInitial sparkline width before measurement.
--bh-visualization-point-radius{space.050}0.25remNormal chart sample marker radius.
--bh-visualization-hover-point-radius{space.075}0.375remHovered chart sample marker radius; larger than normal independently of colour.
--bh-visualization-failure-shadow0 0 {space.050} {color.border.danger}0 0 0.25rem #d83b39Dark: 0 0 0.25rem #ff615aOpt-in failed-event shadow for a categorical SVG mark or DOM dot. Zero offset and no spread/border preserve the job-family fill; the danger colour follows the active theme, independently of keyboard focus. A grouped mark opts in when any represented event failed; grouping remains consumer data logic.
--bh-visualization-ring-width10Ant Design dashboard progress stroke width, in percent of its viewBox.
--bh-visualization-ring-size140pxOperational health progress ring diameter.
--bh-visualization-ring-gap75Operational health dashboard ring opening in degrees.
--bh-visualization-timeline-track-height{space.075}0.375remCompact summary and grouped execution track thickness.
--bh-visualization-activity-track-height{space.100}0.5remActivity timeline track thickness with internal event segments.
--bh-visualization-legend-mark-size{space.100}0.5rem8 px. Colour mark beside a legend label.