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
| Token | Value | Description |
|---|---|---|
--bh-color-brand-yellow | #fcb017 | Brand yellow. Logo, highlights, and the current-page indicator in dark (light uses color.yellow.9 for it). Never text or icons on a light background (1.85:1 on white). |
--bh-color-brand-graphite | #2b2a28 | Brand graphite. Text and the primary button. |
--bh-color-brand-white | #ffffff | Brand white. |
--bh-color-static-white | #ffffff | White 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 | #000000 | Black in both themes. |
--bh-color-graphite-1 | #fdfdfcDark: #181717 | App background. |
--bh-color-graphite-2 | #f1f1f0Dark: #201f1f | Subtle background: table headers, quiet areas. |
--bh-color-graphite-3 | #e5e5e4Dark: #282827 | Component background at rest. |
--bh-color-graphite-4 | #d9d9d8Dark: #31302f | Component background on hover. |
--bh-color-graphite-5 | #cdcccbDark: #393937 | Component background when pressed or selected. |
--bh-color-graphite-6 | #bdbcbbDark: #454443 | Subtle border: dividers, cards. |
--bh-color-graphite-7 | #aaa9a8Dark: #555452 | Border of interactive elements. |
--bh-color-graphite-8 | #949390Dark: #6b6a67 | Strong border. Disabled text and icons (text.disabled, icon.disabled). |
--bh-color-graphite-9 | #7b7976Dark: #878682 | Edge of controls (border.bold): 3:1 on every neutral fill, selected rows included. |
--bh-color-graphite-10 | #5f5e5bDark: #a8a6a3 | Tertiary text (text.subtlest) and secondary icons (icon.subtle). The primary button when pressed. |
--bh-color-graphite-11 | #42413fDark: #cdccc9 | Secondary text (text.subtle) and default icons. The primary button on hover. |
--bh-color-graphite-12 | #2b2a28Dark: #eeeeed | High-contrast text and the primary button. In light it is the brand graphite. |
--bh-color-graphite-alpha-1 | #00000000Dark: #ffffff00 | Graphite 1, translucent. |
--bh-color-graphite-alpha-2 | #0000000cDark: #ffffff09 | Graphite 2, translucent. |
--bh-color-graphite-alpha-3 | #00000018Dark: #ffffff12 | Graphite 3, translucent. |
--bh-color-graphite-alpha-4 | #00000024Dark: #ffffff1a | Graphite 4, translucent. |
--bh-color-graphite-alpha-5 | #00000031Dark: #ffffff24 | Graphite 5, translucent. |
--bh-color-graphite-alpha-6 | #00000041Dark: #ffffff31 | Graphite 6, translucent. |
--bh-color-graphite-alpha-7 | #00000054Dark: #ffffff42 | Graphite 7, translucent. |
--bh-color-graphite-alpha-8 | #0000006bDark: #ffffff59 | Graphite 8, translucent. |
--bh-color-graphite-alpha-9 | #00000085Dark: #ffffff78 | Graphite 9, translucent. |
--bh-color-graphite-alpha-10 | #000000a1Dark: #ffffff9c | Graphite 10, translucent. |
--bh-color-graphite-alpha-11 | #000000bdDark: #ffffffc6 | Graphite 11, translucent. |
--bh-color-graphite-alpha-12 | #000000d4Dark: #ffffffeb | Graphite 12, translucent. |
--bh-color-yellow-1 | #fefdf4Dark: #17130d | App background. |
--bh-color-yellow-2 | #fff9ddDark: #1d170f | Subtle background: table headers, quiet areas. |
--bh-color-yellow-3 | #fff1bdDark: #32210a | Component background at rest. |
--bh-color-yellow-4 | #ffe59cDark: #422902 | Component background on hover. |
--bh-color-yellow-5 | #ffd87cDark: #513304 | Component background when pressed or selected. |
--bh-color-yellow-6 | #ffc757Dark: #61400c | Subtle border: dividers, cards. |
--bh-color-yellow-7 | #fcb017Dark: #74501c | Border of interactive elements. |
--bh-color-yellow-8 | #d68b00Dark: #9a6613 | Strong border. |
--bh-color-yellow-9 | #a96700Dark: #bd7e1b | Solid fill. |
--bh-color-yellow-10 | #905600Dark: #db9517 | Solid fill on hover. |
--bh-color-yellow-11 | #764400Dark: #fcb017 | Low-contrast text. |
--bh-color-yellow-12 | #4a3015Dark: #f2dba4 | High-contrast text. |
--bh-color-blue-1 | #fbfdffDark: #0d1520 | App background. |
--bh-color-blue-2 | #f4faffDark: #111927 | Subtle background: table headers, quiet areas. |
--bh-color-blue-3 | #e6f4feDark: #0d2847 | Component background at rest. |
--bh-color-blue-4 | #d5efffDark: #003362 | Component background on hover. |
--bh-color-blue-5 | #c2e5ffDark: #004074 | Component background when pressed or selected. |
--bh-color-blue-6 | #acd8fcDark: #104d87 | Subtle border: dividers, cards. |
--bh-color-blue-7 | #8ec8f6Dark: #205d9e | Border of interactive elements. |
--bh-color-blue-8 | #52a1e6Dark: #1b6fc5 | Strong border. |
--bh-color-blue-9 | #0077d5Dark: #0088f1 | Solid fill. |
--bh-color-blue-10 | #0064b5Dark: #3599fa | Solid fill on hover. |
--bh-color-blue-11 | #005195Dark: #6bb3fa | Low-contrast text. |
--bh-color-blue-12 | #113264Dark: #b8dcf5 | High-contrast text. |
--bh-color-green-1 | #fbfefcDark: #0e1512 | App background. |
--bh-color-green-2 | #f4fbf6Dark: #121b17 | Subtle background: table headers, quiet areas. |
--bh-color-green-3 | #e6f6ebDark: #132d21 | Component background at rest. |
--bh-color-green-4 | #d6f1dfDark: #113b29 | Component background on hover. |
--bh-color-green-5 | #c4e8d1Dark: #174933 | Component background when pressed or selected. |
--bh-color-green-6 | #adddc0Dark: #20573e | Subtle border: dividers, cards. |
--bh-color-green-7 | #8eceaaDark: #28684a | Border of interactive elements. |
--bh-color-green-8 | #51ac7dDark: #207d54 | Strong border. |
--bh-color-green-9 | #008753Dark: #1f9962 | Solid fill. |
--bh-color-green-10 | #007246Dark: #37a971 | Solid fill on hover. |
--bh-color-green-11 | #005c3aDark: #5ec18a | Low-contrast text. |
--bh-color-green-12 | #193b2dDark: #a6e5c0 | High-contrast text. |
--bh-color-orange-1 | #fefcfbDark: #17120e | App background. |
--bh-color-orange-2 | #fff7edDark: #1e160f | Subtle background: table headers, quiet areas. |
--bh-color-orange-3 | #ffefd6Dark: #331e0b | Component background at rest. |
--bh-color-orange-4 | #ffdfb5Dark: #462100 | Component background on hover. |
--bh-color-orange-5 | #ffd19aDark: #562800 | Component background when pressed or selected. |
--bh-color-orange-6 | #ffc182Dark: #66350c | Subtle border: dividers, cards. |
--bh-color-orange-7 | #f5ae73Dark: #7e451d | Border of interactive elements. |
--bh-color-orange-8 | #df8547Dark: #ab5315 | Strong border. |
--bh-color-orange-9 | #ba4e00Dark: #db6200 | Solid fill. |
--bh-color-orange-10 | #a74500Dark: #ef7200 | Solid fill on hover. |
--bh-color-orange-11 | #8a3600Dark: #f5974e | Low-contrast text. |
--bh-color-orange-12 | #582d1dDark: #f1d2b4 | High-contrast text. |
--bh-color-red-1 | #fffcfcDark: #191110 | App background. |
--bh-color-red-2 | #fff7f6Dark: #201312 | Subtle background: table headers, quiet areas. |
--bh-color-red-3 | #feebe9Dark: #3b1310 | Component background at rest. |
--bh-color-red-4 | #ffdbd7Dark: #50100f | Component background on hover. |
--bh-color-red-5 | #ffcec8Dark: #611716 | Component background when pressed or selected. |
--bh-color-red-6 | #fdbeb7Dark: #722421 | Subtle border: dividers, cards. |
--bh-color-red-7 | #f4aaa2Dark: #8c3430 | Border of interactive elements. |
--bh-color-red-8 | #eb7a71Dark: #bc403b | Strong border. |
--bh-color-red-9 | #d83b39Dark: #ef4c48 | Solid fill. |
--bh-color-red-10 | #ba2d2dDark: #ff615a | Solid fill on hover. |
--bh-color-red-11 | #9b1e20Dark: #ff8e84 | Low-contrast text. |
--bh-color-red-12 | #641817Dark: #facdc8 | High-contrast text. |
--bh-color-text | {color.graphite.12}#2b2a28Dark: #eeeeed | Default text. |
--bh-color-text-subtle | {color.graphite.11}#42413fDark: #cdccc9 | Secondary text: descriptions, table secondary columns, navigation. |
--bh-color-text-subtlest | {color.graphite.10}#5f5e5bDark: #a8a6a3 | Tertiary 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: #6b6a67 | Text of disabled controls. Exempt from contrast (WCAG 1.4.3). |
--bh-color-text-inverse | {color.graphite.1}#fdfdfcDark: #181717 | Text on background.neutral.bold and surface.inverse. |
--bh-color-text-on-bold | {color.static.white}#ffffffDark: {color.graphite.1} → #181717 | Text on the solid status fills (background.*.bold): white in light, graphite 1 in dark. |
--bh-color-text-on-brand | {color.brand.graphite}#2b2a28 | Text on the brand yellow (7.76:1). |
--bh-color-text-danger | {color.red.11}#9b1e20Dark: #ff8e84 | Danger text. |
--bh-color-text-warning | {color.orange.11}#8a3600Dark: #f5974e | Warning text. |
--bh-color-text-success | {color.green.11}#005c3aDark: #5ec18a | Success text. |
--bh-color-text-info | {color.blue.11}#005195Dark: #6bb3fa | Info text. |
--bh-color-icon | {color.graphite.11}#42413fDark: #cdccc9 | Default icon colour. |
--bh-color-icon-subtle | {color.graphite.10}#5f5e5bDark: #a8a6a3 | Secondary icons, next to text.subtle or text.subtlest. |
--bh-color-icon-disabled | {color.graphite.8}#949390Dark: #6b6a67 | Icons of disabled controls. |
--bh-color-icon-inverse | {color.graphite.1}#fdfdfcDark: #181717 | Icons on background.neutral.bold and surface.inverse. |
--bh-color-icon-on-bold | {color.static.white}#ffffffDark: {color.graphite.1} → #181717 | Icons on the solid status fills. |
--bh-color-icon-danger | {color.red.11}#9b1e20Dark: #ff8e84 | Danger icon. |
--bh-color-icon-warning | {color.orange.11}#8a3600Dark: #f5974e | Warning icon. |
--bh-color-icon-success | {color.green.11}#005c3aDark: #5ec18a | Success icon. |
--bh-color-icon-info | {color.blue.11}#005195Dark: #6bb3fa | Info icon. |
--bh-color-link | {color.blue.11}#005195Dark: #6bb3fa | Link text. |
--bh-color-link-hover | {color.blue.12}#113264Dark: #b8dcf5 | Link on hover. |
--bh-color-background-primary | {color.background.neutral.bold}#2b2a28Dark: #eeeeed | The 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: #cdccc9 | The main action on hover. |
--bh-color-background-primary-pressed | {color.background.neutral.bold.pressed}#5f5e5bDark: #a8a6a3 | The main action when pressed. |
--bh-color-background-neutral | {color.graphite.2}#f1f1f0Dark: {color.graphite.3} → #282827 | Neutral fill at rest: default buttons, tags, inputs on a subtle surface. |
--bh-color-background-neutral-hover | {color.graphite.3}#e5e5e4Dark: {color.graphite.4} → #31302f | Neutral fill on hover. |
--bh-color-background-neutral-pressed | {color.graphite.4}#d9d9d8Dark: {color.graphite.5} → #393937 | Neutral fill when pressed. |
--bh-color-background-neutral-subtle | transparent | Transparent at rest: table rows, menu items, ghost buttons. |
--bh-color-background-neutral-subtle-hover | {color.graphite-alpha.2}#0000000cDark: {color.graphite-alpha.2} → #ffffff09 | Row, menu item or ghost button on hover. Translucent, so it shows on any surface (a white card, a grey panel). Lighter than selected, so a hovered row never looks selected. |
--bh-color-background-neutral-subtle-pressed | {color.graphite-alpha.3}#00000018Dark: {color.graphite-alpha.3} → #ffffff12 | Row, menu item or ghost button when pressed. Translucent, like the hover. |
--bh-color-background-neutral-bold | {color.graphite.12}#2b2a28Dark: #eeeeed | Primary button. Graphite in light; turns light in dark, so it stays the strongest element. |
--bh-color-background-neutral-bold-hover | {color.graphite.11}#42413fDark: #cdccc9 | Primary 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: #a8a6a3 | Primary button when pressed: two steps back from graphite 12. |
--bh-color-background-neutral-transparent-hover | {color.graphite-alpha.3}#00000018Dark: {color.graphite-alpha.3} → #ffffff12 | A control with no fill at rest (Subtle and Default buttons) on hover. One step stronger than color.background.neutral.subtle.hover, which rows and menu items use so a hovered row never looks like a selected one. Translucent, so it shows on any surface. |
--bh-color-background-neutral-transparent-pressed | {color.graphite-alpha.4}#00000024Dark: {color.graphite-alpha.4} → #ffffff1a | A control with no fill at rest while pressed. Translucent. |
--bh-color-background-selected | {color.graphite.3}#e5e5e4Dark: {color.graphite.4} → #31302f | Selected 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} → #393937 | Selected row or item on hover. |
--bh-color-background-disabled | {color.graphite.2}#f1f1f0Dark: {color.graphite.3} → #282827 | Background of disabled controls. |
--bh-color-background-brand-subtle | {color.yellow.2}#fff9ddDark: #1d170f | Brand surfaces and notes. |
--bh-color-background-brand-bold | {color.brand.yellow}#fcb017 | Brand yellow fill. Graphite text on top (text.on-brand). No yellow buttons. |
--bh-color-background-danger-subtle | {color.red.3}#feebe9Dark: #3b1310 | Danger panel or label background. |
--bh-color-background-danger-subtle-hover | {color.red.4}#ffdbd7Dark: #50100f | Danger subtle background on hover. |
--bh-color-background-danger-subtle-pressed | {color.red.5}#ffcec8Dark: #611716 | Danger subtle background when pressed. |
--bh-color-background-danger | {color.red.5}#ffcec8Dark: #611716 | Danger background, stronger than subtle. |
--bh-color-background-danger-bold | {color.red.9}#d83b39Dark: #ef4c48 | Solid 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: #ff615a | Solid danger fill on hover. |
--bh-color-background-danger-bold-pressed | {color.red.11}#9b1e20Dark: #ff8e84 | Solid danger fill when pressed. |
--bh-color-background-warning-subtle | {color.orange.3}#ffefd6Dark: #331e0b | Warning panel or label background. |
--bh-color-background-warning-subtle-hover | {color.orange.4}#ffdfb5Dark: #462100 | Warning subtle background on hover. |
--bh-color-background-warning-subtle-pressed | {color.orange.5}#ffd19aDark: #562800 | Warning subtle background when pressed. |
--bh-color-background-warning | {color.orange.5}#ffd19aDark: #562800 | Warning background, stronger than subtle. |
--bh-color-background-warning-bold | {color.orange.9}#ba4e00Dark: #db6200 | Solid 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: #ef7200 | Solid warning fill on hover. |
--bh-color-background-warning-bold-pressed | {color.orange.11}#8a3600Dark: #f5974e | Solid warning fill when pressed. |
--bh-color-background-success-subtle | {color.green.3}#e6f6ebDark: #132d21 | Success panel or label background. |
--bh-color-background-success-subtle-hover | {color.green.4}#d6f1dfDark: #113b29 | Success subtle background on hover. |
--bh-color-background-success-subtle-pressed | {color.green.5}#c4e8d1Dark: #174933 | Success subtle background when pressed. |
--bh-color-background-success | {color.green.5}#c4e8d1Dark: #174933 | Success background, stronger than subtle. |
--bh-color-background-success-bold | {color.green.9}#008753Dark: #1f9962 | Solid 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: #37a971 | Solid success fill on hover. |
--bh-color-background-success-bold-pressed | {color.green.11}#005c3aDark: #5ec18a | Solid success fill when pressed. |
--bh-color-background-info-subtle | {color.blue.3}#e6f4feDark: #0d2847 | Info panel or label background. |
--bh-color-background-info-subtle-hover | {color.blue.4}#d5efffDark: #003362 | Info subtle background on hover. |
--bh-color-background-info-subtle-pressed | {color.blue.5}#c2e5ffDark: #004074 | Info subtle background when pressed. |
--bh-color-background-info | {color.blue.5}#c2e5ffDark: #004074 | Info background, stronger than subtle. |
--bh-color-background-info-bold | {color.blue.9}#0077d5Dark: #0088f1 | Solid 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: #3599fa | Solid info fill on hover. |
--bh-color-background-info-bold-pressed | {color.blue.11}#005195Dark: #6bb3fa | Solid info fill when pressed. |
--bh-color-surface | {color.brand.white}#ffffffDark: {color.graphite.2} → #201f1f | Cards and panels. One step lighter than the page in dark. |
--bh-color-surface-page | {color.brand.white}#ffffffDark: {color.graphite.1} → #181717 | Page background. The app header and side navigation sit on it too, separated by a border line. |
--bh-color-surface-subtle | {color.graphite.2}#f1f1f0Dark: #201f1f | Table headers and quiet areas. |
--bh-color-surface-overlay | {color.brand.white}#ffffffDark: {color.graphite.3} → #282827 | Menus, 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} → #31302f | Menu item or option on hover, inside color.surface.overlay. |
--bh-color-surface-overlay-pressed | {color.graphite.3}#e5e5e4Dark: {color.graphite.5} → #393937 | Menu item or option when pressed, inside color.surface.overlay. |
--bh-color-surface-overlay-selected | {color.graphite.3}#e5e5e4Dark: {color.graphite.5} → #393937 | Selected 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} → #393937 | 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. |
--bh-color-surface-inverse | {color.graphite.12}#2b2a28Dark: #eeeeed | Inverse surface: tooltips. Text on top: text.inverse. |
--bh-color-surface-scrim | rgb(43 42 40 / 40%)Dark: rgb(0 0 0 / 60%) | Behind dialogs and drawers. |
--bh-color-border | {color.graphite.6}#bdbcbbDark: #454443 | Default border: dividers, cards, tables. |
--bh-color-border-bold | {color.graphite.9}#7b7976Dark: #878682 | Edges 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: #555452 | Border 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: #454443 | Border of disabled controls. |
--bh-color-border-focus | {color.blue.11}#005195Dark: #6bb3fa | Focus ring: 2 px, 2 px away from the control. 3:1 on every surface and selected row. Text fields: their 1 px border turns this colour and a 2 px inset ring of the same colour sits inside it, a 3 px solid edge with no halo. |
--bh-color-border-selected | {color.yellow.9}#a96700Dark: {color.brand.yellow} → #fcb017 | Indicator bar of the current page or tab. Yellow 9 in light, so the bar reaches 3:1 on the page and on background.selected; brand yellow in dark. Always with a second cue. |
--bh-color-border-brand | {color.brand.yellow}#fcb017 | Brand outline, such as the early-access label. |
--bh-color-border-brand-subtle | {color.yellow.6}#ffc757Dark: #61400c | Border of brand surfaces and notes. |
--bh-color-border-danger | {color.red.9}#d83b39Dark: {color.red.10} → #ff615a | Danger outline: labels. Step 9 in light; step 10 in dark. |
--bh-color-border-danger-subtle | {color.red.7}#f4aaa2Dark: #8c3430 | Border of danger panels. |
--bh-color-border-warning | {color.orange.9}#ba4e00Dark: {color.orange.10} → #ef7200 | Warning outline: labels. Step 9 in light; step 10 in dark. |
--bh-color-border-warning-subtle | {color.orange.7}#f5ae73Dark: #7e451d | Border of warning panels. |
--bh-color-border-success | {color.green.9}#008753Dark: {color.green.10} → #37a971 | Success outline: labels. Step 9 in light; step 10 in dark. |
--bh-color-border-success-subtle | {color.green.7}#8eceaaDark: #28684a | Border of success panels. |
--bh-color-border-info | {color.blue.9}#0077d5Dark: {color.blue.10} → #3599fa | Info outline: labels. Step 9 in light; step 10 in dark. |
--bh-color-border-info-subtle | {color.blue.7}#8ec8f6Dark: #205d9e | Border of info panels. |
--bh-color-skeleton | {color.graphite.4}#d9d9d8Dark: #31302f | Loading placeholder. |
--bh-color-skeleton-subtle | {color.graphite.3}#e5e5e4Dark: #282827 | Moving sheen on a loading placeholder. |
--bh-color-code-background | {color.brand.graphite}#2b2a28Dark: {color.graphite.1} → #181717 | Code block background. |
--bh-color-code-text | {color.graphite.2}#f1f1f0Dark: {color.graphite.12} → #eeeeed | Code block text. |
Typography
| Token | Value | Description |
|---|---|---|
--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-sans | Inter, "Noto Sans", system-ui, sans-serif | All 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, monospace | Code, IDs, keys and token names. |
--bh-font-size-100 | 0.75rem | 12 px. Small body, small labels, captions. |
--bh-font-size-200 | 0.875rem | 14 px. Default UI text, labels, code, smallest heading. |
--bh-font-size-300 | 1rem | 16 px. Reading text, card titles. |
--bh-font-size-400 | 1.25rem | 20 px. Section headings. |
--bh-font-size-500 | 1.5rem | 24 px. Page titles. |
--bh-font-size-600 | 2rem | 32 px. Large titles. |
--bh-font-size-700 | 3rem | 48 px. Display, marketing only. |
--bh-font-size-800 | 3.75rem | 60 px. Display, marketing only. |
--bh-font-size-900 | 4.5rem | 72 px. Display, marketing only. |
--bh-font-weight-regular | 400 | Body text. |
--bh-font-weight-medium | 500 | Labels: buttons, form labels, tabs, menu items. |
--bh-font-weight-semibold | 600 | Headings. |
--bh-font-weight-bold | 700 | Display 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-serif | 72/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-serif | 60/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-serif | 48/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-serif | 32/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-serif | 24/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-serif | 20/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-serif | 16/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-serif | 14/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-serif | 16/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-serif | 14/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-serif | 12/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-serif | 14/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-serif | 12/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, monospace | 14/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
| Token | Value | Description |
|---|---|---|
--bh-space-0 | 0 | 0. Joined items, such as the buttons of a segmented group. |
--bh-space-025 | 0.125rem | 2 px. A badge on an icon, a status dot beside text. Never between controls or as padding. |
--bh-space-050 | 0.25rem | 4 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-075 | 0.375rem | 6 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-100 | 0.5rem | 8 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-150 | 0.75rem | 12 px. Side padding of 32 px controls, such as text fields and buttons, and of table cells. |
--bh-space-200 | 1rem | 16 px. Between related items: fields, list items, cards. Page margin and grid gutter below 768 px. |
--bh-space-250 | 1.25rem | 20 px. Between a section heading and its content. The edge of the logo and the side navigation icons. |
--bh-space-300 | 1.5rem | 24 px. Inside cards, panels and dialogs. Between tabs. Page margin and grid gutter from 768 px. |
--bh-space-400 | 2rem | 32 px. Between groups, such as form sections. Page margin from 1440 px. |
--bh-space-500 | 2.5rem | 40 px. Around empty states. |
--bh-space-600 | 3rem | 48 px. Between page sections. |
--bh-space-800 | 4rem | 64 px. Between the major sections of a long page. The width of the collapsed side navigation. |
--bh-space-1000 | 5rem | 80 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.
| Token | Value | Description |
|---|---|---|
--bh-space-control-x | {space.150}0.75rem | Side padding of 32 px controls: buttons, text fields, selects. |
--bh-space-control-x-small | {space.100}0.5rem | Side padding of 24 px controls. |
--bh-space-control-x-large | {space.200}1rem | Side padding of 40 px controls on sign-in and onboarding pages. |
--bh-space-control-gap | {space.050}0.25rem | Between the icon and the label inside a control. |
--bh-space-item-x | {space.150}0.75rem | Side padding of items in menus, lists and side navigation. |
--bh-space-overlay | {space.050}0.25rem | Inside 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.25rem | Between a menu, popover or tooltip and the element that opened it. |
--bh-space-overlay-content | {space.200}1rem | 16 px. Inside popovers and hover cards that hold content rather than a list. Lists keep space.overlay. |
--bh-space-card | {space.300}1.5rem | Inside cards and panels. |
--bh-space-modal | {space.300}1.5rem | Inside dialogs and drawers. |
--bh-space-modal-gap | {space.200}1rem | Between the title, body and actions of a dialog or drawer. |
--bh-space-table-cell-x | {space.150}0.75rem | Side padding of table cells. |
--bh-space-table-cell-y | {space.100}0.5rem | Top and bottom padding of table cells. |
--bh-space-stack | {space.200}1rem | Between related items in a column: form fields, list items, cards. |
--bh-space-stack-group | {space.400}2rem | Between groups in a column, such as form sections. |
Size
| Token | Value | Description |
|---|---|---|
--bh-size-control-small | 1.5rem | 24 px. Height of small controls: dense tables and their toolbars, filters, tags. Side padding space.100. |
--bh-size-control-default | 2rem | 32 px. Height of buttons, text fields, selects, segmented controls and tabs everywhere else: forms, the header, toolbars. Side padding space.150. |
--bh-size-control-large | 2.5rem | 40 px. Height of controls on sign-in and onboarding pages. Optional for the main action on touch screens. |
--bh-size-target-minimum | 1.5rem | 24 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-touch | 2.75rem | 44 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-default | 1rem | 16 px. Default icon size: buttons, menus, tables, form fields, next to 14 px text. |
--bh-size-icon-medium | 1.25rem | 20 px. Icons next to 16 px text, in toolbars and in the page header. |
--bh-size-icon-large | 1.5rem | 24 px. An icon on its own, such as a status in a card or a small empty state. |
--bh-size-icon-empty | 2rem | 32 px. Empty states only. |
--bh-size-tooltip-max-width | 15rem | 240 px. Widest a tooltip grows before its text wraps. Atlassian and Fluent use 240 px, Ant and Primer 250 px; the range across 7 systems is 200 to 300 px. |
--bh-size-track-default | {space.050}0.25rem | 4 px. Thickness of a thin track or grab bar: progress, slider track, drawer handle. Pair with radius.full. |
--bh-size-overlay-min-width | 8rem | 128 px. Narrowest a menu or a select, combobox or command list gets; it grows to its trigger or its widest item. |
--bh-size-overlay-width | 18rem | 288 px. Width of a popover or hover card that holds content. |
--bh-size-overlay-max-height | 18rem | 288 px. Tallest a combobox or command list grows before it scrolls: about eight 32 px items. |
--bh-size-dialog-default | 32rem | 512 px. Widest a dialog grows, on screens wider than that plus the page margins. |
--bh-size-dialog-small | 24rem | 384 px. Widest an alert dialog or a side drawer of a few controls grows. |
--bh-size-dialog-xsmall | 20rem | 320 px. A small alert dialog (one short question), and the narrowest phone width an alert dialog keeps. |
Radius
| Token | Value | Description |
|---|---|---|
--bh-radius-0 | 0 | 0. Edges that touch the screen: the page header, full-width tables and panels that run to the edge. |
--bh-radius-025 | 0.125rem | 2 px. Small details: badges, checkboxes and keyboard shortcuts. |
--bh-radius-050 | 0.25rem | 4 px. Supporting elements: tags, status labels, tooltips, dates and timestamps, compact buttons, and items inside a menu. |
--bh-radius-075 | 0.375rem | 6 px. Interactive elements: buttons, inputs, text areas, selects and side navigation items. |
--bh-radius-100 | 0.5rem | 8 px. Containment: cards, alerts and banners, in-page containers, and floating UI such as menus, popovers and toasts. |
--bh-radius-150 | 0.75rem | 12 px. Large page elements: dialogs, drawers, full-page containers and tables in their own frame. |
--bh-radius-200 | 1rem | 16 px. Large media: video and image preview containers. No component takes it by default. |
--bh-radius-full | 999px | Pill 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.
| Token | Value | Description |
|---|---|---|
--bh-radius-control | {radius.075}0.375rem | Buttons, text fields, selects and side navigation items. |
--bh-radius-control-small | {radius.050}0.25rem | 24 px controls: compact buttons and their fields. |
--bh-radius-item | {radius.050}0.25rem | Items inside menus and lists. Nests inside radius.overlay with space.overlay. |
--bh-radius-card | {radius.100}0.5rem | Cards, alerts, banners and in-page containers. |
--bh-radius-overlay | {radius.100}0.5rem | Floating UI: menus, popovers, select lists and toasts. |
--bh-radius-modal | {radius.150}0.75rem | Dialogs, drawers and full-page containers. |
--bh-radius-pill | {radius.full}999px | Avatars, switches and chips. |
Border
| Token | Value | Description |
|---|---|---|
--bh-border-width-default | 1px | 1 px. Inputs, secondary buttons, cards, tables and dividers. |
--bh-border-width-selected | 2px | 2 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-focused | 2px | 2 px. The focus ring. Pair with color.border.focus and state.focus.offset. |
--bh-border-width-accent | 4px | 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. |
Opacity
| Token | Value | Description |
|---|---|---|
--bh-opacity-disabled | 0.4 | Images, logos, avatars and illustrations inside something that is turned off. Never for buttons, inputs, text or icons: they use the disabled colour tokens. |
Elevation
| Token | Value | Description |
|---|---|---|
--bh-elevation-shadow-raised | 0 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-overlay | 0 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-modal | 0 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
| Token | Value | Description |
|---|---|---|
--bh-z-index-sticky | 100 | Sticky table headers and toolbars inside the page. |
--bh-z-index-navigation | 200 | App header and side navigation. |
--bh-z-index-overlay | 300 | Dropdowns, menus, popovers and select lists. |
--bh-z-index-modal | 400 | Dialogs, drawers and their scrim. |
--bh-z-index-spotlight | 500 | Product tour and onboarding spotlight, above a dialog. |
--bh-z-index-tooltip | 600 | Tooltips, above everything you can interact with. |
--bh-z-index-toast | 700 | Toasts and the skip link: always on top. |
Motion
| Token | Value | Description |
|---|---|---|
--bh-motion-duration-instant | 0ms | 0 ms. Changes that happen at once. Every duration becomes this when reduced motion is on. |
--bh-motion-duration-fast | 100ms | 100 ms. Hover, press and colour changes; closing tooltips, menus and toasts; dropping a dragged item. |
--bh-motion-duration-default | 200ms | 200 ms. Opening tooltips, menus, popovers and toasts; tab indicator, switch knob, accordion, side navigation; closing dialogs and drawers. |
--bh-motion-duration-slow | 300ms | 300 ms. Opening dialogs and drawers; closing full-screen sheets. |
--bh-motion-duration-slower | 400ms | 400 ms. Opening full-screen sheets and other large surfaces. |
--bh-motion-duration-slowest | 600ms | 600 ms. Rare emphasized moments people see once, such as finishing onboarding. Never for everyday controls. |
--bh-motion-wait-tooltip-show | 300ms | 300 ms. A tooltip shows after the pointer rests this long; at once on keyboard focus, and at once for the next tooltip. A waiting time, not a duration: it stays the same under reduced motion. |
--bh-motion-wait-tooltip-hide | 100ms | 100 ms. A tooltip hides this long after the pointer leaves. Stays the same under reduced motion. |
--bh-motion-wait-spinner | 1000ms | 1000 ms. Show a spinner only when a wait passes this long, so quick loads do not flash; under 1 second people stay in flow without a progress sign. Stays the same under reduced motion. |
--bh-motion-wait-toast | 5000ms | 5 s. A toast closes after this long. The timer pauses while the pointer or focus is on it. |
--bh-motion-wait-toast-action | 10000ms | 10 s. A toast with an action closes after this long. The timer pauses while the pointer or focus is on it. |
--bh-motion-loop-spinner | 1000ms | 1 s. One full turn of a loading spinner, at constant speed. Reduced motion does not change it: the spinner keeps turning at this speed, because it is the only sign that work is running. |
--bh-motion-easing-standard | cubic-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-enter | cubic-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-exit | cubic-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-linear | cubic-bezier(0, 0, 1, 1) | Even speed. Fades of opacity or colour, progress bars and spinners. |
--bh-motion-easing-emphasized | cubic-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-enter | 0.5rem | 8 px. How far a menu, popover or toast slides as it comes in. |
--bh-motion-keyframe-offset-exit | 0.25rem | 4 px. How far it slides as it leaves. |
--bh-motion-keyframe-scale | 0.95 | Scale a dialog grows from as it opens, and shrinks to as it closes. |
--bh-motion-keyframe-slide | 100% | 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.
| Token | Value | Description |
|---|---|---|
--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
| Token | Value | Description |
|---|---|---|
--bh-breakpoint-xs | 0px | Phones 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-md | 768px | Tablets and narrow windows. 8 columns, gutter and margin 24 px. Side navigation still in a drawer. |
--bh-breakpoint-lg | 1024px | Laptops 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-xl | 1440px | Desktops, including 1536 and 1920 px screens. Page margin 32 px. |
Layout
| Token | Value | Description |
|---|---|---|
--bh-layout-header-height | {space.600}3rem | 48px app header content height; the bottom border is separate. Global controls only; breadcrumbs and page actions belong to the page header. |
--bh-layout-sidebar-expanded | 17.5rem | 280px expanded app navigation; below breakpoint.lg it appears in a drawer, not a permanent sider. |
--bh-layout-sidebar-collapsed | {space.800}4rem | 64px navigation rail after an explicit user collapse. Preserve accessible labels and tooltips. |
--bh-layout-page-narrow | 48rem | 768px maximum content width for forms, wizard steps, help and documentation; page margins are outside this cap. |
--bh-layout-page-wide | 80rem | 1280px 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}1rem | 16px page margin below breakpoint.md. |
--bh-layout-page-margin-medium | {space.300}1.5rem | 24px page margin from breakpoint.md to below breakpoint.xl. |
--bh-layout-page-margin-large | {space.400}2rem | 32px page margin from breakpoint.xl. |
--bh-layout-grid-columns-small | 4 | 4 columns below breakpoint.md. Gutter and page margin space.200. |
--bh-layout-grid-columns-medium | 8 | 8 columns from breakpoint.md. Gutter and page margin space.300. |
--bh-layout-grid-columns-large | 12 | 12 columns from breakpoint.lg. Gutter space.300; page margin space.400 from breakpoint.xl. |
--bh-layout-panel-columns-default | 4 | A 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-large | 3 | A side panel takes 3 of 12 columns from breakpoint.xl. |
--bh-layout-overlay-default | max(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-wide | 70vw | Explicit wide data-inspection variant when its content needs it, from breakpoint.lg. Never a blanket override of all drawers. |
--bh-layout-overlay-mobile | 100vw | Full available viewport width for data-inspection overlays below breakpoint.lg; content and actions must reflow. |
--bh-layout-description-minimum | 12.5rem | 200px 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.
| Token | Value | Description |
|---|---|---|
--bh-layout-renderer-minimum-inline-size | 21.875rem | 350 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-size | 21.875rem | 350 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
| Token | Value | Description |
|---|---|---|
--bh-state-focus-offset | 2px | 2 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
| Token | Value | Description |
|---|---|---|
--bh-switch-size-track-height | 1.25rem | 20 px. Height of the switch track. |
--bh-switch-size-track-width | 2.25rem | 36 px. Width of the switch track. |
--bh-switch-size-thumb | 1rem | 16 px. Diameter of the switch knob. |
--bh-switch-focus-ring | {color.border.focus}#005195Dark: #6bb3fa | Keyboard-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: #282827 | OFF track, normal. Neutral boolean-state fill, never business-success green. |
--bh-switch-off-track-hover | {color.background.neutral.hover}#e5e5e4Dark: #31302f | OFF track, hover. Neutral boolean-state fill, never business-success green. |
--bh-switch-off-track-pressed | {color.background.neutral.pressed}#d9d9d8Dark: #393937 | OFF track, pressed. Neutral boolean-state fill, never business-success green. |
--bh-switch-off-track-focus | {switch.off.track}#f1f1f0Dark: #282827 | OFF 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: #282827 | OFF 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: #282827 | OFF track, disabled. Opaque disabled role; checked position and visible labels remain. No opacity dimming. |
--bh-switch-off-thumb | {color.icon}#42413fDark: #cdccc9 | OFF thumb, normal. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground. |
--bh-switch-off-thumb-hover | {color.icon}#42413fDark: #cdccc9 | OFF thumb, hover. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground. |
--bh-switch-off-thumb-pressed | {color.icon}#42413fDark: #cdccc9 | OFF 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: #cdccc9 | OFF 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: #cdccc9 | OFF 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: #6b6a67 | OFF thumb, disabled. Opaque disabled role; checked position and visible labels remain. No opacity dimming. |
--bh-switch-off-label | {color.text}#2b2a28Dark: #eeeeed | OFF label, normal. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground. |
--bh-switch-off-label-hover | {color.text}#2b2a28Dark: #eeeeed | OFF label, hover. Paired foreground against this checked-state track; never reuse the opposite checked-state foreground. |
--bh-switch-off-label-pressed | {color.text}#2b2a28Dark: #eeeeed | OFF 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: #eeeeed | OFF 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: #eeeeed | OFF 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: #6b6a67 | OFF label, disabled. Opaque disabled role; checked position and visible labels remain. No opacity dimming. |
--bh-switch-off-border | {color.border.bold}#7b7976Dark: #878682 | OFF border, normal. Meaningful boundary without changing native geometry. |
--bh-switch-off-border-hover | {color.border.bold}#7b7976Dark: #878682 | OFF border, hover. Meaningful boundary without changing native geometry. |
--bh-switch-off-border-pressed | {color.graphite.10}#5f5e5bDark: #a8a6a3 | OFF 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: #878682 | OFF 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: #878682 | OFF 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: #454443 | OFF border, disabled. Opaque disabled role; checked position and visible labels remain. No opacity dimming. |
--bh-switch-off-loading-icon | {color.icon.inverse}#fdfdfcDark: #181717 | Spinner 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: #eeeeed | ON track, normal. Neutral boolean-state fill, never business-success green. |
--bh-switch-on-track-hover | {color.background.neutral.bold.hover}#42413fDark: #cdccc9 | ON track, hover. Neutral boolean-state fill, never business-success green. |
--bh-switch-on-track-pressed | {color.background.neutral.bold.pressed}#5f5e5bDark: #a8a6a3 | ON track, pressed. Neutral boolean-state fill, never business-success green. |
--bh-switch-on-track-focus | {switch.on.track}#2b2a28Dark: #eeeeed | ON 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: #eeeeed | ON 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: #282827 | ON track, disabled. Opaque disabled role; checked position and visible labels remain. No opacity dimming. |
--bh-switch-on-thumb | {color.icon.inverse}#fdfdfcDark: #181717 | ON 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: #181717 | ON 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: #181717 | ON 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: #181717 | ON 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: #181717 | ON 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: #6b6a67 | ON thumb, disabled. Opaque disabled role; checked position and visible labels remain. No opacity dimming. |
--bh-switch-on-label | {color.text.inverse}#fdfdfcDark: #181717 | ON 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: #181717 | ON 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: #181717 | ON 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: #181717 | ON 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: #181717 | ON 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: #6b6a67 | ON label, disabled. Opaque disabled role; checked position and visible labels remain. No opacity dimming. |
--bh-switch-on-border | {color.background.neutral.bold}#2b2a28Dark: #eeeeed | ON border, normal. Meaningful boundary without changing native geometry. |
--bh-switch-on-border-hover | {color.background.neutral.bold.hover}#42413fDark: #cdccc9 | ON border, hover. Meaningful boundary without changing native geometry. |
--bh-switch-on-border-pressed | {color.background.neutral.bold.pressed}#5f5e5bDark: #a8a6a3 | ON border, pressed. Meaningful boundary without changing native geometry. |
--bh-switch-on-border-focus | {switch.on.border}#2b2a28Dark: #eeeeed | ON 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: #eeeeed | ON 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: #454443 | ON border, disabled. Opaque disabled role; checked position and visible labels remain. No opacity dimming. |
--bh-switch-on-loading-icon | {color.icon}#42413fDark: #cdccc9 | Spinner foreground inside the ON thumb, paired with switch.on.thumb.loading. Keep the native spinning indicator and blocked callback behavior. |
Avatar
| Token | Value | Description |
|---|---|---|
--bh-avatar-size-default | {size.control.default}2rem | 32 px. Avatar everywhere except dense tables and lists; the same height as a default control. |
--bh-avatar-size-small | {size.control.small}1.5rem | 24 px. Avatar in dense tables and lists; the same height as a small control. |
--bh-avatar-size-large | {size.control.large}2.5rem | 40 px. Avatar in a page or profile header; the same height as a large control. |
--bh-avatar-badge-size | {space.100}0.5rem | 8 px. Status dot on an avatar. |
Label
| Token | Value | Description |
|---|---|---|
--bh-label-height-default | 1.25rem | 20 px. Height of a status label in table rows and lists. |
--bh-label-height-large | {size.control.small}1.5rem | 24 px. Height of a large status label. |
--bh-label-height-state | {size.control.default}2rem | 32 px. Height of the state label: one per page, the status the page is about. |
--bh-label-padding-default | {space.075}0.375rem | 6 px. Side padding of a status label. |
--bh-label-padding-large | {space.100}0.5rem | 8 px. Side padding of a large status label. |
--bh-label-padding-state | {space.150}0.75rem | 12 px. Side padding of the state label. |
Tag
| Token | Value | Description |
|---|---|---|
--bh-tag-height | {size.control.small}1.5rem | 24 px. Height of a tag. |
--bh-tag-padding | {space.100}0.5rem | 8 px. Side padding of a tag. |
Chip
| Token | Value | Description |
|---|---|---|
--bh-chip-height-small | {size.control.small}1.5rem | 24 px. Chip in dense toolbars. |
--bh-chip-height-default | {size.control.default}2rem | 32 px. Chip everywhere else. |
Scrollbar
| Token | Value | Description |
|---|---|---|
--bh-scrollbar-width | {space.100}0.5rem | Shared 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: #454443 | Track 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: #a8a6a3 | Foreground 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: #eeeeed | Hovered 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: #eeeeed | Dragged/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: #454443 | Junction 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}999px | Fully 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
| Token | Value | Description |
|---|---|---|
--bh-resize-divider | {border.width.accent}4px | Visible divider thickness; do not use as the sole pointer hit area. |
--bh-resize-target | {size.target.minimum}1.5rem | Minimum pointer/keyboard target around a resize divider. |
--bh-resize-touchTarget | {size.target.touch}2.75rem | Touch target around a resize divider. |
--bh-resize-handle-width | {space.200}1rem | Visible handle width. |
--bh-resize-handle-height | {space.400}2rem | Visible handle height. |
--bh-resize-handle-radius | {radius.050}0.25rem | Visible handle corner radius. |
--bh-resize-handle-background | {color.surface}#ffffffDark: #201f1f | Handle surface paired with resize.grip. |
--bh-resize-handle-activeBackground | {color.background.neutral.bold}#2b2a28Dark: #eeeeed | Hovered or dragged handle surface paired with resize.activeGrip. |
--bh-resize-dot-size | {space.025}0.125rem | Diameter of each of the exactly three circular grip dots. |
--bh-resize-dot-pitch | {space.100}0.5rem | Equal center-to-center spacing of three dots, symmetric about the handle center in either orientation. |
--bh-resize-color | {color.border.bold}#7b7976Dark: #878682 | Resize divider and grip at rest. |
--bh-resize-active | {color.border.focus}#005195Dark: #6bb3fa | Hovered, keyboard-focused or dragged resize divider. |
--bh-resize-grip | {color.icon}#42413fDark: #cdccc9 | Grip mark on surface. |
--bh-resize-activeGrip | {color.text.inverse}#fdfdfcDark: #181717 | Grip marks on the active neutral bold handle surface. |
Application content
| Token | Value | Description |
|---|---|---|
--bh-content-partner-logo-size | {space.500}2.5rem | Non-image partner-group placeholder extent, not a brand-image width or fixed-square Avatar recipe. |
--bh-content-partner-logo-image-size | {space.300}1.5rem | 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. |
--bh-content-avatar-size | {size.control.default}2rem | Default person or permission-member identity avatar; a visual identity, not a hit target. |
--bh-content-identity-mark-size | {size.target.touch}2.75rem | System/provider identity container when shown beside content labels. |
--bh-content-identity-mark-image-size | {space.300}1.5rem | Contained system/provider identity glyph within the identity-mark container. |
--bh-content-empty-illustration-size | 6rem | Empty-state illustration container. Standard icons inside retain their own source icon sizes. |
--bh-content-tooltip-metric-max-inline-size | 28rem | Maximum readable width for an opt-in native date/metric Tooltip. The actual popup also stays within the viewport with space.200 on either side; not a global Tooltip width or a minimum. |
--bh-content-step-progress-segment-width | {space.200}1rem | 16px 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.25rem | 4px thickness of each horizontal step-progress mark; scales with the reader's root. |
--bh-content-step-progress-gap | {space.050}0.25rem | Space between adjacent read-only step-progress marks; no trailing native item margin. |
Code editor
| Token | Value | Description |
|---|---|---|
--bh-editor-background | {color.surface}#ffffffDark: #201f1f | Editor code canvas; pair with editor.text and syntax roles. |
--bh-editor-text | {color.text}#2b2a28Dark: #eeeeed | Editor default code foreground. |
--bh-editor-gutter | {color.surface.subtle}#f1f1f0Dark: #201f1f | Line-number gutter surface. |
--bh-editor-lineNumber | {color.text.subtlest}#5f5e5bDark: #a8a6a3 | Line numbers on the gutter. |
--bh-editor-selection | {color.background.selected}#e5e5e4Dark: #31302f | Selected code range, with native selection/caret cues. |
--bh-editor-lineHighlight | {color.surface.subtle}#f1f1f0Dark: #201f1f | Current editor line; caret and gutter provide additional cues. |
--bh-editor-cursor | {color.text}#2b2a28Dark: #eeeeed | Insertion caret. |
--bh-editor-border | {color.border}#bdbcbbDark: #454443 | Editor frame. |
--bh-editor-syntax-comment | {color.text.subtlest}#5f5e5bDark: #a8a6a3 | Comments: neutral, readable, no dimming. |
--bh-editor-syntax-string | {color.text.success}#005c3aDark: #5ec18a | String literals, not success state indicators. |
--bh-editor-syntax-number | {color.text.warning}#8a3600Dark: #f5974e | Numeric literals, not warning state indicators. |
--bh-editor-syntax-keyword | {color.text.info}#005195Dark: #6bb3fa | Language keywords, not info state indicators. |
--bh-editor-syntax-type | {color.text}#2b2a28Dark: #eeeeed | Types and identifiers. |
--bh-editor-syntax-delimiter | {color.text.subtle}#42413fDark: #cdccc9 | Punctuation and delimiters. |
--bh-editor-diff-inserted-background | {color.background.success.subtle}#e6f6ebDark: #132d21 | Inserted diff text and lines; show + gutter marker. |
--bh-editor-diff-inserted-text | {color.text.success}#005c3aDark: #5ec18a | Inserted diff annotation; + or inserted label required. |
--bh-editor-diff-removed-background | {color.background.danger.subtle}#feebe9Dark: #3b1310 | Removed diff text and lines; show − gutter marker. |
--bh-editor-diff-removed-text | {color.text.danger}#9b1e20Dark: #ff8e84 | Removed diff annotation; − or removed label required. |
--bh-editor-font-family | {font.family.mono}"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace | Editor numeric API family from code.default. |
--bh-editor-font-size | {font.size.200}0.875rem | Editor numeric API size from code.default: 14px nominal. |
--bh-editor-font-lineHeight | 1.25remVietnamese (lang="vi"): 1.5rem | Editor numeric API line height: 20px nominal; Vietnamese 24px. |
--bh-editor-font-weight | {font.weight.regular}400 | Editor code weight. |
Diagram
| Token | Value | Description |
|---|---|---|
--bh-diagram-canvas | {color.surface.page}#ffffffDark: #181717 | Opaque viewport and image-export sheet; transparent live SVG/groups expose its grid. Pair with node and edge text. |
--bh-diagram-grid | {color.border}#bdbcbbDark: #454443 | Subtle dotted drawing grid, shared with native Data Flow; never an execution cue. |
--bh-diagram-group-fill | {color.background.neutral.subtle}transparent | Transparent 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}1rem | Native Data Flow dotted-grid interval in graph coordinates, transformed with the camera. |
--bh-diagram-grid-dot | {border.width.default}1px | Native Data Flow grid dot radius in graph coordinates. |
--bh-diagram-node-fill | {color.surface}#ffffffDark: #201f1f | Default and indeterminate node fill. |
--bh-diagram-node-border | {color.border.bold}#7b7976Dark: #878682 | Meaningful default and indeterminate node boundary. |
--bh-diagram-node-title | {color.text}#2b2a28Dark: #eeeeed | Node title on node-fill. |
--bh-diagram-node-desc | {color.text.subtle}#42413fDark: #cdccc9 | Descriptive node and inspector text on neutral surfaces. |
--bh-diagram-tile-bg | {color.background.neutral}#f1f1f0Dark: #282827 | Step-category glyph plate; not a status. |
--bh-diagram-tile-glyph | {color.icon}#42413fDark: #cdccc9 | Step-category glyph on tile-bg. |
--bh-diagram-state-ran-ok | {color.text.info}#005195Dark: #6bb3fa | Execution evidence without a reported failure. Informational blue and a completion marker, never business-success green. |
--bh-diagram-ran-ok-fill | {color.surface}#ffffffDark: #201f1f | Ran step fill; retain text and completion marker as non-colour cues. |
--bh-diagram-log-reached | {color.text.info}#005195Dark: #6bb3fa | Log-only reachability, paired with a reach marker; not a typed successful execution. |
--bh-diagram-log-unfinished | {color.text.warning}#8a3600Dark: #f5974e | Started interval without a recorded ending, paired with an ellipsis and dashed boundary; not a proven failure. |
--bh-diagram-fail-stroke | {color.text.danger}#9b1e20Dark: #ff8e84 | Proven 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: #3b1310 | Failed execution node fill. |
--bh-diagram-fail-title | {color.text.danger}#9b1e20Dark: #ff8e84 | Failure title on fail-fill. |
--bh-diagram-fail-desc | {color.text.danger}#9b1e20Dark: #ff8e84 | Failure description on fail-fill. |
--bh-diagram-unreached-fill | {color.surface.subtle}#f1f1f0Dark: #201f1f | Never-reached node fill; not a disabled control. |
--bh-diagram-unreached-stroke | {color.border.bold}#7b7976Dark: #878682 | Solid never-reached boundary with an explicit state label. |
--bh-diagram-unreached-title | {color.text.subtle}#42413fDark: #cdccc9 | Never-reached title on unreached-fill. |
--bh-diagram-unreached-desc | {color.text.subtle}#42413fDark: #cdccc9 | Never-reached description on unreached-fill. |
--bh-diagram-nottaken-stroke | {color.text.subtle}#42413fDark: #cdccc9 | Dashed not-taken boundary; dashes and label distinguish it from never reached. |
--bh-diagram-nottaken-fill | {color.surface}#ffffffDark: #201f1f | Not-taken branch fill. |
--bh-diagram-nottaken-title | {color.text}#2b2a28Dark: #eeeeed | Not-taken title on nottaken-fill. |
--bh-diagram-nottaken-desc | {color.text.subtle}#42413fDark: #cdccc9 | Not-taken description on nottaken-fill. |
--bh-diagram-badge-bg | {color.surface}#ffffffDark: #201f1f | Repeat-count plate; repetition alone is not a warning. |
--bh-diagram-badge-text | {color.text.subtle}#42413fDark: #cdccc9 | Descriptive repeat count on badge-bg. |
--bh-diagram-badge-border | {color.border.bold}#7b7976Dark: #878682 | Repeat-count outline. |
--bh-diagram-edge | {color.border.bold}#7b7976Dark: #878682 | Meaningful neutral relation line and arrow. |
--bh-diagram-edge-label-text | {color.text.subtle}#42413fDark: #cdccc9 | Relation label on edge-label-bg. |
--bh-diagram-edge-label-bg | {color.surface.page}#ffffffDark: #181717 | Opaque relation label plate. |
--bh-diagram-panel-bg | {color.surface}#ffffffDark: #201f1f | Inspector evidence surface. |
--bh-diagram-panel-border | {color.border}#bdbcbbDark: #454443 | Decorative inspector divider, not an interactive boundary. |
--bh-diagram-code-bg | {color.surface}#ffffffDark: #201f1f | Structured key/value evidence surface; full code blocks use color.code roles. |
--bh-diagram-code-key | {color.text.subtle}#42413fDark: #cdccc9 | Evidence field label on code-bg; not a link. |
--bh-diagram-code-value | {color.text}#2b2a28Dark: #eeeeed | Evidence field value on code-bg. |
--bh-diagram-selection-ring | {color.border.focus}#005195Dark: #6bb3fa | Independent 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-serif | Default Mermaid node label; inherits Vietnamese line-height. |
--bh-diagram-card-width | 15rem | 240px measurable execution-step label card width; preserve fixed layout topology. |
--bh-diagram-tile-size | {size.target.touch}2.75rem | 44px step-category glyph tile inside execution-card labels, not an interaction target. |
--bh-diagram-glyph-size | {space.400}2rem | 32px category symbol ink size within tile-size; this is a glyph, not display text. |
--bh-diagram-preview-height | 45rem | 720px embedded authoring preview budget shared by the diagram and adjacent step-detail panel; fullscreen fills its host instead. |
--bh-diagram-minimum-height | 20rem | 320px minimum authoring-preview viewport budget. Read-only split diagrams instead shrink with their enclosing pane. |
--bh-diagram-evidence-height | 13.75rem | 220px embedded structured-result viewer height; content scrolls within this budget. |
--bh-diagram-evidence-minimum-height | 12rem | 192px minimum pane budget for multiple request bodies so one expanded part does not hide another. |
--bh-diagram-padding | {space.100}0.5rem | Internal Mermaid node padding. |
--bh-diagram-export-padding | {space.300}1.5rem | Breathing room around fitted and exported drawing bounds. |
Flow
| Token | Value | Description |
|---|---|---|
--bh-flow-category-task-foreground | {color.blue.11}#005195Dark: #6bb3fa | task identity foreground; not a workflow status. |
--bh-flow-category-task-background | {color.blue.3}#e6f4feDark: #0d2847 | task identity background; not a workflow status. |
--bh-flow-category-task-border | {color.blue.9}#0077d5Dark: #0088f1 | task identity border; not a workflow status. |
--bh-flow-category-task-hover | {color.blue.4}#d5efffDark: #003362 | task identity hover; not a workflow status. |
--bh-flow-category-dependency-foreground | {color.red.11}#9b1e20Dark: #ff8e84 | dependency identity foreground; not a workflow status. |
--bh-flow-category-dependency-background | {color.red.3}#feebe9Dark: #3b1310 | dependency identity background; not a workflow status. |
--bh-flow-category-dependency-border | {color.red.9}#d83b39Dark: #ef4c48 | dependency identity border; not a workflow status. |
--bh-flow-category-dependency-hover | {color.red.4}#ffdbd7Dark: #50100f | dependency identity hover; not a workflow status. |
--bh-flow-category-transformation-foreground | {color.green.11}#005c3aDark: #5ec18a | transformation identity foreground; not a workflow status. |
--bh-flow-category-transformation-background | {color.green.3}#e6f6ebDark: #132d21 | transformation identity background; not a workflow status. |
--bh-flow-category-transformation-border | {color.green.9}#008753Dark: #1f9962 | transformation identity border; not a workflow status. |
--bh-flow-category-transformation-hover | {color.green.4}#d6f1dfDark: #113b29 | transformation identity hover; not a workflow status. |
--bh-flow-category-validation-foreground | {color.red.11}#9b1e20Dark: #ff8e84 | validation identity foreground; not a workflow status. |
--bh-flow-category-validation-background | {color.red.3}#feebe9Dark: #3b1310 | validation identity background; not a workflow status. |
--bh-flow-category-validation-border | {color.red.11}#9b1e20Dark: #ff8e84 | validation identity border; not a workflow status. |
--bh-flow-category-validation-hover | {color.red.4}#ffdbd7Dark: #50100f | validation identity hover; not a workflow status. |
--bh-flow-category-pushStep-foreground | {color.yellow.11}#764400Dark: #fcb017 | pushStep identity foreground; not a workflow status. |
--bh-flow-category-pushStep-background | {color.yellow.3}#fff1bdDark: #32210a | pushStep identity background; not a workflow status. |
--bh-flow-category-pushStep-border | {color.yellow.9}#a96700Dark: #bd7e1b | pushStep identity border; not a workflow status. |
--bh-flow-category-pushStep-hover | {color.yellow.4}#ffe59cDark: #422902 | pushStep identity hover; not a workflow status. |
--bh-flow-category-decision-foreground | #087b88Dark: #7bdce5 | Decision identity label on its paired surface; AA small-text contrast, independent of the frame and directed-edge stroke. |
--bh-flow-category-decision-background | #e8f8faDark: #123c43 | decision node surface. |
--bh-flow-category-decision-border | #087f8cDark: #7bdce5 | decision meaningful frame and directed edge. |
--bh-flow-category-decision-hover | #e8f8faDark: #123c43 | decision hovered surface; focus is separate. |
--bh-flow-category-loop-foreground | #ad2171Dark: #f3a0d1 | loop label on paired background. |
--bh-flow-category-loop-background | #fcecf5Dark: #411b34 | loop node surface. |
--bh-flow-category-loop-border | #ad2171Dark: #f3a0d1 | loop meaningful frame and directed edge. |
--bh-flow-category-loop-hover | #fcecf5Dark: #411b34 | loop hovered surface; focus is separate. |
--bh-flow-category-grouped-foreground | #7040a0Dark: #c9a2ee | grouped label on paired background. |
--bh-flow-category-grouped-background | #f3ecfaDark: #30213f | grouped node surface. |
--bh-flow-category-grouped-border | #7040a0Dark: #c9a2ee | grouped meaningful frame and directed edge. |
--bh-flow-category-grouped-hover | #f3ecfaDark: #30213f | grouped hovered surface; focus is separate. |
--bh-flow-geometry-task-width | 450px | Fixed operational task width; rendering and layout share this value. |
--bh-flow-geometry-task-height | 130px | Fixed operational task height; rendering and layout share this value. |
--bh-flow-geometry-task_dependency-width | 450px | Fixed operational task_dependency width; rendering and layout share this value. |
--bh-flow-geometry-task_dependency-height | 130px | Fixed operational task_dependency height; rendering and layout share this value. |
--bh-flow-geometry-task_transformation-width | 450px | Fixed operational task_transformation width; rendering and layout share this value. |
--bh-flow-geometry-task_transformation-height | 130px | Fixed operational task_transformation height; rendering and layout share this value. |
--bh-flow-geometry-task_data-width | 450px | Fixed operational task_data width; rendering and layout share this value. |
--bh-flow-geometry-task_data-height | 130px | Fixed operational task_data height; rendering and layout share this value. |
--bh-flow-geometry-validationGroup-width | 350px | Fixed operational validationGroup width; rendering and layout share this value. |
--bh-flow-geometry-validationGroup-height | 130px | Fixed operational validationGroup height; rendering and layout share this value. |
--bh-flow-geometry-transformationGroup-width | 350px | Fixed operational transformationGroup width; rendering and layout share this value. |
--bh-flow-geometry-transformationGroup-height | 130px | Fixed operational transformationGroup height; rendering and layout share this value. |
--bh-flow-geometry-pushStepsGroup-width | 350px | Fixed operational pushStepsGroup width; rendering and layout share this value. |
--bh-flow-geometry-pushStepsGroup-height | 130px | Fixed operational pushStepsGroup height; rendering and layout share this value. |
--bh-flow-geometry-validation-width | 200px | Fixed operational validation width; rendering and layout share this value. |
--bh-flow-geometry-validation-height | 130px | Fixed operational validation height; rendering and layout share this value. |
--bh-flow-geometry-transformation-width | 200px | Fixed operational transformation width; rendering and layout share this value. |
--bh-flow-geometry-transformation-height | 130px | Fixed operational transformation height; rendering and layout share this value. |
--bh-flow-geometry-push_step-width | 200px | Fixed operational push_step width; rendering and layout share this value. |
--bh-flow-geometry-push_step-height | 130px | Fixed operational push_step height; rendering and layout share this value. |
--bh-flow-geometry-decision-width | 160px | Fixed operational decision width; rendering and layout share this value. |
--bh-flow-geometry-decision-height | 160px | Fixed operational decision height; rendering and layout share this value. |
--bh-flow-geometry-loop-width | 120px | Fixed operational loop width; rendering and layout share this value. |
--bh-flow-geometry-loop-height | 120px | Fixed operational loop height; rendering and layout share this value. |
--bh-flow-geometry-profile-width | 240px | Fixed operational profile width; rendering and layout share this value. |
--bh-flow-geometry-profile-height | 100px | Fixed operational profile height; rendering and layout share this value. |
--bh-flow-grid-HORIZONTAL | 80px | Operational graph grid HORIZONTAL; preserve graph coordinates. |
--bh-flow-grid-VERTICAL | 40px | Operational graph grid VERTICAL; preserve graph coordinates. |
--bh-flow-grid-TASK_DATA_X_GAP | 300px | Operational graph grid TASK_DATA_X_GAP; preserve graph coordinates. |
--bh-flow-grid-GROUP_Y_OFFSET | 200px | Operational graph grid GROUP_Y_OFFSET; preserve graph coordinates. |
--bh-flow-layout-VALIDATION_NODE_Y_GAP | 100px | Operational graph layout VALIDATION_NODE_Y_GAP; preserve graph coordinates. |
--bh-flow-layout-TRANSFORMATION_NODE_Y_GAP | 100px | Operational graph layout TRANSFORMATION_NODE_Y_GAP; preserve graph coordinates. |
--bh-flow-layout-PUSH_STEP_NODE_Y_GAP | 80px | Operational graph layout PUSH_STEP_NODE_Y_GAP; preserve graph coordinates. |
--bh-flow-layout-PUSH_STEP_NODE_X_GAP | 120px | Operational graph layout PUSH_STEP_NODE_X_GAP; preserve graph coordinates. |
--bh-flow-layout-PUSH_STEP_BRANCH_X_GAP | 200px | Operational graph layout PUSH_STEP_BRANCH_X_GAP; preserve graph coordinates. |
--bh-flow-layout-EXPANDED_GROUP_X | 50px | Operational graph layout EXPANDED_GROUP_X; preserve graph coordinates. |
--bh-flow-layout-EXPANDED_GROUP_Y_START | 50px | Operational graph layout EXPANDED_GROUP_Y_START; preserve graph coordinates. |
--bh-flow-layout-TREE_LEVEL_Y_GAP | 150px | Operational graph layout TREE_LEVEL_Y_GAP; preserve graph coordinates. |
--bh-flow-layout-TREE_SIBLING_X_GAP | 250px | Operational graph layout TREE_SIBLING_X_GAP; preserve graph coordinates. |
--bh-flow-layout-TREE_MIN_WIDTH | 200px | Operational graph layout TREE_MIN_WIDTH; preserve graph coordinates. |
--bh-flow-edge-width | {border.width.selected}2px | Operational graph edge width; preserve graph coordinates. |
--bh-flow-edge-marker | {space.200}1rem | Operational graph edge marker; preserve graph coordinates. |
--bh-flow-edge-radius | {space.250}1.25rem | Operational graph edge radius; preserve graph coordinates. |
--bh-flow-edge-handle | {space.150}0.75rem | Operational graph edge handle; preserve graph coordinates. |
Data visualization
| Token | Value | Description |
|---|---|---|
--bh-visualization-metric-total-jobs | {color.text.info}#005195Dark: #6bb3fa | Total execution volume, not an execution status; pair with a named series and values. |
--bh-visualization-metric-success-rate | {color.text.success}#005c3aDark: #5ec18a | Successful execution proportion; thresholds remain explicit in text. |
--bh-visualization-metric-completed | {color.text.success}#005c3aDark: #5ec18a | Completed execution count, with a completed label. |
--bh-visualization-metric-failed | {color.text.danger}#9b1e20Dark: #ff8e84 | Failed execution count, with a failed label. |
--bh-visualization-metric-active-jobs | {color.text.info}#005195Dark: #6bb3fa | Currently active executions, not a success assessment. |
--bh-visualization-metric-avg-execution-time | {color.text.subtle}#42413fDark: #cdccc9 | Average execution duration; duration alone does not imply warning. |
--bh-visualization-metric-queue-depth | {color.text}#2b2a28Dark: #eeeeed | Queued execution volume; backlog alone does not imply failure. |
--bh-visualization-job-type-queue-status | {color.blue.11}#005195Dark: #6bb3fa | Queue-status categorical identity. Never infer processing status from this colour. |
--bh-visualization-job-type-sync-history | {color.green.11}#005c3aDark: #5ec18a | Sync-history categorical identity. Never infer success from this colour. |
--bh-visualization-job-type-polling-jobs | {color.orange.11}#8a3600Dark: #f5974e | Polling categorical identity. Never infer warning from this colour. |
--bh-visualization-job-type-generic-jobs | {color.graphite.11}#42413fDark: #cdccc9 | Generic-job categorical identity. Always include job-type text or a distinct glyph. |
--bh-visualization-priority-1 | {color.text.danger}#9b1e20Dark: #ff8e84 | Highest queue urgency, explicitly labelled P1; not a failed execution. |
--bh-visualization-priority-2 | {color.text.warning}#8a3600Dark: #f5974e | High queue urgency, explicitly labelled P2; not a warning outcome. |
--bh-visualization-priority-3 | {color.text.info}#005195Dark: #6bb3fa | Normal queue urgency, explicitly labelled P3. |
--bh-visualization-priority-4 | {color.text.subtle}#42413fDark: #cdccc9 | Low queue urgency, explicitly labelled P4; not a success outcome. |
--bh-visualization-priority-5 | {color.text.subtlest}#5f5e5bDark: #a8a6a3 | Lowest queue urgency, explicitly labelled P5. |
--bh-visualization-traffic-healthy-fill | {color.background.success.subtle}#e6f6ebDark: #132d21 | Accepted traffic; show its label. |
--bh-visualization-traffic-healthy-outline | {color.border.success}#008753Dark: #37a971 | Accepted traffic; show its label. |
--bh-visualization-traffic-attention-fill | {color.background.warning.subtle}#ffefd6Dark: #331e0b | Lower reject-ratio threshold; distinct label and pattern from degraded. |
--bh-visualization-traffic-attention-outline | {color.border.warning}#ba4e00Dark: #ef7200 | Lower reject-ratio threshold; distinct label and pattern from degraded. |
--bh-visualization-traffic-degraded-fill | {color.background.warning.subtle}#ffefd6Dark: #331e0b | Higher reject-ratio threshold; distinct label and pattern from attention. |
--bh-visualization-traffic-degraded-outline | {color.border.warning}#ba4e00Dark: #ef7200 | Higher reject-ratio threshold; distinct label and pattern from attention. |
--bh-visualization-traffic-critical-fill | {color.background.danger.subtle}#feebe9Dark: #3b1310 | Critical rejected-request ratio, not a failed fetch. |
--bh-visualization-traffic-critical-outline | {color.border.danger}#d83b39Dark: #ff615a | Critical rejected-request ratio, not a failed fetch. |
--bh-visualization-traffic-unavailable-fill | {color.surface.subtle}#f1f1f0Dark: #201f1f | No requests to assess; not a backend failure. |
--bh-visualization-traffic-unavailable-outline | {color.border.bold}#7b7976Dark: #878682 | No requests to assess; not a backend failure. |
--bh-visualization-traffic-fault-fill | {color.background.danger.subtle}#feebe9Dark: #3b1310 | Backend/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: #ff615a | Backend/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}2px | Primary chart series stroke in CSS pixels. |
--bh-visualization-sparkline-width | {border.width.default}1px | Compact sparkline stroke in CSS pixels. |
--bh-visualization-grid-width | {border.width.default}1px | Chart grid and crosshair stroke in CSS pixels. |
--bh-visualization-sparkline-point-radius | {space.025}0.125rem | Compact sparkline endpoint radius. |
--bh-visualization-timeline-node-size | {space.200}1rem | Desktop timeline outer job-type mark diameter. |
--bh-visualization-timeline-node-inner-size | {space.100}0.5rem | Desktop timeline inner execution-status mark diameter. |
--bh-visualization-timeline-node-touch-size | {space.250}1.25rem | Touch and tablet outer timeline mark diameter; hit target remains size.target.touch. |
--bh-visualization-timeline-node-touch-inner-size | {space.150}0.75rem | Touch timeline inner status diameter. |
--bh-visualization-timeline-node-tablet-inner-size | {space.100}0.5rem | Tablet timeline inner status diameter. |
--bh-visualization-timeline-cluster-size | {space.300}1.5rem | Minimum aggregated timeline count marker diameter. |
--bh-visualization-chart-height | 120px | Operational trend chart plotting height. |
--bh-visualization-chart-initial-width | 400px | Initial plot width before measurement; replaced by actual container width. |
--bh-visualization-sparkline-height | {space.500}2.5rem | Standard compact trend plotting height. |
--bh-visualization-sparkline-compact-height | {space.400}2rem | Metric tile sparkline plotting height. |
--bh-visualization-sparkline-initial-width | 100px | Initial sparkline width before measurement. |
--bh-visualization-point-radius | {space.050}0.25rem | Normal chart sample marker radius. |
--bh-visualization-hover-point-radius | {space.075}0.375rem | Hovered chart sample marker radius; larger than normal independently of colour. |
--bh-visualization-failure-shadow | 0 0 {space.050} {color.border.danger}0 0 0.25rem #d83b39Dark: 0 0 0.25rem #ff615a | Opt-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-width | 10 | Ant Design dashboard progress stroke width, in percent of its viewBox. |
--bh-visualization-ring-size | 140px | Operational health progress ring diameter. |
--bh-visualization-ring-gap | 75 | Operational health dashboard ring opening in degrees. |
--bh-visualization-timeline-track-height | {space.075}0.375rem | Compact summary and grouped execution track thickness. |
--bh-visualization-activity-track-height | {space.100}0.5rem | Activity timeline track thickness with internal event segments. |
--bh-visualization-legend-mark-size | {space.100}0.5rem | 8 px. Colour mark beside a legend label. |