mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 14:30:41 +00:00
fix: use smoke-700 for dark mode text-secondary and slot-text contrast
smoke-800 (#8a8a8a) was too dark on charcoal surfaces for text roles. smoke-700 (#a0a0a0) is closer to the original slate values and maintains adequate contrast ratios (5.5:1 on charcoal-600, 4.7:1 on charcoal-400).
This commit is contained in:
@@ -349,7 +349,7 @@
|
||||
--node-component-ring: rgb(var(--color-smoke-500) / 20%);
|
||||
--node-component-slot-dot-outline-opacity: 10%;
|
||||
--node-component-slot-dot-outline: var(--color-white);
|
||||
--node-component-slot-text: var(--muted-foreground);
|
||||
--node-component-slot-text: var(--color-smoke-700);
|
||||
--node-component-surface-highlight: var(--color-smoke-800);
|
||||
--node-component-surface-hovered: var(--color-charcoal-600);
|
||||
--node-component-surface-selected: var(--color-charcoal-200);
|
||||
@@ -373,7 +373,7 @@
|
||||
);
|
||||
--color-interface-panel-job-progress-border: var(--base-foreground);
|
||||
|
||||
--text-secondary: var(--muted-foreground);
|
||||
--text-secondary: var(--color-smoke-700);
|
||||
--text-primary: var(--color-white);
|
||||
|
||||
--input-surface: rgb(130 130 130 / 0.1);
|
||||
|
||||
Reference in New Issue
Block a user