Repository navigation
fix(editor): make disabled wires visible in dark theme - #5926
Merged
knolleary merged 2 commits intoSep 8, 2026
Merged
Conversation
$link-disabled-color reused $border-2 (#2a2a2c), a divider/border tone that is nearly identical to the dark theme's canvas background ($canvas-bg: #0e0e12), so a disabled flow's wires became almost invisible. Use the same #444444 already established elsewhere in this file for "disabled but still visible" elements (e.g. $node-config-icon-container-disabled), giving disabled wires the same dimmed-relative-to-active relationship the light theme already has between $link-color (node-red#999) and $link-disabled-color (#ccc). Fixes node-red#5879 Co-Authored-By: Claude Sonnet 5 <[email protected]> Signed-off-by: Bryandero98 <[email protected]>
build (22)'s only failure (storage/localfilesystem/library > should return a newly saved library flow, expecting file3.json but getting file3.json.$$$) is unrelated to this PR's one-line SCSS color change, and main itself has had intermittent failures on this same workflow recently - retriggering rather than assuming it's caused by this change. Co-Authored-By: Claude Sonnet 5 <[email protected]> Signed-off-by: Bryandero98 <[email protected]>
knolleary
approved these changes
Sep 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #5879 — in the dark theme, disabled flow's wires were almost invisible.
Root cause
$link-disabled-colorindark-colors.scsswas set to$border-2(#2a2a2c), a divider/border tone that is nearly identical to the dark theme's canvas background ($canvas-bg: #0e0e12). Since disabled-wire strokes use this variable (flow.scss,.red-ui-workspace-disabled/.red-ui-flow-node-disabled), the wires blended into the background instead of reading as "dimmed."Fix
Use
#444444— the value this same file already uses elsewhere for "disabled but still visible" UI (e.g.$node-config-icon-container-disabled). This mirrors the relationship the light theme already has between its active and disabled link colors ($link-color: #999vs$link-disabled-color: #ccc— the disabled one is dimmed relative to active, not indistinguishable from the page background).Verification
Compiled the editor's sass (
sass packages/node_modules/@node-red/editor-client/src/sass/style.scss) before and after the change and confirmed:--red-ui-link-disabled-color: #444444;instead of#2a2a2c.--red-ui-link-disabled-color: #cccis unchanged.🤖 Generated with Claude Code