Skip to content

Themes and branding

One theme styles the whole dashboard: the charts (palette, fills, ink), the page (header, cards, tabs, tiles, tables, inputs) and every output — the browser, a locked server, the CLI’s HTML and SVG, and the PNG / HTML exports.

SELECT 'dark'::THEME; -- built-in: light, dark, print, colorblind, high-contrast
SELECT 'acme+dark'::THEME; -- your theme with a dark variant
SELECT content::THEME FROM read_text('themes/acme.json'); -- a corporate theme from a file
SELECT 'de-DE'::LOCALE; -- numbers and dates: 1.234,5 · 7. Nov. 2026
SELECT 'Sales cockpit'::DASHBOARD_TITLE;
SELECT 'ACME Analytics'::BRAND;
SELECT 'assets/acme.svg'::LOGO;

A theme file sets colours (brand, palette, sequential and diverging ramps, positive / negative), fonts and the page chrome. A viewer’s dark-mode preference picks the dark variant. A locked server can set one theme for every dashboard and add an operator stylesheet (::CLASS hooks into it).

Locales: en-US, en-GB, en-IE, de-DE, fr-FR. Axis and value formats: '€'::YFORMAT, 'percent'::YFORMAT, '%b %Y'::XFORMAT, and ::MONEY / ::COMPACT on tiles and table columns.

Theme reference → · Accessibility →