mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-31 13:29:55 +00:00
## Summary Adds support for the color picker widget when using Litegraph nodes, it is already supported in Nodes 2.0 ## Changes - **What**: Add custom drawing of color picker widget using HTML 5 native color input element - This enables us to add a core node using the COLOR type that works on both legacy and Nodes 2.0 ## Screenshots (if applicable) Chrome Windows: <img width="743" height="493" alt="image" src="https://github.com/user-attachments/assets/b2e421e0-3a1e-4b72-8856-ae5e40ac0661" /> Firefox Windows: <img width="606" height="447" alt="image" src="https://github.com/user-attachments/assets/27db5552-6ba2-4de0-af26-ea1727808b4b" /> Nodes 2.0 (unchanged): <img width="597" height="258" alt="image" src="https://github.com/user-attachments/assets/8bfcf408-e11b-481e-b78f-208b4db80f05" /> ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8384-Add-color-picker-widget-using-native-HTML5-input-element-2f76d73d365081c69fe2f39f01fff539) by [Unito](https://www.unito.io)