1
0
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:
David Walsh 2022-03-18 19:20:40 -05:00 committed by GitHub
parent 524e0aaf07
commit 91a30bc464
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;