raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.31k stars 3k forks source link

[Color Picker] Misleading `oklch()` format #12794

Closed oskarkrawczyk closed 2 months ago

oskarkrawczyk commented 4 months ago

Extension

https://www.raycast.com/thomas/color-picker

Raycast Version

1.75.2

macOS Version

14.5

Description

The extension format configuration for OKLCH implies one format:

Screenshot 2024-06-06 at 16 37 04

Which is what I expect, the first argument (L) to be set in percentage, yet when I pick a color or convert, the first value is an integer (0-1).

Both are valid as per spec.

Steps To Reproduce

Copying or generating a OKLCH color.

Current Behaviour

Copying or generating a OKLCH color produces: oklch(<number> < number> <number>)

Expected Behaviour

Should be oklch(<percentage> <number> <number>)

raycastbot commented 4 months ago

Thank you for opening this issue!

🔔 @thomaspaulmann @otakustay @EmersonEmerson @pernielsentikaer @arronhunt @kvdo2 @thomaslombart @LitoMore @samuelkraft you might want to have a look.

💡 Author and Contributors commands The author and contributors of `thomas/color-picker` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.
pernielsentikaer commented 4 months ago

CC @samuelkraft

samuelkraft commented 4 months ago

Reopening as the previous implementation didn't work reliably

raycastbot commented 2 months ago

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊

raycastbot commented 2 months ago

This issue has been automatically closed due to inactivity.

Feel free to comment in the thread when you're ready to continue working on it 🙂

You can also catch us in Slack if you want to discuss this.