Cartesian charts
Font size of goal line labels
Labels used in cartesian charts, such as axis ticks and series.
Optional
padding?: stringPadding around the chart.
Optional
border?: 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.
Optional
gridBorderColor?: stringBorder color of the dashboard grid, shown only when editing dashboards.
Defaults to colors.border
Optional
numberNumber chart
Optional
value?: { 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
Optional
zIndex?: numberz-index of overlays. Useful for embedding components in a modal. Defaults to 200.
Background color for all questions
Optional
toolbar?: { backgroundColor?: string }Toolbar of the default interactive question layout
Data tables *
Optional
backgroundColor?: 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
.
Optional
idColumn?: { backgroundColor?: string; textColor: string }Optional
backgroundColor?: stringBackground color of ID column, defaults to lighten(brand)
Text color of ID column, defaults to brand
.
Optional
stickyBackgroundColor?: stringBackground color of the table header that stays fixed while scrolling. Defaults to white
if no cell background color is set
Optional
tooltipTooltip
Optional
backgroundColor?: stringTooltip background color.
Optional
focusedBackgroundColor?: stringTooltip background color for focused rows.
Optional
secondaryTextColor?: stringSecondary text color shown in the tooltip, e.g. for tooltip headers and percentage changes.
Optional
textColor?: stringTooltip text color.
Theme options for customizing specific Metabase components and visualizations.