A runtime dark mode patch for CNCjs 1.11.0.
This patch modifies:
/usr/lib/node_modules/cncjs/dist/cncjs/app/index.hbs
It injects a dark theme layer after CNCjs loads, then applies runtime fixes for React-rendered inline styles, xterm console rendering, settings pages, and visualizer workflow controls.
"curl -sSL https://github.com/norgan/CNCjs_DarkMode/blob/main/cncjs-darkmode-patch.sh | sudo bash"
Tested on CNCjs 1.11.0 running on Debian 13/Raspberry Pi. Workspace and settings.
Not Tested: User account pages, help, any other ancillary pages.
git clone https://github.com/norgan/CNCjs_DarkMode chmod +x cncjs-darkmode-patch.sh sudo ./cncjs-darkmode-patch.sh
Main workspace:
Console:
Settings:

This is a runtime patch, not an official CNCjs theme system.
It may need to be re-applied after CNCjs updates or reinstalls. A backup of index.hbs is created automatically under:
/opt/cncjs-darkmode-backup/