mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-20 14:54:12 +00:00
Now correctly implements all aspects of the LiteGraph drawNode monkey patch: 1. Header colors: Apply opacity + lightness adjustments like LiteGraph 2. Body colors: Apply same adjustments to background as LiteGraph 3. Opacity setting: Support 'Comfy.Node.Opacity' setting from user preferences 4. Light theme: Apply lightness=0.5 to both header and body in light theme This ensures Vue nodes have pixel-perfect color matching with LiteGraph nodes across all themes and opacity settings.