mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
Dark Mode: Fix QR display (#14312)
This commit is contained in:
parent
78f68b3dab
commit
e4197abfae
@ -43,7 +43,9 @@ const Player = ({ type, cbor, cancelQRHardwareSignRequest, toRead }) => {
|
||||
alignItems={ALIGN_ITEMS.CENTER}
|
||||
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 paddingBottom={4} paddingLeft={4} paddingRight={4}>
|
||||
<Typography align={TEXT_ALIGN.CENTER}>
|
||||
|
@ -8,4 +8,8 @@
|
||||
--goerli: #3099f2;
|
||||
--localhost: #29b6af;
|
||||
--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