fix: use primary foreground color for floated label

Change from secondary (gray) to primary (white) for better visibility
on dark node backgrounds.
This commit is contained in:
bymyself
2026-02-01 20:05:37 -08:00
parent c5b0bd5b2b
commit 11be80203f

View File

@@ -5,7 +5,7 @@
:class="
cn(
'rounded-lg space-y-1 focus-within:ring focus-within:ring-component-node-widget-background-highlighted transition-all',
'[&_label]:bg-transparent [&_label]:text-component-node-foreground-secondary [&_label]:text-xs',
'[&_label]:bg-transparent [&_label]:text-component-node-foreground [&_label]:text-xs',
widget.borderStyle
)
"