Is there a smart way to build "color swatches" in Ws?
Is there a smart way to build "color swatches" in Ws?
At a glance
The community members are discussing how to build a form element where the user can select a color or an image. They mention using tokens as a way to manage the color palette, and suggest that in the future, CSS variables would be a better approach. Some community members are unsure about how to implement the color selection functionality, and there is a discussion around using radio buttons, forms, and JavaScript to achieve the desired functionality. One community member suggests using Radix radio for full customization of the color selection UI.