triplex
triplex copied to clipboard
Color input should have text input next to it instead of just being a color picker
Currently color inputs in the editor have a hard coded assumption that if "color" is in the prop name, and it's a string, that it is a color and displays the color picker.
We should extend the color picker input so it shows a textinput next to it that you can use to set the color if you don't want to go through the color picker.
Code: https://github.com/try-triplex/triplex/blob/main/packages/editor/src/ui/color-input.tsx