[Archive] Openlogin Adapter Whitelabeling contrast problem

:classical_building: Archived Content from Web3Auth Community

This topic was originally posted by githubdiscussions on 9/1/2022.
This content has been migrated from our previous community forum to preserve valuable discussions.


In case when whitelabeling OpenLogin Adapter with options: dark: true, and setting the primary color to a light one (e.g. theme: { primary: '#FFFF00' }) there are some contrast problems (see attached screenshots).

My suggestion is to implement switching to dark text / icon background when light primary colors are used for whitelabeling OpenLogin Adapter.

Screenshots

screenshot-1
screenshot-2
screenshot-3



Originally posted by: kubrysh

Check the discussion at: https://github.com/orgs/Web3Auth/discussions/522