Skip to content

Commit

Permalink
style: change sidebar menu button color
Browse files Browse the repository at this point in the history
  • Loading branch information
figueroaignacio committed Dec 31, 2024
1 parent 5891895 commit 62ae358
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions apps/web/components/ui/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,8 @@ const sidebarMenuButtonVariants = cva(
default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
outline:
"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]",
ghost:
"dark:hover:bg-gray-600 dark:hover:bg-opacity-30 hover:bg-[#dde3ea]",
},
size: {
default: "h-8 text-sm",
Expand Down
4 changes: 2 additions & 2 deletions apps/web/modules/app/ui/app-sidebar-links.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ export function AppSidebarLinks() {
{group.items.map((item) => {
const Icon = iconMap[item.icon];
return (
<SidebarMenuButton asChild key={item.href}>
<SidebarMenuButton asChild key={item.href} variant="ghost">
<SidebarMenuItem>
<Link
href={item.href}
className="flex items-center py-2"
className="flex items-center py-2 w-full"
>
<Icon className="mr-3 h-5 w-5" />
{item.title}
Expand Down

0 comments on commit 62ae358

Please sign in to comment.