mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Dark Mode: Loading Heartbeat (#14015)
This commit is contained in:
parent
524e0aaf07
commit
91a30bc464
@ -12,7 +12,7 @@ const LOADING_CLASS = `${BASE_CLASS}--active`;
|
|||||||
|
|
||||||
export default function LoadingHeartBeat({
|
export default function LoadingHeartBeat({
|
||||||
estimateUsed,
|
estimateUsed,
|
||||||
backgroundColor = '#fff',
|
backgroundColor = 'var(--color-background-default)',
|
||||||
}) {
|
}) {
|
||||||
useShouldAnimateGasEstimations();
|
useShouldAnimateGasEstimations();
|
||||||
const active = useSelector(getGasLoadingAnimationIsShowing);
|
const active = useSelector(getGasLoadingAnimationIsShowing);
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
background: #fff;
|
background: var(--color-background-default);
|
||||||
display: none;
|
display: none;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user