可选
colors颜色调色板
可选
components组件主题选项
可选
cartesian?: {笛卡尔图表
可选
goalLine?: { label?: { fontSize?: string } }可选
label?: { fontSize?: string }可选
fontSize?: string目标线标签的字体大小
可选
label?: { fontSize?: string }可选
fontSize?: string笛卡尔图表中使用的标签,例如坐标轴刻度线和系列。
可选
padding?: string图表周围的填充。
可选
collectionBrowser?: {可选
dashboard?: {可选
backgroundColor?: string可选
card?: { backgroundColor?: string; border?: string }可选
backgroundColor?: string可选
border?: string设置后为仪表板卡片添加自定义边框。值与 CSS 中的 border 属性相同,例如“1px solid #ff0000”。这将替换卡片的阴影。
可选
gridBorderColor?: string仪表板网格的边框颜色,仅在编辑仪表板时显示。默认为 colors.border
可选
number?: { value?: { fontSize?: FontSize<string | number>; lineHeight?: string } }数字图表
可选
value?: { fontSize?: FontSize<string | number>; lineHeight?: string }数字图表上显示的值。这也适用于趋势图中的主要值。
可选
pivotTable?: {数据透视表 *
可选
cell?: { fontSize?: string }可选
fontSize?: string单元格值的字体大小,默认为约12px
可选
rowToggle?: { backgroundColor?: string; textColor?: string }切换数据透视表行的按钮
可选
popover?: { zIndex?: number }弹出框
可选
zIndex?: number覆盖层的z-index。在模态框中嵌入组件时很有用。默认为200。
可选
question?: { backgroundColor?: string; toolbar?: { backgroundColor?: string } }可选
backgroundColor?: string所有问题的背景颜色
可选
toolbar?: { backgroundColor?: string }默认交互式问题布局的工具栏
可选
table?: {数据表 *
可选
cell?: { backgroundColor?: string; fontSize?: string; textColor?: string }可选
backgroundColor?: string单元格的默认背景颜色,默认为 background
可选
fontSize?: string单元格值的字体大小,默认为约12.5px
可选
textColor?: string单元格文本颜色,默认为 text-primary
。
可选
idColumn?: { backgroundColor?: string; textColor: string }可选
backgroundColor?: stringID 列的背景颜色,默认为 lighten(brand)
ID 列的文本颜色,默认为 brand
。
可选
stickyBackgroundColor?: string滚动时保持固定的表格标题背景颜色。如果未设置单元格背景颜色,则默认为 white
可选
tooltip?: {工具提示
可选
backgroundColor?: string工具提示背景颜色。
可选
focusedBackgroundColor?: string焦点行工具提示背景颜色。
可选
secondaryTextColor?: string工具提示中显示的次要文本颜色,例如用于工具提示标题和百分比变化。
可选
textColor?: string工具提示文本颜色。
可选
font将用于所有文本的字体系列,默认为实例的默认字体。
可选
font基本字体大小。支持的单位有 px、em 和 rem。默认为约14px(0.875em)
可选
line基准行高
嵌入式 Metabase 组件的主题配置。