@node-red-contrib-themes/oled
Advanced tools
Comparing version 1.2.0-beta.2 to 1.2.0-beta.3
{ | ||
"name": "@node-red-contrib-themes/oled", | ||
"version": "1.2.0-beta.2", | ||
"version": "1.2.0-beta.3", | ||
"description": "A Node-RED dark theme for OLED displays", | ||
@@ -12,2 +12,3 @@ "repository": { | ||
"nodered", | ||
"plugin", | ||
"oled", | ||
@@ -14,0 +15,0 @@ "dark", |
@@ -18,9 +18,12 @@ # OLED Node-RED theme | ||
Install via npm. | ||
Install via npm | ||
```shell | ||
$ cd ~/.node-red | ||
$ npm install @node-red-contrib-themes/oled | ||
npm install @node-red-contrib-themes/oled | ||
``` | ||
## Configuration | ||
### Node-RED version 1.3.0 or later | ||
Add the following to the `editorTheme` section of your `settings.js`, and then restart Node-RED. | ||
@@ -57,6 +60,6 @@ | ||
css: [ | ||
"<HOME>/.node-red/node_modules/@node-red-contrib-themes/oled/theme.css" | ||
"<user-dir>/node_modules/@node-red-contrib-themes/oled/theme.css" | ||
// Uncomment the next two lines if you want to use the themed scrollbars. | ||
// , | ||
// "<HOME>/.node-red/node_modules/@node-red-contrib-themes/oled/theme-scrollbars.css", | ||
// "<user-dir>/node_modules/@node-red-contrib-themes/oled/theme-scrollbars.css", | ||
] | ||
@@ -67,4 +70,3 @@ } | ||
Replace `<HOME>` with the home directory of the user running Node-RED. For | ||
example, `/home/username`. | ||
Replace `<user-dir>` with the Node-RED User directory. For example, `/home/username/.node-red`. | ||
@@ -71,0 +73,0 @@ For more details on the configuration please refer to the |
160240
89