Closed prabhjodh closed 8 months ago
There is no Color Field in the Spectrum Design system at current, so I'm not sure there would be any form of specification against which to build this pattern.
Hi, I spoke with the design team about this, and while they are aware of it, developing a design spec for this is not prioritised for them at the moment. This would be its own component. If this component were to exist, it would be used in conjunction with other colour elements, as seen below:
Code of conduct
Name of component
sp-color-field
Link to the Spectrum assets
https://react-spectrum.adobe.com/react-spectrum/ColorField.html
Design specification
Add the support for ColorField component which can be used to get color string as an input (in formats such as HEX and RGB) and also provide with the support to format and validate the color strings according to the color mode (same as React Spectrum's ColorField component).
Interaction
No response
Accessibility
No response
API requirements
Same as React Spectrum's ColorField
Other requirements
No response