still messing with colors

This commit is contained in:
Milo Schwartz 2024-10-17 22:12:02 -04:00
parent 1bc67c191b
commit efefae238b
No known key found for this signature in database
5 changed files with 32 additions and 33 deletions

View file

@ -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>
)
}
}