authgear / authgear-server

Open source alternative to Auth0 / Firebase Auth
https://www.authgear.com
Apache License 2.0
72 stars 29 forks source link

UI Settings background color picker doesn't show any color #4346

Open cychiuae opened 1 week ago

cychiuae commented 1 week ago

Describe the bug When changing the background color value in UI Settings page, the color preview doesn't show corresponding color

Authgear Version

To Reproduce Steps to reproduce the behavior:

  1. Go to UI Settings Page
  2. Change the background color (the one at the bottom)
  3. No effect show and color preview doesn't show corresponding color

Expected behavior Have visual effect on the preview and preview show correct color

Screenshots

https://github.com/authgear/authgear-server/assets/10144357/6ef9a3ac-2559-4cb2-bfaa-ac5a3984e88a

linear[bot] commented 1 week ago

DEV-1423 UI Settings background color picker doesn't show any color

fungc-io commented 1 week ago

@yinyinchiu, i found the problem to be the alpha channel

Maybe we should show a checkbox pattern underneath the preview box, so the user can tell transparent and white apart

Screen Recording 2024-06-20 at 16.03.59.mov