Theming
Theme and accent
Section titled “Theme and accent”Set them on the app config node:
- Theme:
dark,lightorsystem. Viewers can still toggle from the header; their choice is remembered per browser. - Accent:
teal,blue,violet,amberor any colour (see Branding).
Try the theme switch at the top of this page: the live demos follow it.
Branding
Section titled “Branding”Also on the app config node (the dialog has a colour picker with the four presets as quick picks):
| Field | What it does |
|---|---|
| Accent | A preset, or any hex colour (#rrggbb or #rgb). |
| Logo, Dark logo | An image URL shown in the top bar and the sidebar, with the title as its alt text. The dark one is used in the dark theme when set. |
| Title | The header text and the browser tab title. |
| Short name | The short app name, for the home screen once the dashboard is installable as an app. |
| Custom CSS | Advanced and unsupported (see below). |
Custom accent. The server derives the whole accent set from your colour, for dark and light: the colour of text on it (--accent-fg), the soft background (--accent-soft) and the first chart series. It nudges the lightness (never the hue) so that text on the accent and the accent on every surface (page, tiles, the selected link) reach WCAG AA, 4.5:1. A very light colour is darkened on the light theme and a very dark one lightened on the dark theme, so what you see can differ a little from what you typed; the presets are unchanged. Nothing is computed in the browser, so the dashboard does not get heavier.
Logos come from the media library — pick one with the image button next to the field (the dashboard’s files, uploaded from the browser, media/<name>) — or are a path relative to the dashboard (/logo.svg, served from Node-RED’s httpStatic folder, so it works offline) or an http(s) URL. Anything else (data:, javascript:, //host/…) is ignored, with a warning in the Node-RED log. A relative path (logo.svg) resolves against the dashboard path and usually 404s.
Custom CSS is appended to one stylesheet, /<path>/brand.css (same origin, no CDN), loaded after the theme. It can restyle anything with the tokens below, but it is not supported: class names and structure may change between versions, so check it after you upgrade. Colors should still come from the tokens (var(--accent)), so both themes keep working.
A deploy that changes any of this updates open dashboards without a reload (the stylesheet URL carries a version).


A custom accent (#f76707), a logo and a dark logo, in both themes. The light theme gets a darker orange, as described above.
Font, density and corner radius
Section titled “Font, density and corner radius”Three more settings on the app config node (and in the builder’s Dashboard settings → Appearance → Style) change how the whole dashboard looks, with no per-widget work. Each one is optional: Normal is today’s look, a dashboard without them renders exactly as before and the stylesheet gets nothing for it.
Field (tessera-base) |
Values | What it does |
|---|---|---|
Font (font) |
System (empty), humanist, geometric, serif, mono, custom |
The font of the dashboard, charts included. |
Family name, Font file (fontFamily, fontUrl) |
text, a .woff2 path |
Only for custom: the name you give the font and the file. |
Density (density) |
Normal (empty), compact |
Compact tightens the paddings, gaps and control heights (to 62.5%, 67% and 82% of Normal). |
Corner radius (radius) |
None, Small, Normal (empty), Large | Scales the corners of tiles, widgets, controls, dialogs and notifications (0, 45%, 100%, 155% of Normal). |
Fonts. Humanist, geometric, serif and monospace are system font stacks: nothing is downloaded, each machine shows the first font of the stack it has (so the look differs a little between Windows, macOS and Linux, and a stack can fall back to the default sans on a machine that has none of its fonts). The Custom option takes a .woff2 file of your own. There is no Google Fonts or any other third-party font service: dashboards often run offline, and the file always comes from the Node-RED that serves the dashboard.
A custom font needs the file to be served by Node-RED, the same way as a logo: put it in the httpStatic folder of settings.js,
httpStatic: '/home/pi/static', // /home/pi/static/fonts/plant.woff2 is served as /fonts/plant.woff2and set Font file to /fonts/plant.woff2 and Family name to the name you want (1 to 60 letters, digits, spaces, - or _). The path starts with /: a relative one such as fonts/plant.woff2 is read against the dashboard path (/tessera/fonts/…) and usually gives a 404. A full URL, a //host path, a query or any other character is ignored with a warning in the Node-RED log, and the dashboard keeps its own font. Until both fields are valid the dashboard also keeps its own font.
Uploaded images need no httpStatic folder: the builder stores them in tessera-media/ inside the Node-RED user directory and the dashboard serves them itself, at /<path>/media/<file> (so they work offline too). PNG, JPEG, WebP, GIF and sanitised SVG only; one setting caps the size of an upload:
tessera: { mediaMaxSize: 5 * 1024 * 1024 }, // bytes, 5 MB by defaultVersion history. On every deploy that changes a dashboard, Node-RED saves a snapshot of it (the dashboard node, its pages and its widgets: configuration only, no wires and no credentials) in tessera-versions/ inside the user directory, one folder per dashboard. A deploy that changes nothing in it saves nothing. One setting caps how many unnamed versions each dashboard keeps; named versions are never removed and do not count towards the limit:
tessera: { versionsMax: 50 }, // unnamed versions kept per dashboard, 50 by defaultDashboard only. These settings change the dashboard, not the builder: while you edit, the palette, the inspector, the toolbar and the settings dialog keep their own look, and only the page shows the new font, density and corners.
The CSS hook still wins. The settings are :root tokens in brand.css, written before your custom CSS, so a rule of yours overrides them. Authors can also read or set the tokens:
| Token | Meaning |
|---|---|
--font-sans |
the dashboard font stack |
--radius-k |
factor of every corner radius (1 = Normal, 0 = none) |
--pad-k, --gap-k |
factors of paddings and of gaps (1 = Normal) |
--ctl-k |
factor of the height of buttons and fields (1 = Normal) |

The same dashboard with Serif, Compact and a Large corner radius.
Design tokens
Section titled “Design tokens”Everything visual derives from CSS variables. Components never hardcode colors.
| Token | Use |
|---|---|
--bg, --surface, --surface-2, --surface-3 |
page and tile backgrounds |
--line, --line-strong |
borders |
--fg, --muted, --faint |
text |
--accent, --accent-fg, --accent-soft |
brand color |
--ok, --warn, --alarm |
status |
--series-1 … --series-6 |
chart series |
--font-sans, --radius-k, --pad-k, --gap-k, --ctl-k |
font, corner radius, spacing and control height (see above) |