@node-red-contrib-themes/solarized-dark
Advanced tools
Comparing version 1.0.2 to 1.1.0-beta.1
{ | ||
"name": "@node-red-contrib-themes/solarized-dark", | ||
"version": "1.0.2", | ||
"version": "1.1.0-beta.1", | ||
"description": "A solarized dark theme for Node-RED", | ||
@@ -28,3 +28,8 @@ "repository": { | ||
}, | ||
"homepage": "https://github.com/node-red-contrib-themes/solarized-dark#readme" | ||
"homepage": "https://github.com/node-red-contrib-themes/solarized-dark#readme", | ||
"node-red": { | ||
"plugins": { | ||
"solarized-dark": "theme.js" | ||
} | ||
} | ||
} |
@@ -10,5 +10,5 @@ # Solarized Dark Node-RED theme | ||
## About | ||
<a href="https://www.buymeacoffee.com/mbonani" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-red.png" alt="Buy Me A Coffee" height="60px" width="217px"></a> | ||
A solarized dark theme for [Node-RED][node-red]. | ||
A [solarized][solarized] dark theme for [Node-RED][node-red]. | ||
@@ -19,20 +19,45 @@ ![screenshot](https://raw.githubusercontent.com/node-red-contrib-themes/solarized-dark/master/images/screenshot.png) | ||
Change to the Node-RED `userDir` directory, usually `~/.node-red`. | ||
Install via npm. | ||
```shell | ||
cd ~/.node-red | ||
$ cd ~/.node-red | ||
$ npm install @node-red-contrib-themes/solarized-dark | ||
``` | ||
Install this package. | ||
Add the following to the `editorTheme` section of your `settings.js`, and then restart Node-RED. | ||
```shell | ||
npm install @node-red-contrib-themes/solarized-dark | ||
```js | ||
editorTheme: { | ||
theme: "solarized-dark" | ||
} | ||
``` | ||
Add the following to the `editorTheme` section of your `settings.js`. | ||
### Themed Scrollbars (EXPERIMENTAL) | ||
This includes changes to the scrollbars to make them better fit the theme. | ||
**NOTE**: This is ***EXPERIMENTAL*** and may not work on all browsers. | ||
If you want to try it, change the `editorTheme` section of your `settings.js` to | ||
look like the following, and then restart Node-RED. | ||
```js | ||
editorTheme: { | ||
theme: "solarized-dark-scroll" | ||
} | ||
``` | ||
### Node-RED versions from 1.0.0 to 1.2.9 | ||
Add the following to the `editorTheme` section of your `settings.js`, and then restart Node-RED. | ||
```js | ||
editorTheme: { | ||
page: { | ||
css: "<HOME>/.node-red/node_modules/@node-red-contrib-themes/solarized-dark/theme.css" | ||
css: [ | ||
"<HOME>/.node-red/node_modules/@node-red-contrib-themes/solarized-dark/theme.css" | ||
// Uncomment the next two lines if you want to use the themed scrollbars. | ||
// , | ||
// "<HOME>/.node-red/node_modules/@node-red-contrib-themes/solarized-dark/theme-scrollbars.css", | ||
] | ||
} | ||
@@ -48,22 +73,4 @@ } | ||
Restart Node-RED. | ||
Enjoy! | ||
## Update | ||
Change to the Node-RED `userDir` directory, usually `~/.node-red`. | ||
```shell | ||
cd ~/.node-red | ||
``` | ||
Update this package. | ||
```shell | ||
npm update @node-red-contrib-themes/solarized-dark | ||
``` | ||
Reload the Node-RED page on the web browser. | ||
## License | ||
@@ -78,3 +85,3 @@ | ||
[license-shield]: https://img.shields.io/github/license/node-red-contrib-themes/solarized-dark.svg | ||
[maintenance-shield]: https://img.shields.io/maintenance/yes/2020.svg | ||
[maintenance-shield]: https://img.shields.io/maintenance/yes/2021.svg | ||
[node-red-doc]: https://nodered.org/docs/user-guide/runtime/configuration | ||
@@ -84,1 +91,2 @@ [node-red]: https://nodered.org/ | ||
[npm-shield]: https://nodei.co/npm/@node-red-contrib-themes/solarized-dark.png | ||
[solarized]: https://ethanschoonover.com/solarized/ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
153912
8
2631
88
2