Skip to content

Node-RED 5.0.6 Dark Theme is removing custom color settings from groups #5922

Closed

Description

@VisualReversal

Current Behavior

When switching to the dark theme (either by selecting it in settings or automatically) the custom group colors are removed. Custom group label font colors and group border colors appear to remain unchanged.

Image

Expected Behavior

Custom group colors should remain after changing to the dark theme.

Image

Steps To Reproduce

  1. Open the Node-RED editor in a browser (this was tested in both Safari and Chrome on a Mac)
  2. Go to Settings and change the appearance setting to either dark or auto
  3. When the appearance changes from light to dark the custom group colors will disappear
  4. Change to the light setting and the custom colors will return

Environment

  • Node-RED version: 5.0.6
  • Node.js version: v22.23.2
  • npm version: 10.9.8
  • Platform/OS: Node-RED running on Rpi 400 / Debian GNU/Linux 12 (bookworm)
    Node-RED editor running on MacBook Pro M4 Max / MacOS Golden Gate 27 Dev Beta 8
  • Browser: Tested in both Safari and Chrome

Activity

  1. sathyanarayanan-v commented on Sep 8, 2026

    @sathyanarayanan-v

    I am able to reproduce this issue. I will work on this issue and open a PR!

  2. VisualReversal commented on Sep 8, 2026

    @VisualReversal
    Author

    @sathyanarayanan-v - Awesome! I'm not a coder, but let me know if I can help out in any way. Thanks for taking this on.

  3. sathyanarayanan-v commented on Sep 9, 2026

    @sathyanarayanan-v

    @knolleary and @bonanitech PR #5878 introduced below changes to dark-theme

    $group-default-fill:           #ffffff;
    $group-default-fill-opacity:   0.03;

    @bonanitech how to reproduce the issue that PR #5878 fixes? The fill-opacity 0.03 is what @VisualReversal sees in the UI.

    I toggled the fill-opacity back to 1 and it fixes this issue. I wanted to ensure that I do not break what #5878 fixed.

    Instead, I think a better fix would be to toggle the opacity back to 1 specifically when a custom color is chosen, rather than changing the default via the CSS variable. That way the 0.03 default (and whatever #5878 was fixing) stays intact, and custom colors aren't affected by it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions