Styling¶
How do I change the theme?¶
Set theme: at the board root to clarity, paper, vivid, neon, or stark. See Themes.
Is there a dark mode?¶
neon is the dark theme. Custom dark themes extend it. See The five built-in themes.
How do I make my own brand theme?¶
Create charts/_my-brand.yaml with extends: clarity and your overrides, then extends: it from each board. See Custom themes.
How do I set the theme for a whole project?¶
Put theme: and other presentation keys in charts/meta.yml. dbt_charts.yml is for engine settings only and rejects them. See Project Configuration.
How do I change the font?¶
Set style.fonts.body.family for prose and style.fonts.heading.family for titles and headings. See Typography.
How do I change the background color?¶
style.background on the board for the page, or on a chart for that chart's card. See Global Styling.
How do I add a border or rounded corners to a section?¶
Set style.border on the nested board, as a CSS shorthand or a width / color / radius block. See Board Styling.
How do I move or remove the "Data as of" timestamp?¶
style.timestamp.position and style.timestamp.align place it; style.timestamp.format rewrites the text. See Data-freshness stamp.
Can I use raw HTML?¶
Yes, with html_policy: trusted-raw at the board root, for dashboards you control. Cloud caps this. See HTML Policy.
Why do my emoji look gray?¶
Emoji render in a calm monochrome by default. Set style.font.emoji: system-default for color emoji. See Emoji handling.