Remove SVG animation on GitHub/NPM (#2512)

* perf: remove SVG animation

* update readme

* Revert "update readme"

This reverts commit 71abb6629d.
This commit is contained in:
Nate Moore 2022-01-31 17:36:25 -06:00 committed by GitHub
parent f3b35023fd
commit 7af5abb55c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,25 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 1012 506">
<style>
.bg {
transform-origin: center center;
}
#banner {
animation: marquee 30s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
#banner {
animation-play-state: paused;
}
}
@keyframes marquee {
0% {
transform: translateX(66px);
}
100% {
transform: translateX(-130px);
}
}
</style>
<path fill="#F1BCBE" d="M0 0h1012v506H0z"/>
<g id="bgs" clip-path="url(#a)">

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB