Skip to content

ThemeTokens

The visual tokens a theme can set. Any token left unset falls back to Visivo's built-in light or dark theme.

Attributes

Field Type Default Description
colorway Any of: string, array None Series colors, assigned to traces in order. Either a list of colors or the name of a predefined palette.
font_family string None CSS font stack used by charts, tables and markdown.
font_size integer None Base font size in pixels for chart text.
background string None Page background behind dashboard items. Hex color, e.g. #1d2136.
surface string None Background of charts, tables and other dashboard cards. Hex color, e.g. #1d2136.
text string None Primary text color. Hex color, e.g. #1d2136.
muted_text string None Secondary text, axis ticks and labels. Hex color, e.g. #1d2136.
border string None Card borders and axis lines. Hex color, e.g. #1d2136.
grid string None Chart gridlines. Hex color, e.g. #1d2136.
accent string None Highlight color for selected inputs, gauges and table hover rows. Hex color, e.g. #1d2136.
plotly_layout Layout None Plotly layout properties merged into every chart's template. A chart's own layout still takes precedence.