OptionalcolorsColor palette
OptionalcomponentsComponent theme options
Optionalcartesian?: {Cartesian charts
OptionalgoalLine?: { label?: { fontSize?: string } }Optionallabel?: { fontSize?: string }OptionalfontSize?: stringFont size of goal line labels
Optionallabel?: { fontSize?: string }OptionalfontSize?: stringLabels used in cartesian charts, such as axis ticks and series.
Optionalpadding?: stringPadding around the chart.
OptionalsplitLine?: { lineStyle?: { color?: string } }OptionalcollectionBrowser?: {Optionaldashboard?: {OptionalbackgroundColor?: stringOptionalcard?: { backgroundColor?: string; border?: string }OptionalbackgroundColor?: stringOptionalborder?: 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
Optionalnumber?: { value?: { fontSize?: FontSize<string | number>; lineHeight?: string } }Number chart
Optionalvalue?: { fontSize?: FontSize<string | number>; lineHeight?: string }Value displayed on number charts. This also applies to the primary value in trend charts.
OptionalpivotTable?: {Pivot table *
Optionalcell?: { fontSize?: string }OptionalfontSize?: stringFont size of cell values, defaults to ~12px
OptionalrowToggle?: { backgroundColor?: string; textColor?: string }Button to toggle pivot table rows
Optionalpopover?: { zIndex?: number }Popover
OptionalzIndex?: numberz-index of overlays. Useful for embedding components in a modal. Defaults to 200.
Optionalquestion?: { backgroundColor?: string; toolbar?: { backgroundColor?: string } }OptionalbackgroundColor?: stringBackground color for all questions
Optionaltoolbar?: { backgroundColor?: string }Toolbar of the default interactive question layout
Optionaltable?: {Data tables *
Optionalcell?: { backgroundColor?: string; fontSize?: string; textColor?: string }OptionalbackgroundColor?: stringDefault background color of cells, defaults to background
OptionalfontSize?: stringFont size of cell values, defaults to ~12.5px
OptionaltextColor?: stringText 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
Optionaltooltip?: {Tooltip
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.
OptionalfontFont family that will be used for all text, it defaults to the instance's default font.
OptionalfontBase font size. Supported units are px, em and rem. Defaults to ~14px (0.875em)
OptionallineBase line height
Theme configuration for embedded Metabase components.