Skip to main content
Sep 2, 2025 10:40 PM UTC
Question

Chrome extension broken in dark mode when using oklch

This took me a bit to debug, and unfortunately I don't have a minimal reproduction available, but here's the issue, on a website I'm working on we use shadcn, which in turns uses OKLCH to define colors, which is not supported by the chrome extension at the moment.

I found the code in the extension for this, and it expecting a RGB color:

 

 

Would it be possible to update the extension to support OKLCH as well?

For example this is the style I'm using 

 

3 replies

1P_Dave
1Password Employee
1Password Employee
Oct 1, 2025 7:43 PM UTC

Hello @patrickpy! 👋

Thank you for reporting this! Our developers have an internal work item open to look into supporting more colour spaces (such as OKLCH) and I've added your comment there. 

-Dave

Issue=FS-426

Oct 2, 2025 5:59 AM UTC

@1P_Dave I'm just adding on here - same issue. OKLCH has become pretty widely used and makes onepassword look really bad on a lot of sites. 

1P_Dave
1Password Employee
1Password Employee
Oct 2, 2025 1:46 PM UTC

@rodwa4 

Thank you for the feedback, I've passed along your comment as well! 

-Dave