# NR 4.0 edit theme colour scheme?

**URL:** <https://discourse.nodered.org/t/nr-4-0-edit-theme-colour-scheme/97041>\
**Category:** General\
**Created:** [13 May 2025 03:16 UTC](https://discourse.nodered.org/t/nr-4-0-edit-theme-colour-scheme/97041 "2025-05-13T03:16:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [13 May 2025 03:16 UTC](https://discourse.nodered.org/t/nr-4-0-edit-theme-colour-scheme/97041/1 "2025-05-13T03:16:41Z")

</div>

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. 😉

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)

```auto
    /** 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:

```auto
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:

 ![Screenshot from 2025-05-13 13-32-55](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/2/728841d3cf39697cf73ba9bda60e4a09c4893752.png)

And now it has made a liar of me.

Sorry folks.

---

<div class="post-metadata">

**Author:** ![mbonani](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mbonani/32/10631_2.png) [@mbonani](https://discourse.nodered.org/u/mbonani)\
**Post date:** [13 May 2025 11:00 UTC](https://discourse.nodered.org/t/nr-4-0-edit-theme-colour-scheme/97041/2 "2025-05-13T11:00:39Z")

</div>

> [@Trying\_to\_learn](#):
>
> And now it has made a liar of me.
> 
> Sorry folks.

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

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [13 May 2025 11:03 UTC](https://discourse.nodered.org/t/nr-4-0-edit-theme-colour-scheme/97041/3 "2025-05-13T11:03:08Z")

</div>

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.  
😢

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [27 May 2025 11:03 UTC](https://discourse.nodered.org/t/nr-4-0-edit-theme-colour-scheme/97041/4 "2025-05-27T11:03:31Z")

</div>

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