mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-14 16:04:56 +02:00
still messing with colors
This commit is contained in:
parent
1bc67c191b
commit
efefae238b
5 changed files with 32 additions and 33 deletions
|
@ -36,7 +36,7 @@ export function SidebarNav({ className, items, disabled = false, ...props }: Sid
|
|||
className={cn(
|
||||
buttonVariants({ variant: "ghost" }),
|
||||
pathname === item.href.replace("{orgId}", orgId).replace("{niceId}", niceId).replace("{resourceId}", resourceId) && !pathname.includes("create")
|
||||
? "bg-muted hover:bg-muted"
|
||||
? "bg-muted hover:bg-muted dark:bg-border dark:hover:bg-border"
|
||||
: "hover:bg-transparent hover:underline",
|
||||
"justify-start",
|
||||
disabled && "cursor-not-allowed"
|
||||
|
@ -50,4 +50,4 @@ export function SidebarNav({ className, items, disabled = false, ...props }: Sid
|
|||
))}
|
||||
</nav>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue