Merge pull request #10082 from 370417/colorize-logo

Colorize the logo spinner to match the old spinner
pull/10075/merge
Thibault Duplessis 2021-11-06 14:08:42 +01:00 committed by GitHub
commit a9283981ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

View File

@ -32,6 +32,22 @@
}
}
@keyframes spinner-color {
0%,
100% {
stroke: #42a5f5;
}
25% {
stroke: #f44336;
}
50% {
stroke: #fdd835;
}
75% {
stroke: #4caf50;
}
}
.spinner {
width: 70px;
height: 70px;
@ -47,6 +63,10 @@
animation: mask3 2s cubic-bezier(0, 0, 0.431, 1) infinite;
}
g {
animation: spinner-color 8s steps(1) infinite;
}
.white & path {
stroke: #fff;
}