Forum Discussion

patrickpy's avatar
patrickpy
New Contributor
2 months ago

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

  • 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

    • rodwa4's avatar
      rodwa4
      New Member

      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's avatar
        1P_Dave
        Icon for Moderator rankModerator

        rodwa4​ 

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

        -Dave