design dark mode list page panel

This commit is contained in:
Ehsan
2024-09-28 19:35:19 +03:30
parent 92945e60e4
commit 8e165bb2a7
4 changed files with 27 additions and 23 deletions
+8 -8
View File
@@ -50,14 +50,14 @@ function Links({ open }) {
</div>
<p
className={`
transition-all duration-500 text-sidebar
${open ? "opacity-100" : "md:opacity-0"}
${
item.src === pathname
? "!text-[#FAFAFA] dark:!text-[#5559CE] !font-bold"
: "!text-[#525252] dark:!text-[#A1A1A1] !font-medium"
}
`}
transition-all duration-500 text-sidebar
${open ? "opacity-100" : "md:opacity-0"}
${
item.src === pathname
? "!text-[#FAFAFA] dark:!text-[#5559CE] !font-bold"
: "!text-[#525252] dark:!text-[#A1A1A1] !font-medium"
}
`}
>
{item.name}
</p>