Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update: Add css var to wallet icons to allow for setting a contract color where applicable #1803

Closed
wants to merge 2 commits into from

Conversation

Adamj1232
Copy link
Member

@Adamj1232 Adamj1232 commented Jun 30, 2023

Add css var to wallet icons to allow for setting a contract color where applicable.
This issue arose from some wallet icons disappearing if the text color is set to the same color as the background of the wallet icon containers within the select wallet modal.
Adding a contrast var: --onboard-wallet-icon-contrast-color that takes precedent allows devs to fix this issue without any side affects.
If the color is hardcoded it can also be lost or hard to see with dark or light background.

Checklist

  • Increment the version field in package.json of the package you have made changes in following semantic versioning and using alpha release tagging
  • Check the box that allows repo maintainers to update this PR
  • Test locally to make sure this feature/fix works
  • Run yarn check-all to confirm there are not any associated errors
  • Confirm this PR passes Circle CI checks
  • Add or update relevant information in the documentation

@vercel
Copy link

vercel bot commented Jun 30, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
web3-onboard-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 30, 2023 3:12pm

@socket-security
Copy link

New dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
@web3-onboard/frame 2.21.2-alpha.1 None +0 6.17 kB cmeisl

@Adamj1232
Copy link
Member Author

Not necessary for now

@Adamj1232 Adamj1232 closed this Jul 6, 2023
@Adamj1232 Adamj1232 deleted the fix/add_wallet_icon_color_var branch September 11, 2023 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants