feat: add OKLCH color conversion and display in palette
As of right now we don't offer a OKLCH format in our palette.json and the corresponding NPM package. Since the website just builds the colour tables based on that this request is likely better raised on ctp/palette instead.
Aside from that: The current layout is already quite overwhelming. Adding in another colour format into the current tables doesn't seem like a good idea to me. Tho I wanted to revisit this along with a couple other this at some point anyway – hopefully making it easier to offer a wider variety of colour definition formats.
okay. Regardless this is giving me a bit of a headache
As of right now we don't offer a OKLCH format in our palette.json and the corresponding NPM package. Since the website just builds the colour tables based on that this request is likely better raised on ctp/palette instead.
Aside from that: The current layout is already quite overwhelming. Adding in another colour format into the current tables doesn't seem like a good idea to me. Tho I wanted to revisit this along with a couple other this at some point anyway – hopefully making it easier to offer a wider variety of colour definition formats.
@unseen-ninja so what's the move here? Should we just add a link to a hex -> OKLCH converter? Or maybe some accordion-like UI which the user can select their format preference?
just as an idea or inspiration :) this is from a local page I made for own use, featuring beside other things also a quick access catppuccin palette:
OnClick the hex-format is copied, on right click more color formats are shown. something similar could be an option, as it is relatively easy to implement, and it all gets a little bit cleaner, as there are not 4 color formats shown for every color :)