dark mode side bar panel page
This commit is contained in:
@@ -38,10 +38,14 @@ function Links({ open }) {
|
||||
variant="text"
|
||||
className={`
|
||||
!p-[8px] !flex !items-center !justify-start !gap-[8px] !text-[16px] !rounded-[8px] !transition-all !duration-500
|
||||
${item.src === pathname ? "!bg-[#5559CE]" : ""}
|
||||
${
|
||||
item.src === pathname
|
||||
? "!bg-[#5559CE] dark:!bg-[#1F1D2B] dark-active-icon"
|
||||
: " dark-deactive-icon"
|
||||
}
|
||||
`}
|
||||
>
|
||||
<div className="p-[3px] bg-[#E5E9FF] rounded-[4px] w-fit">
|
||||
<div className="p-[3px] bg-[#E5E9FF] dark:bg-transparent rounded-[4px] w-fit">
|
||||
<div className="w-[20px] h-[20px]">{item.icon}</div>
|
||||
</div>
|
||||
<p
|
||||
@@ -50,8 +54,8 @@ function Links({ open }) {
|
||||
${open ? "opacity-100" : "md:opacity-0"}
|
||||
${
|
||||
item.src === pathname
|
||||
? "!text-[#FAFAFA] !font-bold"
|
||||
: "!text-[#525252] !font-medium"
|
||||
? "!text-[#FAFAFA] dark:!text-[#5559CE] !font-bold"
|
||||
: "!text-[#525252] dark:!text-[#A1A1A1] !font-medium"
|
||||
}
|
||||
`}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user