Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

Latest commit

 

History

History
84 lines (54 loc) · 2.32 KB

README.md

File metadata and controls

84 lines (54 loc) · 2.32 KB

DEPRECATED REPOSITORY

As of Node-RED 3.0, this theme is maintained in the Node-RED Contrib Theme Collection repository.

DEVELOPERS: If your project uses this theme as a dependency, please update your project as this repository will no longer be maintained.

Node-RED Contrib Theme: Dark

A dark theme for Node-RED.

screenshot

This theme is part of the Node-RED Contrib Theme Collection.

Install

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/dark

Usage

Add theme: "dark" to the editorTheme object in your settings.js and then restart Node-RED.

editorTheme: {
    theme: "dark",
},

For details on the Node-RED's configuration file and its structure, please refer to the Node-RED official documentation.

Themed Scrollbars (EXPERIMENTAL)

Includes the theme and changes the scrollbars to make them better fit the theme.

NOTE: This is EXPERIMENTAL and may not work on all browsers.

Add theme: "dark-scroll" to the editorTheme object in your settings.js and then restart Node-RED.

editorTheme: {
    theme: "dark-scroll",
},

Monaco Editor Theme

This package comes with a pre-configured theme for the Monaco editor.

Just leave theme under codeEditor commented out in your settings.js and then restart Node-RED.

editorTheme: {
    theme: dark,
    codeEditor: {
        lib: "monaco",
        options: {
            // theme: "",
        },
    },
},

License

This project is licensed under the MIT license.

Like my work?

If you like my work please give it a GitHub ⭐️.

Also, consider supporting me with a coffee ☕.

Buy Me A Coffee