Optional
colorsColor palette
Optional
componentsComponent theme options
Optional
cartesian?: {Cartesian charts
Optional
goalLine?: { label?: { fontSize?: string } }Optional
label?: { fontSize?: string }Optional
fontSize?: stringFont size of goal line labels
Optional
label?: { fontSize?: string }Optional
fontSize?: stringLabels used in cartesian charts, such as axis ticks and series.
Optional
padding?: stringPadding around the chart.
Optional
collectionBrowser?: {Optional
dashboard?: {Optional
backgroundColor?: stringOptional
card?: { backgroundColor?: string; border?: string }Optional
backgroundColor?: stringOptional
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
number?: { value?: { fontSize?: FontSize<string | number>; lineHeight?: string } }Number chart
Optional
value?: { fontSize?: FontSize<string | number>; lineHeight?: string }Value displayed on number charts. This also applies to the primary value in trend charts.
Optional
pivotTable?: {Pivot table *
Optional
cell?: { fontSize?: string }Optional
fontSize?: stringFont size of cell values, defaults to ~12px
Optional
rowToggle?: { backgroundColor?: string; textColor?: string }Button to toggle pivot table rows
Optional
popover?: { zIndex?: number }Popover
Optional
zIndex?: numberz-index of overlays. Useful for embedding components in a modal. Defaults to 200.
Optional
question?: { backgroundColor?: string; toolbar?: { backgroundColor?: string } }Optional
backgroundColor?: stringBackground color for all questions
Optional
toolbar?: { backgroundColor?: string }Toolbar of the default interactive question layout
Optional
table?: {Data tables *
Optional
cell?: { backgroundColor?: string; fontSize?: string; textColor?: string }Optional
backgroundColor?: stringDefault background color of cells, defaults to background
Optional
fontSize?: stringFont size of cell values, defaults to ~12.5px
Optional
textColor?: stringText 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
tooltip?: {Tooltip
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.
Optional
fontFont family that will be used for all text, it defaults to the instance's default font.
Optional
fontBase font size. Supported units are px, em and rem. Defaults to ~14px (0.875em)
Optional
lineBase line height
Theme configuration for embedded Metabase components.