aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/shared/sidebar
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2025-11-27 18:57:50 +0000
committerMohamed Bassem <me@mbassem.com>2025-11-27 18:57:50 +0000
commit5bea5d39f8e5d6245bc7e6033bba220ddb561f4c (patch)
tree78291ebdc70ce3dc57bb60ca852003d7e5f03b53 /apps/web/components/shared/sidebar
parent6821257def80ffa655b6feb893dd74ca2a13b9f1 (diff)
downloadkarakeep-5bea5d39f8e5d6245bc7e6033bba220ddb561f4c.tar.zst
feat: improve font and colors of sidebar items
Diffstat (limited to '')
-rw-r--r--apps/web/components/shared/sidebar/SidebarItem.tsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/web/components/shared/sidebar/SidebarItem.tsx b/apps/web/components/shared/sidebar/SidebarItem.tsx
index cfbd7253..e602a435 100644
--- a/apps/web/components/shared/sidebar/SidebarItem.tsx
+++ b/apps/web/components/shared/sidebar/SidebarItem.tsx
@@ -28,8 +28,10 @@ export default function SidebarItem({
return (
<li
className={cn(
- "relative flex justify-between rounded-lg hover:bg-accent",
- path == currentPath ? "bg-accent/50" : "",
+ "relative flex justify-between rounded-lg text-sm transition-colors hover:bg-accent",
+ path == currentPath
+ ? "bg-accent/50 text-foreground"
+ : "text-muted-foreground",
className,
)}
style={style}