Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@node-red-contrib-themes/theme-collection) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Node-RED Contrib Theme Collection
A collection of themes for Node-RED.
Installation
Install via the Palette Manager
Search for @node-red-contrib-themes/theme-collection
Install with npm
Run the following command from within the Node-RED user data directory (by default, $HOME/.node-red).
npm install @node-red-contrib-themes/theme-collectionTheme list
If you have an idea for a new theme, you can request it here, or better yet, create one yourself.
Usage
Set theme: "<theme-name>" in the editorTheme object in your settings.js and then restart Node-RED.
For example, this sets Node-RED to use the midnight-red theme.
editorTheme: {
theme: "midnight-red"
},For details on the Node-RED's configuration file and its structure, please refer to the Node-RED official documentation.
Monaco Editor Theme
Each theme in this collection comes with a pre-configured theme for the Monaco editor.
Just leave theme in the codeEditor object commented out.
For example, this sets Node-RED to use the dracula theme and its pre-configured theme for the Monaco editor.
editorTheme: {
theme: "dracula",
codeEditor: {
lib: "monaco",
options: {
// theme: "",
},
},
},Mermaid Theme
Each theme in this collection comes with a pre-configured theme for the Mermaid diagramming and charting tool.
Just leave theme in the mermaid object commented out.
For example, this sets Node-RED to use the dark theme and its pre-configured theme for the Mermaid diagramming and charting tool.
editorTheme: {
theme: "dark",
mermaid: {
// theme: "",
},
},Development
Please refer to the DEVELOPMENT.md file for details on how to set up a local development environment.
License
This project is licensed under the MIT license.