From fb2514631115905a1b2019404b0223be80f09428 Mon Sep 17 00:00:00 2001 From: Siddharth~R <142113902+isid555@users.noreply.github.com> Date: Thu, 19 Dec 2024 12:12:32 +0530 Subject: [PATCH] Enhanced the cursor color in dark mode (#1924) --- assets/customcursor.css | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/assets/customcursor.css b/assets/customcursor.css index a749bf262..873bb67cc 100644 --- a/assets/customcursor.css +++ b/assets/customcursor.css @@ -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; + } } \ No newline at end of file