mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +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({
|
||||
estimateUsed,
|
||||
backgroundColor = '#fff',
|
||||
backgroundColor = 'var(--color-background-default)',
|
||||
}) {
|
||||
useShouldAnimateGasEstimations();
|
||||
const active = useSelector(getGasLoadingAnimationIsShowing);
|
||||
|
@ -5,7 +5,7 @@
|
||||
left: 0;
|
||||
right: 0;
|
||||
opacity: 0;
|
||||
background: #fff;
|
||||
background: var(--color-background-default);
|
||||
display: none;
|
||||
pointer-events: none;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user