Theme reference: presets and tokens

Contents: Presets, Minimal brand theme, Targets, Tokens, Errors, Fonts.

The theme token contract. A spec takes theme as a preset name, as { preset, overrides } or as a full token object with its own name. Defaults below are the bridge preset.

Presets

bridge, bridge-dark, boardroom, capital, studio, glass, standard, standard-dark, notation, notation-dark

Minimal brand theme

Pass it as the spec's theme. overrides changes only the tokens it names.

{
  "preset": "bridge",
  "overrides": { "color": { "highlight": "#0B5CAD", "series": ["#0B5CAD", "#5B8DB8", "#A9C1D9"] } }
}

Targets

The render target replaces the six role sizes of a preset (title, subtitle, label, axis, footnote, micro) and their S and L steps before overrides apply, so a size overrides names wins. Families, weights, line heights and other tokens stay. A complete theme with its own name, registered or passed as a token object, keeps its sizes under every target. typeForTarget(type, target) from boardplot/theme returns its type with the target's sizes. Sizing in the manual lists the sizes per target.

Tokens

Defaults are the bridge preset.

PathTypeRequiredValuesDefaultMeaning
namestringyes'bridge'Theme name. Must be unique among registered themes; it is the value of the theme option.
colorobjectyes{"good":"#147A52","goodFill":"#1E9A66","bad":"#C8323F","badFill":"#D6453F","neutral":"#5A6A97","neutralLight":"#C9D2E0","highlight":"#1E4FD8","total":"#0B1B3A","others":"#EEF2F8","othersMark":"#D9DEE8","ink":"#0B1B3A","inkInverse":"#FFFFFF","inkMuted":"#5B6B86","axis":"#0B1B3A","grid":"#E6EAF1","leader":"#9AA5B8","background":"#FFFFFF","stack":["#0B1B3A","#1E4FD8","#5780EE","#768EE0"],"series":["#0B1B3A","#5780EE","#5A6A97","#B68633","#843A6E","#008D7C","#CD4600","#6444DA"],"seriesOverflow":"repeatLast","palettes":{"spectrum":["#034FD4","#B68633","#25A090","#7C3367","#D23C00","#765BF2","#4A7A03","#BE3879"],"atlantic":["#075A8E","#55BEF7","#2AB1A9","#838CDA","#1F8567","#9259AC"]},"status":{"advanced":"#25365C","open":"#8493AC","lost":"#D6453F","pending":"#A47A10","won":"#1E4FD8","gantt-workstream":"#0B1B3A","gantt-detail":"#8493AC","gantt-special":"#1E4FD8","gantt-cadence":"#27396A"},"colorblind":{"good":"#5590F2","bad":"#E16D08","badFill":"#A0431A"},"warn":"#876400","warnFill":"#F5A800"}Paint vocabulary. Every chart color comes from here; chart code never introduces a hex literal.
color.goodstringyes'#147A52'Business judgment "good" (variance up, target met). Not decoration: keep it distinct from bad under the shipped colorblind check.
color.badstringyes'#C8323F'Business judgment "bad" (variance down, target missed).
color.goodFillstring'#1E9A66'The "good" fill of a large signed mark: a sign-colored column, a variance bar or cap, a line gap fill, a heatmap cell over 12 x 12 px, a map region or tile, a table heat cell or row wash, a status cell, a zone or phase wash, a diagram node, and a bar, column, slice or cell whose colorRole is good. Absent means color.good. Text, ticks, strokes, pins and small squares keep color.good, and colorblindSafe takes color.colorblind.goodFill. Set it when color.good is a light accent that glows as a full fill, typically on a dark ground.
color.badFillstring'#D6453F'The "bad" fill of a large signed mark, as color.goodFill, of a negative mekko bar and of a likert disagree segment. Absent means color.bad. The pair is held to the good-bad-similar floor once either is set.
color.reststringThe bars and columns that step back when options.highlight selects a category on a single-series chart. Absent means color.neutralLight. Under marks.contrastEdge: true a pale rest fill takes a separation outline, which marks.restOutline: false drops.
color.othersMarkstring'#D9DEE8'Fill of an Others mark: the topN Others bucket and a series or slice whose colorRole is others. Absent means color.others. Every preset sets it 1.4:1 or more against its page. Under marks.contrastEdge: true a pale Others fill takes a separation outline, which marks.othersOutline: false drops.
color.markInkstringThe ink a chart draws a data mark in, apart from the text ink: a line's emphasis: 'first' hero line and a themed area's line, the context line ladder under a highlight and a line band's contrast repair, the combo lead line under marks.comboLine: 'ink', the dot inside the latest-point ring, the standalone sparkline, the steps of a stepped table heat lane, a bar's range rail and caps, column range whiskers, the bar and column net line, the dot range mid, a mekko ridge, the pareto cumulative line, a bump ring, a difference target marker, a gantt bracket and the bullet measure bar (its bands lighten toward the page until they clear 3:1 against it, where their 12-point step allows). Absent means color.ink. Axes, value lines, reference ticks and lines, brackets between bars, connectors, annotation arrows, slice outlines and the plan outline keep color.ink. Held to the mark floor on the background, 3:1 as a line (mark-ink-invisible).
color.heatTopstringThe top band of a stepped table heat lane (surface.heatSteps). Absent means color.markInk, then color.ink. A dark theme whose full ink glares as a cell sets a quieter band here, and color.heatTopInk for its figures. In dark it also caps how far centered-funnel stage shading brightens; a stage color already at or above it fades toward the background instead.
color.heatTopInkstringThe figures on a stepped heat lane's top band. Absent means color.inkInverse. Once either role is set, the pair is held to 3:1 (contrast-inside-label).
color.onFillInkstringThe dark fallback ink for text on a fill where neither color.ink nor color.inkInverse reaches 4.5:1, a mid-tone heat band or chip. Absent means '#050505'. With color.onFillLightInk it must stand 20.25:1 apart, so one of the two reaches 4.5:1 on every fill; a pair that cannot is warned as ink-on-fill, with the fill relative-luminance band where neither reaches it.
color.onFillLightInkstringThe light fallback ink for text on such a fill, paired with color.onFillInk. Absent means '#FFFFFF'.
color.neutralstringyes'#5A6A97'Neutral fill for actuals (AC). Carries structure, never judgment, so it stays gray-family in every shipped preset.
color.neutralLightstringyes'#C9D2E0'Lighter neutral for prior year (PY) and low-emphasis structure.
color.neutralMarkstringThe marks that paint in the neutral: a butterfly's and a pyramid's first side, variance and waterfall bars in the neutral tone, a sign-colored column at zero, a dumbbell's first dots, a bar's reference marker, a slope's lines, a box's points and whiskers, a column spark's columns, a likert midpoint, a neutral status cell, the cohort average row, the heatmap's lowest step and Harvey rings, a map glyph whose tone is neutral, a series whose colorRole is 'neutral', and the scenario and partial-period legend keys. Absent means color.neutral. Held to the series floor on the background (series-invisible). A theme whose neutral is a band or surface tint sets a mark-strength gray here; bands, zebras, washes and no-data grounds keep color.neutral.
color.highlightstringyes'#1E4FD8'The single accent, with one meaning: the focus the author asked for. It paints what options.highlight selects, an annotation or callout, a colorRole 'highlight', and the larger marks listed under color.focus, unless color.focus is set. It also keeps a few point accents: the latest-point ring, a highlight reference tick, the last point or column of a spark, and map glyphs. Without an authored focus no chart paints it on a lead mark: series 1 leads. One accent per theme.
color.focusstringWhat options.highlight selects: the highlighted bar, column, dot, slice, box, step, point or line, and the swatch beside its label. It also takes every mark larger than a point that would fall back to color.highlight: a line, area, bar, column, slice, cell, gantt item or scatter and dot group whose colorRole is 'highlight' (one other plain series then recedes to the neutral mark, two or more plain series of a stacked column or bar or a mekko recede on a neutral ramp from the muted mark to color.neutralLight, and plain lines and slopes step back to their gray ladder), a diagram node, lane or badge whose role is 'accent', the in-cell bar, the gantt elapsed wash, and status cells, zones and phases whose tone is highlight or info. It also washes a kpi area spark, whose last point keeps color.highlight. Without an authored focus the lead mark takes series 1: the combo lead line takes the rank after the columns, a pareto's vital few take series 1 and the rest recede, a butterfly's or pyramid's second side, a dumbbell's second dots, a single-series funnel and a tornado's high case without casePair take series 1, linear-process step badges take the neutral mark, and the pie, heatmap ladder, ramp and Harvey fills, and the cohort, choropleth, tilemap and table heat ramps are tints of series 1. Absent means color.highlight. Set it apart when the accent is kept for a single mark, such as the latest-point ring or a reference tick, and the selected marks should take another color, often the ink. A line's emphasis: 'first' hero takes the ink either way.
color.sparkstringThe line of a kpi card's spark, a table sparkline cell and a creative trend, and the line over an area spark. Absent means color.neutralMark, then color.neutral. color.neutral is a fill, and a pale one draws a faint line: point the spark at the ink then. A column spark's columns take color.neutralMark, the last point keeps color.highlight, and the standalone sparkline type draws its line in the ink.
color.totalstringyes'#0B1B3A'Color for total and subtotal marks. Defaults to the accent in the shipped presets.
color.othersstringyes'#EEF2F8'Ground fill: gantt shades and row tints, value bands, annotation fills, diagram fills and the default of color.othersMark.
color.inkstringyes'#0B1B3A'Primary text and axis ink on the theme background.
color.inkInversestringyes'#FFFFFF'Text ink for labels painted on a solid dark fill.
color.inkMutedstringyes'#5B6B86'Secondary ink for source lines, tick labels, and footnotes.
color.inkMetastringTertiary ink: a table's state glyphs (missing, n/a, n.m.), a cell with heat: false, and a section heading whose table.section.ink is 'inkMeta'. Absent means color.inkMuted. Held to 3:1 on the background like inkMuted.
color.axisstringyes'#0B1B3A'Axis line and tick ink.
color.gridstringyes'#E6EAF1'Grid line ink. Quiet by design; it must not compete with data.
color.rulestringA table's structural rule: the head underline, the rules above and under a total row, and the rule that closes the body, on the SVG and in the grid. Absent means color.axis. Set it when the axis ink is a quiet gray and the house rule is firmer; row, section and group rules keep color.grid.
color.referencestringThe rails of a slope chart, the two verticals the values are read against. Absent means color.axis. Held to 3:1 on the background once set (contrast-reference).
color.leaderstringyes'#9AA5B8'Leader line ink for labels placed away from their mark.
color.backgroundstringyes'#FFFFFF'Chart canvas background. Tint stages mix toward this color, so it must be a real surface color.
color.seriesarrayyes["#0B1B3A","#5780EE","#5A6A97","#B68633","#843A6E","#008D7C","#CD4600","#6444DA"]Categorical ramp, index 0 first. A preset override with one or two colors fills the remaining slots from the preset, skipping colors already authored. A complete theme needs at least one entry; series past the end of the ramp follow color.seriesOverflow. Index 0 also bases the sequential ramps (tints of series 1).
color.casePairarrayTornado low/high fills. Absent resolves to neutralLight/series 1.
color.stackarray["#0B1B3A","#1E4FD8","#5780EE","#768EE0"]Fills of the plain series of a stacked or 100% column or bar, strongest on the page first and the quietest last (2 or more). More series than steps share the ramp evenly between its ends; authored fills, color roles, palettes and highlights win. Absent keeps the series order. Treemap groups take it when color.treemap is absent.
color.treemaparrayFills of treemap groups by rank, the first drawn group the strongest (2 or more). More groups than steps share the ramp evenly between its ends; a group fill or colorRole and options.palette win. Absent takes color.stack; a theme without either steps the first series color toward the page. Set it to the color.series list for one hue per group.
color.seriesOverflowstring'repeatLast', 'cycle''repeatLast'What a series index beyond the ramp does: 'repeatLast' reuses the last entry, 'cycle' restarts the ramp. Default 'repeatLast'.
color.palettesobject{"spectrum":["#034FD4","#B68633","#25A090","#7C3367","#D23C00","#765BF2","#4A7A03","#BE3879"],"atlantic":["#075A8E","#55BEF7","#2AB1A9","#838CDA","#1F8567","#9259AC"]}Named alternative categorical ramps so one report keeps disjoint color vocabularies per dimension. Charts opt in through options.palette.
color.statusobjectyes{"advanced":"#25365C","open":"#8493AC","lost":"#D6453F","pending":"#A47A10","won":"#1E4FD8","gantt-workstream":"#0B1B3A","gantt-detail":"#8493AC","gantt-special":"#1E4FD8","gantt-cadence":"#27396A"}Domain status colors keyed by the documented status enumeration (advanced, open, lost, pending, won, gantt-*).
color.colorblindobjectyes{"good":"#5590F2","bad":"#E16D08","badFill":"#A0431A"}Alternative good/bad pair that a colorblind viewer can still tell apart; the colorblind check compares it against good/bad.
color.colorblind.goodstringyes'#5590F2'Judgment "good" as it reads to a colorblind viewer; used by the colorblind comparison check. A diverging slope draws its better line and dots in it always.
color.colorblind.badstringyes'#E16D08'Judgment "bad" as it reads to a colorblind viewer.
color.colorblind.goodFillstringThe colorblind "good" of a large signed fill under colorblindSafe: a status cell, a sign-colored column, a variance bar or cap. A likert paints its agree side and a diverging slope its better side in it always, so the two sides stay apart for a red-green color-blind reader. Absent means color.colorblind.good. Set it when colorblind.good is a text color, such as the ink, that glares as a full fill.
color.colorblind.badFillstring'#A0431A'The colorblind "bad" of a large signed fill under colorblindSafe. Absent means color.colorblind.bad.
color.warnstring'#876400'At-risk judgment between good and bad (dark amber by default). Absent warnColor() supplies the shipped amber. Text, strokes, glyphs and chips print in it; large marks take color.warnFill.
color.warnFillstring'#F5A800'The "warn" fill of a large mark: a status cell, a bar, column, segment, slice, chevron or gantt bar whose colorRole or tone is warn, a zone, phase or row wash, a diagram node. Absent means color.warn. Set it when color.warn is a dark amber chosen to read as text, which reads as olive as a full fill. Held to ink-on-fill and to the status-tone swatch floor against the good and bad fills.
scenarioobjectyes{"AC":"solid","PY":"solidLight","PL":"outline","FC":"hatch45"}Scenario notation. Fixed by the standard, except the plan look a theme may set in scenario.PL.
scenario.ACstringyes'solid''solid'Actual fill notation. Fixed to 'solid'.
scenario.PYstringyes'solidLight''solidLight'Prior-year fill notation. Fixed to 'solidLight'.
scenario.PLstringyes'outline', 'solidMuted''outline'Plan fill notation. 'outline' is the notation look: the plan bar drawn in the background color with an outline in its series color. 'solidMuted' draws it solid in color.inkMuted at 35 % over the background, with no outline. A plan stack that keeps its series colors keeps its outline either way. A plan line defaults to a solid stroke in color.ink at pattern.outlineStrokeWidth; authored scenario styling wins.
scenario.FCstringyes'hatch45''hatch45'Forecast fill notation. Fixed to 'hatch45'.
patternobjectyes{"hatchAngle":45,"hatchColor":"segment","hatchGap":6,"hatchStrokeWidth":0.75,"outlineStrokeWidth":1.5}Hatch and outline geometry for scenario notation.
pattern.hatchAnglenumberyes4545Hatch line angle in degrees. Fixed to 45 by the notation rule.
pattern.hatchColorstring'ink', 'segment''segment'Ink source for hatch lines: 'segment' keeps the series color, 'ink' switches to color.ink. Absent means 'segment'.
pattern.hatchGapnumberyes6Distance between hatch lines in px. Lower values read denser and start to moiré in print.
pattern.hatchStrokeWidthnumberyes0.75Hatch line stroke width in px.
pattern.outlineStrokeWidthnumberyes1.5Outline stroke width in px for PL/FC notation and outlined marks.
typeobjectyes{"family":"'Helvetica Neue', Helvetica, Arial, Roboto, sans-serif","title":{"size":18,"weight":600,"lineHeight":1.25},"subtitle":{"size":12,"weight":400,"lineHeight":1.3},"label":{"size":11.5,"weight":400,"lineHeight":1.2},"axis":{"size":10.5,"weight":400,"lineHeight":1.2},"footnote":{"size":9,"weight":400,"lineHeight":1.3},"micro":{"size":9,"weight":400,"lineHeight":1.2},"scale":{"S":{"title":15,"subtitle":10.5,"label":10,"axis":9.5,"footnote":8.5,"micro":9},"L":{"title":22,"subtitle":14,"label":13,"axis":12,"footnote":10.5,"micro":9.5}},"display":{"size":36,"lineHeight":1.11},"numeric":"tabular","emphasis":{"weight":600},"figure":{"weight":600},"eyebrow":{"weight":500,"ink":"inkMuted"}}Typography: the font stack every role inherits plus one type step per role.
type.familystringyes'\\'Helvetica Neue\\', Helvetica, Arial, Roboto, sans-serif'CSS font stack for every type role. The label solver measures with this stack, so keep it to the calibrated class.
type.titleobjectyes{"size":18,"weight":600,"lineHeight":1.25}One typographic role. Sizes step per width class through type.scale.
type.title.familystringCSS font stack for this role alone, in the type.family grammar. Absent falls back to type.family.
type.title.sizenumberyes18Font size in px at the middle width class (720 to 1079 px); type.scale carries the small and large steps. Set in theme overrides, it holds in every class unless the overrides also set its step.
type.title.weightnumberyes600Font weight (100 to 1000) for this role.
type.title.lineHeightnumber1.25Unitless line height multiplier for this role.
type.subtitleobjectyes{"size":12,"weight":400,"lineHeight":1.3}One typographic role. Sizes step per width class through type.scale.
type.subtitle.familystringCSS font stack for this role alone, in the type.family grammar. Absent falls back to type.family.
type.subtitle.sizenumberyes12Font size in px at the middle width class (720 to 1079 px); type.scale carries the small and large steps. Set in theme overrides, it holds in every class unless the overrides also set its step.
type.subtitle.weightnumberyes400Font weight (100 to 1000) for this role.
type.subtitle.lineHeightnumber1.3Unitless line height multiplier for this role.
type.labelobjectyes{"size":11.5,"weight":400,"lineHeight":1.2}One typographic role. Sizes step per width class through type.scale.
type.label.familystringCSS font stack for this role alone, in the type.family grammar. Absent falls back to type.family.
type.label.sizenumberyes11.5Font size in px at the middle width class (720 to 1079 px); type.scale carries the small and large steps. Set in theme overrides, it holds in every class unless the overrides also set its step.
type.label.weightnumberyes400Font weight (100 to 1000) for this role.
type.label.lineHeightnumber1.2Unitless line height multiplier for this role.
type.axisobjectyes{"size":10.5,"weight":400,"lineHeight":1.2}One typographic role. Sizes step per width class through type.scale.
type.axis.familystringCSS font stack for this role alone, in the type.family grammar. Absent falls back to type.family.
type.axis.sizenumberyes10.5Font size in px at the middle width class (720 to 1079 px); type.scale carries the small and large steps. Set in theme overrides, it holds in every class unless the overrides also set its step.
type.axis.weightnumberyes400Font weight (100 to 1000) for this role.
type.axis.lineHeightnumber1.2Unitless line height multiplier for this role.
type.footnoteobjectyes{"size":9,"weight":400,"lineHeight":1.3}One typographic role. Sizes step per width class through type.scale.
type.footnote.familystringCSS font stack for this role alone, in the type.family grammar. Absent falls back to type.family.
type.footnote.sizenumberyes9Font size in px at the middle width class (720 to 1079 px); type.scale carries the small and large steps. Set in theme overrides, it holds in every class unless the overrides also set its step.
type.footnote.weightnumberyes400Font weight (100 to 1000) for this role.
type.footnote.lineHeightnumber1.3Unitless line height multiplier for this role.
type.microobject{"size":9,"weight":400,"lineHeight":1.2}In-plot abbreviation role for geographic and matrix labels only. Absent derives it from footnote minus 1 px, floored at 9 px.
type.micro.familystringCSS font stack for this role alone, in the type.family grammar. Absent falls back to type.family.
type.micro.sizenumberyes9Font size in px at the middle width class (720 to 1079 px); type.scale carries the small and large steps. Set in theme overrides, it holds in every class unless the overrides also set its step.
type.micro.weightnumberyes400Font weight (100 to 1000) for this role.
type.micro.lineHeightnumber1.2Unitless line height multiplier for this role.
type.secondaryobjectSecondary text: tick labels, axis titles, scenario markers (AC | FC) and the labels of series a highlight leaves in the background. Absent means the axis role.
type.secondary.familystringCSS font stack for this role alone, in the type.family grammar. Absent falls back to type.family.
type.secondary.sizenumberyesFont size in px at the middle width class (720 to 1079 px); type.scale carries the small and large steps. Set in theme overrides, it holds in every class unless the overrides also set its step.
type.secondary.weightnumberyesFont weight (100 to 1000) for this role.
type.secondary.lineHeightnumberUnitless line height multiplier for this role.
type.scaleobject{"S":{"title":15,"subtitle":10.5,"label":10,"axis":9.5,"footnote":8.5,"micro":9},"L":{"title":22,"subtitle":14,"label":13,"axis":12,"footnote":10.5,"micro":9.5}}Width-class size columns: type.<role>.size is the middle class, S and L carry the other two.
type.scale.Sobject{"title":15,"subtitle":10.5,"label":10,"axis":9.5,"footnote":8.5,"micro":9}One width-class column of role sizes, keyed by role name.
type.scale.S.titlenumber15Font size in px for this role at this width class.
type.scale.S.subtitlenumber10.5Font size in px for this role at this width class.
type.scale.S.labelnumber10Font size in px for this role at this width class.
type.scale.S.axisnumber9.5Font size in px for this role at this width class.
type.scale.S.footnotenumber8.5Font size in px for this role at this width class.
type.scale.S.micronumber9Font size in px for this role at this width class.
type.scale.S.secondarynumberFont size in px for this role at this width class.
type.scale.Lobject{"title":22,"subtitle":14,"label":13,"axis":12,"footnote":10.5,"micro":9.5}One width-class column of role sizes, keyed by role name.
type.scale.L.titlenumber22Font size in px for this role at this width class.
type.scale.L.subtitlenumber14Font size in px for this role at this width class.
type.scale.L.labelnumber13Font size in px for this role at this width class.
type.scale.L.axisnumber12Font size in px for this role at this width class.
type.scale.L.footnotenumber10.5Font size in px for this role at this width class.
type.scale.L.micronumber9.5Font size in px for this role at this width class.
type.scale.L.secondarynumberFont size in px for this role at this width class.
type.numericstring'tabular', 'proportional''tabular'Figures on numeric text (value labels, axis ticks, table numbers, KPI values): 'tabular' aligns digits in columns, 'proportional' uses the font's natural widths. Absent means 'tabular'. Titles, names, notes and source lines never set figures, and neither does a label the engine composed out of a name and a number, such as a funnel step caption or a pie slice label.
type.figureobject{"weight":600}The big value of a KPI card. Set its family and weight here. The preferred size is max(heroMinimum, round(title x 1.5)) in target units. type.scale does not step it. Absent means type.family at the emphasis weight (700 by default).
type.figure.familystringCSS font stack for the KPI value alone, in the type.family grammar. Absent falls back to type.family. Measured from the width tables when one of its names is tabled, else by the character-class model.
type.figure.weightnumber600Font weight (100 to 1000) of the KPI value. Absent means the emphasis weight (700 by default).
type.displayobject{"size":36,"lineHeight":1.11}The value of every panel in the metric stack focus look (options.stack.variant 'focus'), in every readout layout. It prints in the family and weight of type.figure. type.scale does not step it; textScale does. Absent means 36 px on a 1.11 line.
type.display.sizenumber36Font size in px of the stack values (8 to 160). Absent means 36.
type.display.lineHeightnumber1.11Line height of the stack values as a ratio of their size (0.9 to 2). Absent means 1.11.
type.eyebrowobject{"weight":500,"ink":"inkMuted"}The eyebrow of a KPI card, the label over the figure when the card has no title. Each absent key keeps today's eyebrow: the label role at 13 px or more, as authored, in color.inkMuted. type.scale does not step it.
type.eyebrow.sizenumberFont size in px of the KPI eyebrow (6 to 24). Absent keeps the label role at 13 px or more.
type.eyebrow.weightnumber500Font weight (100 to 1000) of the KPI eyebrow. Absent keeps the label weight.
type.eyebrow.lineHeightnumberLine height of the KPI eyebrow as a ratio of its size (1 to 2). Absent keeps the label line height.
type.eyebrow.trackingnumberLetter-spacing of the KPI eyebrow in em of its size (0 to 0.3), e.g. 0.14. Absent means none.
type.eyebrow.inkstring'inkMuted', 'inkMeta''inkMuted'Ink of the KPI eyebrow: 'inkMuted' or 'inkMeta'. Absent means inkMuted.
type.emphasisobject{"weight":600}The emphasis weight: a total, a hero figure or an authored focus is set in this weight at its role size.
type.emphasis.weightnumber600Font weight (100 to 1000) of emphasized text. Absent means 700.
spaceobjectyes{"tierGap":5,"facetGap":28,"labelPad":5}Spacing tokens shared by every layout.
space.tierGapnumberyes5Vertical gap in px between stacked tiers.
space.facetGapnumberyes28Gap in px between facets of a small-multiple layout.
space.labelPadnumberyes5Padding in px between a mark and its label.
space.tierHeadingGapnumberVertical gap in px between a stacked tier and the title or caption of the tier under it. Absent means tierGap plus three times labelPad (20 px in most presets), so the heading stands at least twice as far from the tier above as from its own panel. A short canvas gives up this extra room first and keeps tierGap.
space.canvasobjectCanvas margin tokens by width class: base covers the small and middle widths, wide covers 1080 px and up. Each class and side is optional. Missing values keep the preset or built-in margin. A class takes a side object, not a bare number.
space.canvas.baseobjectCanvas margins for the small and middle width classes, in px. Each side is optional and stays within 0 to 96.
space.canvas.base.topnumberOne canvas margin side in px (top, right, bottom, left).
space.canvas.base.rightnumberOne canvas margin side in px (top, right, bottom, left).
space.canvas.base.bottomnumberOne canvas margin side in px (top, right, bottom, left).
space.canvas.base.leftnumberOne canvas margin side in px (top, right, bottom, left).
space.canvas.wideobjectCanvas margins at canvas widths of 1080 px and up, in px. Each side is optional and stays within 0 to 96.
space.canvas.wide.topnumberOne canvas margin side in px (top, right, bottom, left).
space.canvas.wide.rightnumberOne canvas margin side in px (top, right, bottom, left).
space.canvas.wide.bottomnumberOne canvas margin side in px (top, right, bottom, left).
space.canvas.wide.leftnumberOne canvas margin side in px (top, right, bottom, left).
space.gapobjectNamed vertical gaps of the fixed frame order; the *Wide variants apply at canvas widths of 1080 px and up.
space.gap.titleSubtitlenumberGap in px between title and subtitle.
space.gap.subtitlePlotnumberGap in px between subtitle and plot area below 1080 px canvas width.
space.gap.subtitlePlotWidenumberGap in px between subtitle and plot area at canvas widths of 1080 px and up.
space.gap.axisFootnotenumberGap in px between the axis band and the footnote below 1080 px canvas width.
space.gap.axisFootnoteWidenumberGap in px between the axis band and the footnote at canvas widths of 1080 px and up.
space.gap.footnoteSourcenumberGap in px between footnote and source line.
space.gap.legendnumberGap in px between plot area and legend band.
space.legendRowHnumberRow height in px of the horizontal legend band.
space.barRowobjectA fixed bar row: bar thickness and row pitch in px, such as 12 and 24. Absent, bar rows share whatever height the canvas gives them. Set, every bar and likert row is pitch px tall, or as tall as its label if that is taller, and a canvas taller than the chart never stretches the rows: the chart lays out at its natural height, draws at the top and leaves the rest of the canvas empty, as a content-fit chart sits at the top of its box. A host that wants the air elsewhere lays the chart out at its natural height (fit: 'content') and places it. An authored options.bandFraction still sets the bar's share of the row.
space.barRow.thicknessnumberyesBar (or bar group) thickness in px. A thickness above the pitch draws the bar at the full row.
space.barRow.pitchnumberyesDistance in px from one row to the next.
space.footerFollowsbooleanOn a canvas with a set height that is taller than the drawn chart, the notes, the source line and a key under the plot stand right under the content, and the spare height stays below them. Absent or true does this. false puts them at the canvas bottom, with the empty band between the content and them. A chart that fills its canvas is not changed.
legendobjectLegend behavior switches.
legend.autobooleanAutomatic legend keys for series without visible names. Absent or false keeps the shipped defaults.
legend.requiredstring'bottom', 'top'Where a key the chart cannot drop goes when the spec hides or leaves the legend: the value key of a tilemap or choropleth. 'top' puts it in one row above the plot, 'bottom' under it. Absent keeps 'top'; a position the spec names wins.
marksobjectDefault mark anatomy. Absent keeps the engine defaults; an authored series marker, fill or colorRole, or a node shape.radius, still wins.
marks.lineMarkersstring'auto', 'none'Default point markers on line series. 'auto' (the default) draws a circle per point up to 12 categories on a line chart and on every combo line; 'none' draws none. A partial period keeps its hollow marker and a bump chart its identity shapes; the latest-point ring is not a marker and stays.
marks.areaTintnumberA single unstacked area (variant 'area', one series, no authored fill, colorRole, palette or PY/PL scenario): the tint amount of color.focus toward the background, 0 to 1 (0.86 = 14 % focus), under a stroke.data line in color.ink. The forecast region keeps its hatch in the full focus. Absent fills the area in its series color under a 2 px line.
marks.nodeRadiusnumberCorner radius in px of a diagram node drawn as a rounded rectangle, and of a group frame (0 to 16). Absent uses surface.chipRadius for nodes and group frames; 0 draws square corners. A node shape.radius wins.
marks.nodeStrokestring'axis', 'grid', 'leader', 'ink', 'inkMuted'The color role of a diagram node's ring: axis, grid, leader, ink or inkMuted. Absent keeps axis, and grid on a muted node.
marks.nodeStrokeWidthnumberWidth in px of a diagram node ring and a group frame (0 to 3). Absent uses stroke.hair.
marks.restOutlinebooleanfalse draws the marks that recede under a highlight (color.rest) without the separation outline marks.contrastEdge: true adds to a fill too close to the background. Absent means true.
marks.areaFromOriginbooleantrue places the first and last category of an area chart (line variants area, stacked-area, stacked100-area) on the plot edges, so the bands start at the value axis; an authored categoryAxis.crossesBetween wins. Absent keeps the categories centered in their bands.
marks.barLabelsstring'auto', 'outside''outside' places a bar chart's value label past the bar end, or drops it (a label-hidden lint) where no room is left there; never inside the bar or in a backed box. On grouped bars that cross zero, a negative value reads right of the zero line, where the positive values start, so the negative side holds only its bars; with no value axis drawn, the domain is the extent plus the label room rather than a rounded one. Absent keeps the cascade: inside the end where it fits, else outside, else inside on a backing. Stacked and stacked100 bars keep each part inside its segment and warn option-ignored.
marks.comboColumnTintnumberA combo's column series with no authored fill, colorRole or palette fill their actual columns in color.focus at this tint amount toward the background, 0 to 1 (0.74 = 26 % focus). Stacked series take a ramp of it: the top series the tint, the ones below stepping down the stacked-area ramp, capped at the full focus (26 / 45 / 70 / 100 % from the top at 0.74). The scenario look wins: a plan outline and a forecast hatch draw in the full focus, and a prior year keeps its scenario color. A washed column takes no separation outline in any scheme: the tint is the theme's choice. Absent keeps the series color.
marks.comboLinestring'series', 'ink''ink' draws a combo's lead line, when it has no authored fill, colorRole, highlight or palette, in color.ink at 1.5 px with the latest-point ring in color.highlight on its last observed point, never on a forecast one; its page-color casing is a half-pixel hairline each side, not a second stroke. Absent keeps the focus at 2 px on a 1.5 px casing.
marks.sparkEndstring'dot', 'ring'The last point of a kpi card's spark, a table spark and a creative trend: 'ring' draws the standalone sparkline's ring, the background with a 1.5 px ring in color.highlight at radius 3.2. Absent keeps 'dot', a filled point in the highlight.
marks.sparkEndLabelbooleanfalse draws a kpi card's spark without the value label at its last point, which repeats the card's own figure; the line then runs the full width. A table spark keeps its label, since its row carries no figure. Absent means true.
marks.sliceOutlinebooleanfalse draws a pie or doughnut slice whose fill is too close to the background with the page-color separator only, without the separation outline marks.contrastEdge: true adds. Absent means true.
marks.othersOutlinebooleanfalse draws an Others mark (the topN Others bucket of a bar, column, pie or butterfly chart, and a series or slice whose colorRole is 'others' in a stacked column, bar or area, a mekko, a combo or a funnel) whose fill is too close to the background without the separation outline marks.contrastEdge: true adds. Absent means true. Waffle rest cells use a floor-clearing fill instead and ignore it.
marks.contrastEdgebooleantrue draws the contrast edges round fills (WCAG 1.4.11). On a light page a fill under 3:1 against the page that no value label carries takes an edge in a deeper shade of its own hue, and a pale stack-ramp step a neutral hair outline. On a light or dark page a fill under the page floor (1.4:1 light, 3:1 dark: an Others, rest, pale slice or pale segment mark, and its key swatch) takes a separation outline; marks.restOutline, marks.othersOutline and marks.sliceOutline then apply. It also lets the palest pie tint and a faded series go past 1.4:1 against the page, as the outline then carries them. Absent means false: no fill on a light or dark page draws a contrast edge or outline. Segment seams, hollow, hatched and dashed marks, and a mark that crosses another fill are unchanged either way.
marks.nodeFillstring'role', 'panel''panel' draws every diagram node of the primary, secondary or muted role on the background with its ring (marks.nodeStroke), so the accent node is the one filled node. Signed, warn and category nodes keep their fills. Absent keeps 'role': primary in the first series color, secondary and muted in color.neutralLight.
marks.kpiCaretbooleanfalse draws a kpi card's delta and comparisons without the leading caret; the signed figure and its tone carry the direction ("+10.4% vs PY"). Absent means true.
marks.kpiSlotFillbooleanfalse keeps a standalone kpi card in a slot of fixed height (a given height or a size preset) at its natural figure and delta sizes, at the top of the slot. Absent means true: the figure grows to a quarter of the slot height and the delta to 30% of the figure, never under their natural sizes, and the value, note and delta sit in the middle of the free height. Grid panels and cards with a spark, compare chips or an attainment keep their layout.
marks.bridgestring'neutral', 'sign'How a waterfall (vertical or horizontal) and a pvm bridge paint their steps. 'sign' draws the totals in color.total (ink when a theme leaves it unset), a rising step in color.goodFill and a falling one in color.badFill, the connectors dotted at 1 px in color.inkMeta, and each step's signed value beside its bar in color.good or color.bad (inside a bar it keeps the contrast ink). A step split into authored segments keeps its segment colors and key; a highlight still selects a total, while a step's color stays its sign. 'neutral' draws the steps in color.neutral, totals in color.total, dashed color.leader connectors. Absent, the steps take their sign's fill (the waterfall's signColor) on dashed leader connectors, unless the spec names a palette.
marks.funnelFillstring'status', 'ramp'How a funnel (rows or centered) fills its bars. 'ramp': a single series takes color.series by stage, stage 1 the first color; an outcome split takes it by series; the lost share, a series whose colorRole is 'status-lost' or 'bad', is color.badFill at 45 % over the background. Status colors never reach the bars, so a status map that borrows a text color cannot fill a stage. An authored series fill wins. Absent means 'status': a colorRole resolves through the theme and a single series takes color.focus.
marks.statusFillstring'quiet', 'full'How a status chart fills its good and neutral cells. Absent means 'quiet': a good cell draws color.goodFill washed toward the page (about 78 %) and a neutral cell color.neutralMark washed less (about 67 %), so off-track and at-risk cells carry the color. Each wash steps back toward its full color until the cell sits further from the page than a cell with no status and stays apart from it and from every other state color, also for red-green color vision. It is decided in the theme the chart is painted in; on a dark page the wash also steps back until the cell reads against the page as clearly as the light wash does on white. A hatched good or neutral state keeps its full color under its hatch, and a plain state of the same tone stays a step stronger than that hatch ground. 'full' fills good and neutral cells with color.goodFill and color.neutralMark as they are.
marks.bulletBandFillstring'light', 'full'How a bullet paints its bands. Absent means 'light': the qualitative bands of every row take the light ladder, the good end 0.06 lightness from the page and each band 0.06 from the next, so the bar stays the darkest mark at any row count. A band with a tone (good, warn, bad, neutral) takes its tone's fill washed toward the page: good sits 0.13 lightness from the page, warn 0.11, bad 0.09 and neutral 0.15, so a wide off-plan zone stays pale and good and bad differ in lightness. An attainment band washes its good and bad fills the same way. It is decided in the theme the chart is painted in. 'full' paints toned bands and attainment bands in color.goodFill, color.warnFill, color.badFill and color.neutralMark as they are, and steps the ladder 0.12 apart on rows that do not print their band names.
marks.arrowobjectThe look of every annotation arrow: a drawn arrow, a callout arrow, a CAGR bracket or growth arrow, a difference, a link, a gap bracket and a band bracket. Absent keys keep the standard: a filled head 8 px long and 7 px wide in color.ink, a shaft in stroke.mark, the tip 6 px off the edge of the mark it points at, the tail 4 px off its text and a shaft of at least 24 px. A difference or bracket tip still touches its level guide. A callout with no seat that keeps the shaft draws no arrow and warns callout-arrow-no-room.
marks.arrow.stylestring'standard', 'compact''compact' brings back the arrows before the standard: heads 4 to 10 px by kind, a stroke.rule shaft, the tip on the point and no shortest shaft; the other marks.arrow keys then do nothing. Absent means 'standard'.
marks.arrow.headnumberHead length in px, tip to base (4 to 24). Absent means 8.
marks.arrow.headWidthnumberHead width in px at its base (3 to 24). Absent means 7.
marks.arrow.tipGapnumberAir in px between the tip and the edge of the mark it points at (0 to 24). Absent means 6.
marks.arrow.tailGapnumberAir in px between the tail and its text (0 to 16). Absent means 4.
marks.arrow.minShaftnumberThe shortest shaft in px, tail to head base (0 to 96). A callout arrow seats its text this far out. Absent means 24.
marks.arrow.strokenumberShaft width in px (0.5 to 4). Absent means the thin stroke.rule line; 1.5 matches stroke.mark.
labelsobjectLabel conventions. Absent keeps the shipped placement.
labels.endLabelPlacementstring'gutter', 'lineEnd'Default for the line option endLabelPlacement: 'gutter' puts every end label right of the plot, 'lineEnd' puts the label of a series that ends early beside its last point.
labels.inkstring'ink', 'muted'Ink of the value and category labels on the page: 'ink' (default) or 'muted', the gray inkMuted. A highlighted mark's labels keep the full ink; labels inside a fill keep their contrast ink.
valueAxisobjectValue-axis conventions. Each switch is off when absent; an explicit chart option wins.
valueAxis.titlesbooleanA drawn value axis without an authored title takes 'Measure, unit' from subtitle.measure and the axis unit (line, column, bar, pareto), where the drawn subtitle does not already print that unit.
valueAxis.includeZerobooleanDefault for valueAxis.includeZero on line charts, so their value axis starts at zero.
valueAxis.dualAxisbooleanA combo with an acknowledged secondary axis draws the dual-axis anatomy; the combo option dualAxis wins.
valueAxis.gridDashstring'solid', 'dotted', 'dashed'The gridlines of a value axis: 'solid' (default), 'dotted' (dash.dotted) or 'dashed' (dash.reference).
interactionobject{"dim":0.25,"outlineWidth":1}Optional host interaction paint tokens. They change paint only; chart geometry is unaffected.
interaction.dimnumber0.25Opacity applied to marks outside the active interaction set (0 to 1); default 0.25.
interaction.outlineWidthnumber1Focus and selection outline width in CSS pixels; default 1.
motionobject{"easing":"ease-out","hoverIntent":80,"fade":120,"travel":160,"layout":160}Optional host interaction timings in milliseconds. They change transitions only; chart geometry is unaffected.
motion.easingstring'ease-out'Easing of the shared interaction transitions: 'linear', 'ease-out', or a cubic-bezier() curve of four numeric control points; default 'ease-out'.
motion.hoverIntentnumber80Delay before a hover interaction activates, in milliseconds; default 80.
motion.fadenumber120Duration of opacity transitions, in milliseconds; default 120.
motion.travelnumber160Duration of positional transitions, in milliseconds; default 160.
motion.layoutnumber160Duration of layout transitions — rows opening, columns appearing, a table growing — in milliseconds; default 160.
schemestring'light', 'dark''light'Fixed color scheme of the family: a light theme stays light on a dark host and a dark theme stays dark. Absent means light-slot behavior with the standard automatic dark pair.
surfaceobject{"chipTint":0.9,"rowTint":0.94,"elapsedTint":0.95,"anchorTint":0.97,"chipRadius":2,"panelShadow":"0 1px 2px rgba(11,27,58,0.10), 0 6px 20px rgba(11,27,58,0.08)"}Surface anatomy for chips, row tints, and schedule washes.
surface.chipTintnumber0.9How far a chip background steps toward the surface (0.05 to 0.97).
surface.rowTintnumber0.94Opacity of the zebra row tint (0.85 to 0.98).
surface.elapsedTintnumber0.95Opacity of the elapsed-era wash in schedule charts (0.85 to 0.99).
surface.ganttRowTintnumberHow far Gantt row and weekend shading washes color.others toward color.background (0 to 1). Default 0.25. The Weekend key uses the same wash, capped at 0.8. Table zebra shading keeps surface.rowTint.
surface.anchorTintnumber0.97Opacity of the structural wash on level-0 parent rows (0.85 to 0.99).
surface.bandTintnumberWeight of color.neutral over color.background for the group-band ground (0 to 1); default 0.06, the zebra weight. The total row takes twice it, capped at 1. A theme whose neutral IS the band color, a sand over a white canvas, sets 0.5: the band then draws at half the neutral and the total at the whole of it. At 1 both grounds are the full neutral and the total no longer reads as the heavier of the two.
surface.gapTintnumberHow far a line chart's gapFill wash steps toward the background (0.5 to 0.95); default 0.82 on a light page and 0.65 on a dark one.
surface.ribbonAlphanumberOpacity of a column ribbon (options.ribbons) over the page (0.15 to 0.6); default 0.35. The column segments keep the full series paint, and a crossing darkens where two ribbons overlap.
surface.ribbonSheetAlphanumberOpacity of a fixed-order ribbon (options.ribbons.order 'sheet') over the page (0.05 to 0.6); default 0.18, lighter than a ranked ribbon, so a dark segment's band does not compete with the columns.
surface.heatStepsarrayBand alphas of a stepped table heat lane, lightest first, over the background (0 to 1). Five bands need four entries: the band above the last one is the full ink with inverse text. Default 0.06 / 0.14 / 0.26 / 0.42.
surface.chipRadiusnumber2Chip corner radius in px (0 to 6).
surface.sparkWashbooleanWhether a spark whose data asks for kind 'area' (a kpi card's spark) draws the wash under its line. false draws it as its line and last point alone, the look of a line spark. Absent means true. Column sparks keep their columns.
surface.sparkAreaBasestring'zero', 'min'Where an area spark (a kpi card's spark of kind 'area') starts its scale and its wash. 'zero' (the default) starts at zero, so the filled height is the value. 'min' starts at the series minimum and fills to the foot of the spark, which stretches the change. Line and column sparks ignore it.
surface.shortfallCapstring'outline', 'solid'How an integrated variance chart draws a cap that ends past the actual's edge, the stretch of the reference the actual does not reach. 'outline' (the default) draws it as an outline in its good or bad color, so the solid shape ends at the actual. 'solid' fills it, the look before. A cap over the actual column, a beat, stays solid either way.
surface.panelShadowstring'0 1px 2px rgba(11,27,58,0.10), 0 6px 20px rgba(11,27,58,0.08)'CSS box-shadow of the notes popover a React chart opens, in the documented grammar (0 1px 2px rgba(...) style). Absent draws no shadow.
strokeobjectLine weights in px by role. Every absent key takes the default value.
stroke.seamnumberThe page-color seam between touching segments of a stack. Absent means 0.5.
stroke.hairnumberGridlines, table row rules, separators between fills and borders. Absent means 0.75.
stroke.rulenumberAxes, zero lines, dividers, leaders, connectors and reference lines. Absent means 1.
stroke.marknumberOutlines, hollow markers, targets and rings. Absent means 1.5.
stroke.datanumberData lines. Absent means 2.
stroke.focusnumberThe data line of an authored focus. Absent means 2.5.
stroke.casingnumberThe halo drawn under a data line where it crosses other marks. Absent means 5.
dashobjectDash patterns as SVG dash arrays by role. Every absent key takes the default value.
dash.referencearrayEvery dashed line: reference, target, forecast and guide lines. Absent means [4, 3].
dash.dottedarrayEvery dotted line. Absent means [1, 3].
tableobject{"head":{"weight":600,"tracking":0},"section":{"weight":500,"tracking":0.14,"ink":"ink"},"headPad":{"top":10,"bottom":8},"groupPad":{"top":8,"bottom":4},"ruleWidths":{"head":1,"row":1},"weights":{"emphasis":600},"mark":"bare","endRule":"none","fixedType":true,"noPrevious":"missing","ofWhich":"ink","glyphs":{"missing":"–","suppressed":"–"},"groupGround":"none","grounds":{"total":"transparent"},"blockRule":"rule","inks":{"secondary":"#5B6B86"},"ruleInk":"#D9DEE8","bar":{"fill":"#DCE4FA"}}Table conventions. Every key is optional; an absent key keeps the engine default. Sizes written here are absolute: type.scale and the table densities never step them.
table.headobject{"weight":600,"tracking":0}Column head face, on the SVG and in the grid. Absent keys fall back to the axis size (stepped by density and width class), weight 400, line height 1.33 and 0.5 px tracking. Column-group heads keep their size one step under the head and take its line height.
table.head.sizenumberFont size in px at every density and width class.
table.head.weightnumber600Font weight (100 to 1000).
table.head.lineHeightnumberLine height as a ratio of the size. Both surfaces reserve a whole-pixel line box, ceil(size x ratio): 10.5 x 1.33 gives 14.
table.head.trackingnumber0Letter-spacing in em of the size (0 to 0.3).
table.head.casestring'upper', 'asis''upper' (the default) capitalizes column heads on the SVG and in the grid, but keeps text after the last comma, text in parentheses or square brackets, and tokens with an inner capital such as mW or kWh as authored. 'asis' keeps each field head as authored, while column-group headings always use the default rule and section rows use capitals.
table.sectionobject{"weight":500,"tracking":0.14,"ink":"ink"}Section row face, on the SVG and in the grid. Absent keys give the column-head size, the emphasis weight, line height 1.33 and tracking 0.14 em.
table.section.sizenumberFont size in px at every density and width class.
table.section.weightnumber500Font weight (100 to 1000).
table.section.lineHeightnumberLine height as a ratio of the size. Both surfaces reserve a whole-pixel line box, ceil(size x ratio): 10.5 x 1.33 gives 14.
table.section.trackingnumber0.14Letter-spacing in em of the size (0 to 0.3).
table.section.inkstring'ink', 'inkMuted', 'inkMeta''ink'Text color of a section heading: 'ink', 'inkMuted' or 'inkMeta'. Absent means 'ink'; every preset sets 'ink'.
table.section.casestring'upper', 'asis'Section heading case: upper (default) or asis.
table.section.spaceBeforenumberAir in px above the label of a section row that follows other rows, inside the row, on the SVG and in the grid, so a new block reads at once. Default one body line box; 0 for none. A section that is the first row under the head takes a quarter line box, never more than this value. The label sits at the bottom of its row.
table.section.rulestring'heavy', 'hair'The line under a section heading, across the full table width, on the SVG and in the grid: 'heavy' (default) twice the rule stroke in the text ink; 'hair' the row rule (table.ruleInk at table.ruleWidths.row), or the text ink under table.headRule 'ink'.
table.fixedTypebooleantrueTrue makes a density change row height and cell padding only: compact heads, body and total keep their size, and the label of a cohort grid's closing row keeps the total face while the matrix cells keep their own step. Absent or false steps compact type 0.5 px down as before.
table.compactStepnumberPx of air the compact density takes off each side of a body row and of the total row (0 to 8). Absent means compact keeps half of each row's regular air, rounded down: 3 px above and below a top-level or group row instead of 7, 2 px for a sub row instead of 4, and 4 px for the total instead of 8. 1 brings back the compact rows of 0.60 and earlier.
table.noPreviousstring'na', 'missing''missing'What a change against the previous column prints where its group has no previous column, such as the first month's month-over-month: 'na' (default) prints n/a, 'missing' prints the missing glyph under the row's missing and the table's nulls policy.
table.ofWhichstring'muted', 'ink''ink''muted' (default) draws ofWhich rows in the muted ink. 'ink' draws their labels and values in the text color: the relation stays arithmetic only, and a muted column or an inline share line stays muted.
table.groupGroundstring'expanded', 'always', 'none''none'Which group rows carry the group ground when options.groupGround is absent. 'expanded': only the header row of an open group. 'always': folded or open, as before 0.28. 'none': none. Every preset sets 'none'; absent in a custom theme, 'expanded'. The Total keeps its own ground (table.grounds.total).
table.glyphsobject{"missing":"–","suppressed":"–"}State glyphs a table prints: missing, na, nm and suppressed. Absent keys keep the engine glyphs.
table.glyphs.missingstring'–'Glyph of a missing value. Default the em dash; the variance chart's missing mark (default the en dash) prints it too when set.
table.glyphs.nastringGlyph of a not-applicable value. Default 'n/a'.
table.glyphs.nmstringGlyph of a not-meaningful value. Default 'n.m.'.
table.glyphs.suppressedstring'–'Glyph of a withheld value, before the footnote marker the engine always appends. Default the em dash.
table.headPadobject{"top":10,"bottom":8}Vertical air of the column-head cells, on the SVG and in the grid. Every preset sets 10 above and 8 to the head rule. Absent means no air above the head on the SVG and 7 px to the head rule, the row air in the grid. A pinned height that misses only on head and group air takes the least air first.
table.headPad.topnumber10Air above the text in px (0 to 24).
table.headPad.bottomnumber8Air below the text in px (0 to 24): to the head rule, or under the group hairline.
table.groupPadobject{"top":8,"bottom":4}Vertical air of the column-group heading row, on the SVG and in the grid: above the heading and under its hairline. Every preset sets 8 above and 4 under. Absent means 6 above and 2 under on the SVG.
table.groupPad.topnumber8Air above the text in px (0 to 24).
table.groupPad.bottomnumber4Air below the text in px (0 to 24): to the head rule, or under the group hairline.
table.markstring'bare', 'boxed''bare'Outline mark: bare or boxed. Every preset sets bare; absent in a custom theme, steering tables draw boxed.
table.dataGapstring'word', 'glyph'What a value the data lacks prints, such as a month not yet reported: 'word' the n/a word ('k. A.' in German), 'glyph' the missing glyph. Absent means 'glyph' where table.glyphs.missing is set (every preset sets it), else 'word'. A cohort grid and nulls: 'blank' keep their own mark.
table.rowsobjectBody rows on one face, on the SVG and in the grid: every rung prints at the label size with this line height and air, so a deep row is as tall as a top one. The ladder then steps weight and indent only. Absent keeps the level ladder.
table.rows.lineHeightnumberLine height as a ratio of the size. Both surfaces reserve a whole-pixel line box, ceil(size x ratio): 10.5 x 1.33 gives 14.
table.rows.padnumberAir above and below a body row's line box in px (0 to 16).
table.weightsobject{"emphasis":600}Label and figure weights by row kind, plus block-column figures and change lines. Absent keys keep the current face.
table.weights.emphasisnumber600Weight of totals, subtotals, results and parent rows, on labels and figures (100 to 1000). Default 600 in every shipped preset; absent in a custom theme, the type.emphasis weight.
table.weights.subtotalnumberSubtotal label weight. Default table.weights.emphasis.
table.weights.resultnumberResult label weight. Default table.weights.emphasis.
table.weights.blocknumberStrong block-column figure weight. Default table.weights.emphasis.
table.weights.figuresobjectFigure weights per presentation kind.
table.weights.figures.membernumberMember figure weight. Default 400 on a leaf and table.weights.emphasis on a parent.
table.weights.figures.measurenumberMeasure figure weight. Default 400 on a leaf and table.weights.emphasis on a parent.
table.weights.figures.subtotalnumberSubtotal figure weight. Default table.weights.emphasis.
table.weights.figures.resultnumberResult figure weight. Default table.weights.emphasis.
table.weights.membernumberLabel weight of a member row, such as a channel (100 to 1000). Default 400 on a leaf and table.weights.emphasis on a parent.
table.weights.measurenumberLabel weight of a measure row, such as a KPI (100 to 1000). Default 400 on a leaf and table.weights.emphasis on a parent.
table.tonesstring'ink', 'fill'How a judged cell prints its tone. 'ink' (default) colors the figure; 'fill' paints the cell ground in table.grounds and keeps the figure in the text ink, so color sits only where performance is judged.
table.groundsobject{"total":"transparent"}Grounds a 'fill' tone paints. An absent key washes its tone toward the background.
table.grounds.subtotalstringSubtotal row ground. Default none; transparent means no fill.
table.grounds.totalstring'transparent'Total row ground. Every preset sets transparent: no fill, the total rule and weight mark the total. Absent in a custom theme, twice the band tint.
table.grounds.goodstringGround of a good judgment. Transparent means no fill.
table.grounds.goodStrongstringGround of a good judgment past its strong threshold (a cell with strong: true). Transparent means no fill.
table.grounds.warnstringGround of a watch judgment. Transparent means no fill.
table.grounds.badstringGround of a bad judgment. Transparent means no fill.
table.barobject{"fill":"#DCE4FA"}Grounds of a size bar, the bar a cell with bar draws from its left edge.
table.bar.fillstring'#DCE4FA'Ground of a size bar. Bridge #DCE4FA, Boardroom #D6E3F0, standard-dark #22384D. Absent, the ink washed far toward the background. Transparent means no fill.
table.bar.mutedstringGround of a size bar in a muted column, such as a partial period. Absent, a paler wash. Transparent means no fill.
table.inksobject{"secondary":"#5B6B86"}Table text colors. Each role accepts a CSS color.
table.inks.headstringColumn-head and group-heading ink of the table family (table, dimswitch, cohort, bar table, status, heatmap), on the SVG and in the React grid. A group note takes table.inks.secondary. A highlighted head keeps its own ink. Default color.ink.
table.inks.subLabelstringHeader second-line ink. Default color.ink.
table.inks.labelstringRow label ink. Default color.ink.
table.inks.childstringDetail and split label ink. Default color.ink.
table.inks.figurestringValue figure ink. Default color.ink.
table.inks.qualifierstringUnit affix ink. Default table.inks.secondary.
table.inks.operatorstringStatement operator ink. Default table.inks.secondary.
table.inks.driverstringDriver label, figure and change ink. A good, warn or bad figure of a driver that options.driverTones allows (grouped by default: a driver under a line) keeps its tone, and a neutral figure and the label keep this ink. Default table.inks.secondary.
table.inks.togglestringFold toggle ink: the +/- mark, and the box under mark boxed. Default table.inks.secondary.
table.inks.secondarystring'#5B6B86'The one table ink that steps back behind a value: change lines, unit affixes, group notes, cell notes and hints, state glyphs, zero figures, muted columns and the fold toggle. On the SVG and in the grid. Bridge #5B6B86, Boardroom #5B6878, standard-dark #9EC3E2. Absent, color.inkMuted.
table.ruleInkstring'#D9DEE8'The quiet table rule, on the SVG and in the grid: row rules, the column-group rule and the column dividers. Bridge #D9DEE8, Boardroom #C3D3E3, standard-dark #344B60. Absent, 25% of color.ink mixed into the background.
table.ruleWidthsobject{"head":1,"row":1}Table rule widths in px.
table.ruleWidths.headnumber1Head rule width in px. Default 1.
table.ruleWidths.rownumber1Row rule width in px, in table.ruleInk. Default 1 in every preset; absent in a custom theme, the hair stroke (0.75).
table.qualifierobjectUnit affix size and gap.
table.qualifier.sizeDeltanumberSize change from the label in px. Default -2.
table.qualifier.gapnumberGap after the label in px. Default 4.
table.toggleobjectFold toggle dimensions.
table.toggle.sizenumberBox size in px. Default 11.
table.toggle.gapnumberOffset before the label in px. Default 17.
table.operatorobjectStatement operator slot.
table.operator.widthnumberSlot width in px. Default 14. Present only when a drawn row has a glyph.
table.resultRulestring'ink', 'rule', 'none'Rule above a result: ink (default), rule or none.
table.finalRulestring'double', 'rule', 'none'Rule under a final result: double (default), rule or none. Double is two 1 px lines with 1 px air.
table.driverobjectDriver row face.
table.driver.italicbooleanItalic driver labels, figures and changes. Default true. Width measurement uses upright metrics.
table.headRulestring'rule', 'ink'The line under the column heads, and under a section heading whose table.section.rule is 'hair': 'rule' (default) in the rule ink, 'ink' in the text ink.
table.blockRulestring'grid', 'rule''rule''rule' draws a 1 px line above an open top-level parent, and above the first top-level row after its block, in the rule ink, on the SVG and in the grid, so an open block reads as one. Column dividers keep table.ruleInk. 'grid' keeps the row rule there. Every preset sets 'rule'; absent in a custom theme, 'grid'.
table.endRulestring'auto', 'none''none'The vertical hairline that closes the rows on the right, on the SVG and in the grid. 'auto' draws it on every table but a cohort grid, after the last column under rowExtent 'tracks' and at the frame edge under 'frame'; 'none' draws it on neither surface, for a host card whose own edge closes the rows. Absent means 'auto'.
table.closeRulestring'rule', 'grid', 'none'The rule under the last body row, on the SVG and in the grid. 'rule' draws it in the rule ink, 'grid' in the row-rule ink (table.ruleInk), 'none' draws none. Absent means 'rule'. A table that ends on its total keeps the total's own rule under it, and the total's other rules stay.

Errors

CodeRaised when
unknown-themethe preset name is not registered
invalid-themea token is unknown or has the wrong type
invalid-theme-overrideoverrides produce a structurally invalid theme
theme-name-reserveda full theme object uses a preset name
unparseable-colora color is unsupported; use hex, rgb(), hsl(), oklch() or var() with a literal fallback
contrast-inkink, or a table ink that stands for it, on background is below 4.5:1
contrast-ink-mutedinkMuted, or a muted table ink, on background is below 3:1
contrast-inside-labela label inside a fill is below its contrast floor
semantic-equals-backgroundgood, bad or highlight equals the background
good-bad-similargood and bad are nearly identical
family-outside-metric-classwarning: the leading family of a type stack is not Inter, Geist, Helvetica, Helvetica Neue, Arial or a metric clone, so text can render wider than measured; pass tables built by boardplot fonts build, see docs/FONTS.md

A retired key, such as space.barGap, is accepted for good: the theme draws without it and warns option-deprecated with a JSON Patch that removes it. A retired preset name, such as ibcs, draws as its successor and warns with a patch that rewrites it. An unknown key that never existed is refused with a suggest that names it and a JSON Patch that removes it. The CLI, the MCP tools, React and parseThemeJson from boardplot/validate give the same warnings, suggests and patches; parseThemeJson throws a refusal as an invalid-theme error whose patch paths start at the theme file.

A resolved theme is FROZEN, all the way down. resolveTheme, the theme on a resolved request and the one a React component reads are the same deeply frozen object, so a write to one throws where it is written instead of changing a theme the engine has already judged and cached. A variant is a new object: spread the resolved theme, or pass overrides and let the engine merge and check them. The engine keeps the merged theme for the overrides object it was given, so a change to that object after the call is not seen: pass a new object for a new theme.

Fonts

Layout measures text with bundled width tables for Geist, Inter, Helvetica, Helvetica Neue, Arial and their metric clones. Helvetica Neue is measured with the Liberation Sans widths of Helvetica; a host that needs exact Helvetica Neue widths builds its own tables with boardplot fonts build. Another leading family returns the warning family-outside-metric-class, a licensed brand font included. FONTS.md describes boardplot fonts build, which writes the tables for a licensed font.