Core logic for the color-picker widget implemented as a state machine
github.com/chakra-ui/zag
chakra-ui/zag