diff options
| author | Mohamed Bassem <me@mbassem.com> | 2025-11-27 18:57:50 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2025-11-27 18:57:50 +0000 |
| commit | 5bea5d39f8e5d6245bc7e6033bba220ddb561f4c (patch) | |
| tree | 78291ebdc70ce3dc57bb60ca852003d7e5f03b53 /apps/web/components/dashboard | |
| parent | 6821257def80ffa655b6feb893dd74ca2a13b9f1 (diff) | |
| download | karakeep-5bea5d39f8e5d6245bc7e6033bba220ddb561f4c.tar.zst | |
feat: improve font and colors of sidebar items
Diffstat (limited to 'apps/web/components/dashboard')
| -rw-r--r-- | apps/web/components/dashboard/sidebar/AllLists.tsx | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/apps/web/components/dashboard/sidebar/AllLists.tsx b/apps/web/components/dashboard/sidebar/AllLists.tsx index 50a06106..1cc3f3a5 100644 --- a/apps/web/components/dashboard/sidebar/AllLists.tsx +++ b/apps/web/components/dashboard/sidebar/AllLists.tsx @@ -4,12 +4,11 @@ import { useCallback, useState } from "react"; import Link from "next/link"; import { usePathname } from "next/navigation"; import SidebarItem from "@/components/shared/sidebar/SidebarItem"; -import { Badge } from "@/components/ui/badge"; import { Button } from "@/components/ui/button"; import { CollapsibleTriggerTriangle } from "@/components/ui/collapsible"; import { useTranslation } from "@/lib/i18n/client"; import { cn } from "@/lib/utils"; -import { CirclePlus, MoreHorizontal } from "lucide-react"; +import { MoreHorizontal, Plus } from "lucide-react"; import type { ZBookmarkList } from "@karakeep/shared/types/lists"; import { ZBookmarkListTreeNode } from "@karakeep/shared/utils/listUtils"; @@ -34,11 +33,16 @@ export default function AllLists({ return ( <ul className="max-h-full gap-y-2 overflow-auto text-sm"> - <li className="flex justify-between pb-3 font-bold"> - <p>Lists</p> + <li className="flex justify-between pb-3"> + <p className="text-xs uppercase tracking-wider text-muted-foreground"> + Lists + </p> <EditListModal> <Link href="#"> - <CirclePlus className="mr-2 size-5" strokeWidth={1.5} /> + <Plus + className="mr-2 size-4 text-muted-foreground" + strokeWidth={1.5} + /> </Link> </EditListModal> </li> @@ -98,10 +102,9 @@ export default function AllLists({ )} /> - <Badge - variant="outline" + <span className={cn( - "font-normal opacity-100 transition-opacity duration-100 group-hover:opacity-0", + "px-2.5 text-xs font-light text-muted-foreground opacity-100 transition-opacity duration-100 group-hover:opacity-0", selectedListId == node.item.id || numBookmarks === undefined ? "opacity-0" @@ -109,7 +112,7 @@ export default function AllLists({ )} > {numBookmarks} - </Badge> + </span> </Button> </ListOptions> } |
