Skip to content

feat: add OKLCH color conversion and display in palette #193

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sk337
Copy link

@sk337 sk337 commented Mar 12, 2025

No description provided.

@sk337 sk337 marked this pull request as draft March 13, 2025 15:36
@unseen-ninja
Copy link
Member

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 unseen-ninja added the enhancement New feature or request label Mar 20, 2025
@sk337
Copy link
Author

sk337 commented Mar 20, 2025

okay. Regardless this is giving me a bit of a headache

@lundjrl
Copy link

lundjrl commented May 28, 2025

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants