mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Dark Mode: Fix QR display (#14312)
This commit is contained in:
parent
8cb1f4af2e
commit
5a159ef991
@ -43,7 +43,9 @@ const Player = ({ type, cbor, cancelQRHardwareSignRequest, toRead }) => {
|
|||||||
alignItems={ALIGN_ITEMS.CENTER}
|
alignItems={ALIGN_ITEMS.CENTER}
|
||||||
flexDirection={FLEX_DIRECTION.COLUMN}
|
flexDirection={FLEX_DIRECTION.COLUMN}
|
||||||
>
|
>
|
||||||
<QRCode value={currentQRCode.toUpperCase()} size={250} />
|
<div style={{ border: '20px solid var(--qr-code-white-background)' }}>
|
||||||
|
<QRCode value={currentQRCode.toUpperCase()} size={250} />
|
||||||
|
</div>
|
||||||
</Box>
|
</Box>
|
||||||
<Box paddingBottom={4} paddingLeft={4} paddingRight={4}>
|
<Box paddingBottom={4} paddingLeft={4} paddingRight={4}>
|
||||||
<Typography align={TEXT_ALIGN.CENTER}>
|
<Typography align={TEXT_ALIGN.CENTER}>
|
||||||
|
@ -8,4 +8,8 @@
|
|||||||
--goerli: #3099f2;
|
--goerli: #3099f2;
|
||||||
--localhost: #29b6af;
|
--localhost: #29b6af;
|
||||||
--flask-purple: #8b45b6;
|
--flask-purple: #8b45b6;
|
||||||
|
|
||||||
|
// DO NOT CHANGE
|
||||||
|
// Required for the QR reader to work properly
|
||||||
|
--qr-code-white-background: '#fff';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user