changed color for timer items

This commit is contained in:
Batyr 2025-06-03 15:06:38 +05:00
parent 2255446afa
commit 7e9dc4b82e
1 changed files with 2 additions and 2 deletions

View File

@ -10,14 +10,14 @@ export const TimerItem = ({
<div className="timer-item flex flex-col items-center">
<div className="relative sm:h-14 h-6 w-16 overflow-hidden font-bold">
<span
className={`absolute left-1/2 -translate-x-1/2 black bg-gradient-to-t from-[#F1700D] to-[#F38835] text-transparent bg-clip-text sm:text-5xl text-xl leading-none transition-all duration-300 ${
className={`absolute left-1/2 -translate-x-1/2 black bg-gradient-to-t from-white to-surface_high text-transparent bg-clip-text sm:text-5xl text-xl leading-none transition-all duration-300 ${
prevValue !== value ? " opacity-0" : " opacity-100"
}`}
>
{prevValue}
</span>
<span
className={`absolute left-1/2 -translate-x-1/2 black bg-gradient-to-t from-[#F1700D] to-[#F38835] text-transparent bg-clip-text sm:text-5xl text-xl leading-none transition-all duration-300 ${
className={`absolute left-1/2 -translate-x-1/2 black bg-gradient-to-t from-white to-surface_high text-transparent bg-clip-text sm:text-5xl text-xl leading-none transition-all duration-300 ${
prevValue !== value ? "opacity-100" : "opacity-0"
}`}
>