Skip to content

Commit

Permalink
wat
Browse files Browse the repository at this point in the history
  • Loading branch information
grubersjoe committed Jan 26, 2025
1 parent 0ac7795 commit d8f67c9
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions src/hooks/useLoadingAnimation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,7 @@ export function useLoadingAnimation(zeroColor: string, colorScheme: 'light' | 'd

const style = document.createElement('style')
style.innerHTML = `
@supports (color: ${colorActive}) {
@keyframes ${loadingAnimationName} {
0% {
fill: ${colorLoading};
}
50% {
fill: ${colorActive};
}
100% {
fill: ${colorLoading};
}
}
}
`
document.head.appendChild(style)

Expand Down

0 comments on commit d8f67c9

Please sign in to comment.