Skip to content

Commit

Permalink
Enhanced the cursor color in dark mode (#1924)
Browse files Browse the repository at this point in the history
  • Loading branch information
isid555 authored Dec 19, 2024
1 parent 7bde92c commit fb25146
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions assets/customcursor.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,31 @@
opacity: 0.2;
transform: translate(-30%, -30%);
border-radius: 50%;
}

.dark-mode .circle {
animation: darkColors 5s infinite;
transform: translate(-50%, -50%);
}

@keyframes darkColors {
0% {
background-color: #ff69b4;
}

20% {
background-color: #f65787;
}

40% {
background-color: #f12771;
}

60% {
background-color: #f51659;
}

100% {
background-color: #f9055a;
}
}

0 comments on commit fb25146

Please sign in to comment.