Cartesian charts
Font size of goal line labels
Labels used in cartesian charts, such as axis ticks and series.
Optionalpadding?: stringPadding around the chart.
Optionalborder?: stringAdd custom borders to dashboard cards when set. Value is the same as the border property in CSS, such as "1px solid #ff0000". This will replace the card's drop shadow.
OptionalgridBorderColor?: stringBorder color of the dashboard grid, shown only when editing dashboards.
Defaults to colors.border
OptionalnumberNumber chart
Optionalvalue?: { fontSize?: CSSProperties["fontSize"]; lineHeight?: string }Value displayed on number charts. This also applies to the primary value in trend charts.
Pivot table *
Font size of cell values, defaults to ~12px
Button to toggle pivot table rows
Popover
OptionalzIndex?: numberz-index of overlays. Useful for embedding components in a modal. Defaults to 200.
Background color for all questions
Optionaltoolbar?: { backgroundColor?: string }Toolbar of the default interactive question layout
Data tables *
OptionalbackgroundColor?: stringDefault background color of cells, defaults to background
Font size of cell values, defaults to ~12.5px
Text color of cells, defaults to text-primary.
OptionalidColumn?: { backgroundColor?: string; textColor: string }OptionalbackgroundColor?: stringBackground color of ID column, defaults to lighten(brand)
Text color of ID column, defaults to brand.
OptionalstickyBackgroundColor?: stringBackground color of the table header that stays fixed while scrolling. Defaults to white if no cell background color is set
OptionaltooltipTooltip
OptionalbackgroundColor?: stringTooltip background color.
OptionalfocusedBackgroundColor?: stringTooltip background color for focused rows.
OptionalsecondaryTextColor?: stringSecondary text color shown in the tooltip, e.g. for tooltip headers and percentage changes.
OptionaltextColor?: stringTooltip text color.
Theme options for customizing specific Metabase components and visualizations.