mat-spinner svg {
    display: none;
}

mat-spinner {
    position: relative;
    overflow: hidden !important;
}

mat-spinner::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    color: inherit !important;
    background-image: url('../../images/spinner.svg') !important;
    background-size: cover;
    animation: rotate 2.0s linear infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}