[Theme] Domoticz Palettes - 24 colour palettes for the UI and charts (Dracula, Nord, Solarized…)

Moderator: leecollings

Post Reply
User avatar
JeanBonnot
Posts: 14
Joined: Tuesday 22 October 2019 17:22
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Location: France
Contact:

[Theme] Domoticz Palettes - 24 colour palettes for the UI and charts (Dracula, Nord, Solarized…)

Post by JeanBonnot »

Hi all,

I've made a small add-on for the Domoticz web interface that I'd like to share: Domoticz Palettes.

It adds a Palette entry to the navigation bar to switch the whole UI and the charts to a well-known colour palette, plus a slider to adjust corner rounding.

Requires Domoticz 2026.2 or later.

Repository, install instructions and more screenshots: https://github.com/Potatof/domoticz-palettes (MIT license)

(Device names in the screenshots were replaced with placeholder names for privacy, so don't mind the "Attic" showing the wind or the "Cellar" measuring rain 😉)

Image

Features
  • 24 palettes from popular code editors and apps: Dracula, One Dark, Monokai, Nord, Gruvbox, Tokyo Night, Catppuccin, VS Code, Solarized, Notepad++, GitHub, Windows 11, macOS, Material You, Spotify, Discord…
  • High readability palettes too: High contrast, and Okabe-Ito (colour-blind safe)
  • Charts follow the palette: temperature stays "yellow", setpoint "green", humidity "blue"… with the palette's own shades. Transparency, zones and gradients are kept.
  • Per device: the choice is stored in the browser, so your PC, tablet and TV can each have their own look
  • Corner rounding slider: from 0 (square corners) to ×3, with live preview
  • 9 languages: English, Français, Deutsch, Italiano, Español, Nederlands, Português, Polski, Українська (follows the Domoticz UI language)
  • Every palette is tested for text contrast (WCAG AA)
Nothing is written to Domoticz: no database change, no settings, no restart, no command sent to devices. It's a single JavaScript block appended to styles/<theme>/custom.js.

Dracula, temperature chart
Image

Solarized Light
Image

Install: clone the repository above on the Domoticz machine, then:

Code: Select all

cd domoticz-palettes
./install.sh          # or: ./install.sh --www /path/to/domoticz/www
Then reload the page with Ctrl+F5. A Domoticz update restores the original custom.js: just run ./install.sh again. To uninstall: ./install.sh --remove

Requires Domoticz 2026.2 or later (CSS-variable theming). Tested with 2026.4 (build 18556), default theme. It's provided as is, use at your own risk; feedback, bug reports and new palettes or translations are welcome through GitHub issues or here.

Enjoy!
Post Reply