From 04b03e22f8401bca9e0cab907d4226afdd35d2ae Mon Sep 17 00:00:00 2001 From: Christian Byrne Date: Wed, 30 Jul 2025 01:24:00 -0700 Subject: [PATCH] [Subgraph] Use color palette colors for subgraph io node slot labels (#1176) --- src/subgraph/SubgraphSlotBase.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/subgraph/SubgraphSlotBase.ts b/src/subgraph/SubgraphSlotBase.ts index bf5b148e8..2b1b3a130 100644 --- a/src/subgraph/SubgraphSlotBase.ts +++ b/src/subgraph/SubgraphSlotBase.ts @@ -137,7 +137,7 @@ export abstract class SubgraphSlot extends SlotBase implements SubgraphIO, Hover if (!this.displayName) return const [x, y] = this.labelPos - ctx.fillStyle = this.isPointerOver ? "white" : "#AAA" + ctx.fillStyle = this.isPointerOver ? "white" : (LiteGraph.NODE_TEXT_COLOR || "#AAA") ctx.fillText(this.displayName, x, y) }