Comfy-Org / Comfy-Org/ComfyUI_frontend

[Potential Bug] Node Color Handling

Open
#6,806 1 comment 0 reactions 0 assignees View on GitHub
area:nodes area:ui Custom Node Potential Bug
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

Hey there, I'm using a modified version of Pythongosssss customColors.js ([PR](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/pull/433)) to handle node title bar and background colors independently.
One of the recent changes resulted in nodes' title bars no longer displaying that color, showing only the selected background color for the entire node instead.
The workflow json also correctly lists the separate colors for title bar and background and the edited script still works.

However, the Note and Markdown Note nodes are exceptions to this, which still display the colors as before those changes.

Is that behaviour intentional?

# Before

![Image](https://github.com/user-attachments/assets/8879902f-c658-43fa-a1f3-5b7c0c974a66)

# After

![Image](https://github.com/user-attachments/assets/2268795b-6372-43fe-8594-41d13db2c8b1)

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-6806-Potential-Bug-Node-Color-Handling-2b26d73d365081e3840cc9ffe5772c71) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.