NR 4.0 edit theme colour scheme?

Sorry folks, brain failure.

I've just rebuilt a machine with bookworm and THE LATEST NR.
(4.0.9)

When it installed it asked me some nice questions which I thought would be applied.

But the edit window is a bright white and burns me eyes. :wink:

I've tried quickly but can't find how to make it dark.
I remember it asking and I picked a dark theme.

So I'm (again) missing an elephant.

Thanks in advance.

(from the settings.js file)

    /** Customising the editor
     * See https://nodered.org/docs/user-guide/runtime/configuration#editor-themes
     * for all available options.
     */
    editorTheme: {
        /** The following property can be used to set a custom theme for the editor.
         * See https://github.com/node-red-contrib-themes/theme-collection for
         * a collection of themes to chose from.
         */
        theme: "midnight-red",

        /** To disable the 'Welcome to Node-RED' tour that is displayed the first
         * time you access the editor for each release of Node-RED, set this to false
         */
        //tours: false,

        palette: {
            /** The following property can be used to order the categories in the editor
             * palette. If a node's category is not in the list, the category will get
             * added to the end of the palette.
             * If not set, the following default order is used:
             */
            //categories: ['subflows', 'common', 'function', 'network', 'sequence', 'parser', 'storage'],
        },
        projects: {
            /** To enable the Projects feature, set this value to true */
            enabled: false,
            workflow: {
                /** Set the default projects workflow mode.
                 *  - manual - you must manually commit changes
                 *  - auto - changes are automatically committed
                 * This can be overridden per-user from the 'Git config'
                 * section of 'User Settings' within the editor
                 */
                mode: "manual"
            }
        },

Which - to me - doesn't look right as the docs say:

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 

And being anal, there is a } after the theme's name.
There isn't in the code I posted.
But if I put one there, NR errors.

quick screen grab of the error:

And now it has made a liar of me.

Sorry folks.

I'm a little confused. Does that mean it's working correctly now?

Yeah, sorry.

AFAIK, it is.

I didn't want to delete the thread as if I did other GREMLINS would get out.

Alas I've had to give up on that whole thing for today.
Other other things to now look at.
:cry:

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.