node-red-contrib-themes/midnight-red
- Unraid is up and running with docker
- Node-Red docker installed and working
ssh into unraid server
Open a shell into the nodered container and install the midnight-red theme package:
$ docker exec -it NodeRed-Official-Docker bash
# cd /data
# npm install @node-red-contrib-themes/midnight-red /data
# exit
$
Go to the Node-Red applications directory in Unraid:
$ cd /mnt/user/appdata/nodered/
Open settings.js in text editor:
$ vi settings.js
Search for this (it is at the end of the file):
// Customising the editor
editorTheme: {
projects: {
// To enable the Projects feature, set this value to true
enabled: false
}
}
Add the "page" section of json as shown below:
// Customising the editor
editorTheme: {
projects: {
// To enable the Projects feature, set this value to true
enabled: false
},
page: {
css: "/data/node_modules/@node-red-contrib-themes/midnight-red/theme.css"
}
}
Save your changes
Restart Node-Red in the Unraid UI and you should have midnight-red theme up and running
- Note: Docker updates made should keep the theme