Skip to content

Commit

Permalink
fix: add background for okx wallet in connect modal (#11381)
Browse files Browse the repository at this point in the history
* fix: add background for okx wallet in connect modal

* fixup! fix: add background for okx wallet in connect modal
  • Loading branch information
UncleBill authored and guanbinrui committed Feb 18, 2024
1 parent b1df038 commit 3baf134
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared/src/UI/modals/ConnectWalletModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const useStyles = makeStyles<{ contentBackground?: string }>()((theme, props) =>
},
connectWith: {
fontSize: '14px',
color: Sniffings.is_dashboard_page ? '#07101B' : theme.palette.maskColor.dark,
color: Sniffings.is_dashboard_page ? '#07101B' : theme.palette.common.black,
fontWeight: 700,
},
error: {
Expand Down
Binary file modified packages/web3-shared/evm/src/assets/okx.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions packages/web3-shared/evm/src/constants/descriptors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,8 @@ export const PROVIDER_DESCRIPTORS: ReadonlyArray<ProviderDescriptor<ChainId, Pro
homeLink: 'https://www.okx.com/web3',
shortenLink: 'okx.com',
downloadLink: 'https://www.okx.com/web3',
backgroundGradient:
'linear-gradient(90deg, rgba(98, 152, 234, 0.2) 1.03%, rgba(98, 152, 234, 0.2) 1.04%, rgba(98, 126, 234, 0.2) 100%), linear-gradient(0deg, #FFFFFF, #FFFFFF)',
},
{
ID: `${PLUGIN_ID}_opera`,
Expand Down

0 comments on commit 3baf134

Please sign in to comment.