Skip to content

Instantly share code, notes, and snippets.

@unixweb
Created May 24, 2018 09:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unixweb/dec105f87af3fd340f5c2547e6c47497 to your computer and use it in GitHub Desktop.
Save unixweb/dec105f87af3fd340f5c2547e6c47497 to your computer and use it in GitHub Desktop.
/home/ubuntu/.node-red/lib/themes
// name: MyTheme
{"theme":{"base-color":{"default":"#4B7930","value":"#4B7930","edited":false},"page-titlebar-backgroundColor":{"value":"#4B7930","edited":false},"page-backgroundColor":{"value":"#111111","edited":false},"page-sidebar-backgroundColor":{"value":"#000000","edited":false},"group-textColor":{"value":"#ffffff","edited":true},"group-borderColor":{"value":"#555555","edited":false},"group-backgroundColor":{"value":"#4b7930","edited":true},"widget-textColor":{"value":"#eeeeee","edited":false},"widget-backgroundColor":{"value":"#4b7930","edited":false},"widget-borderColor":{"value":"#333333","edited":false},"base-font":{"value":"-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif"}},"site":{"name":"Node-RED Dashboard","hideToolbar":"false","allowSwipe":"false","allowTempTheme":"true","dateFormat":"DD/MM/YYYY","sizes":{"sx":48,"sy":48,"gx":6,"gy":6,"cx":6,"cy":6,"px":3,"py":3}}}
@unixweb
Copy link
Author

unixweb commented May 24, 2018

Install this File named by "Mytheme.js" in Home Directory of running Node-Red

example:
/home/pi/.node-red/lib/themes as Mytheme.js (don't rename it !! )

Open Node-Red and go to dashboard tab and click -> Tab Theme -> Style "Custom" -> Custom Profile -> click "Open Library and select -> MyTheme -> Click -> Deploy !

bildschirmfoto 2018-05-24 um 10 55 41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment