Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

Commit

Permalink
remove classes and use child selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
alongoni committed May 3, 2022
1 parent 6ff50a3 commit 0f5fad6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
10 changes: 7 additions & 3 deletions src/apps/explorer/pages/styled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,19 @@ const EyesOpacity = keyframes`
export const StyledCowLoading = styled(SVG)`
animation: ${CowBounce} 1.5s infinite ease-in-out;
animation-delay: -1s;
.cowHead {
path:nth-child(1) {
fill: ${({ theme }): string => theme.white};
opacity: 0.4;
}
.eyesBg {
path:nth-child(2),
path:nth-child(3) {
fill: ${({ theme }): string => theme.bg1};
opacity: 1;
}
.eyes {
path:nth-child(4),
path:nth-child(5) {
fill: ${({ theme }): string => theme.orange};
animation: ${EyesOpacity} 1.5s ease-in-out infinite;
filter: blur(1px);
Expand Down
21 changes: 8 additions & 13 deletions src/assets/img/cowLoading.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0f5fad6

Please sign in to comment.