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-contrastSELECT 'acme+dark'::THEME; -- your theme with a dark variantSELECT content::THEME FROM read_text('themes/acme.json'); -- a corporate theme from a fileSELECT 'de-DE'::LOCALE; -- numbers and dates: 1.234,5 · 7. Nov. 2026SELECT '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.