Skip to content

Commit

Permalink
Add e-ink theme styling for note favicon in nav items
Browse files Browse the repository at this point in the history
  • Loading branch information
colebemis committed Feb 9, 2025
1 parent 9c13c2f commit f0fff54
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/nav-items.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ export function NavItems({ size = "medium" }: { size?: "medium" | "large" }) {
to={`/notes/$`}
params={{ _splat: note.id }}
search={{ mode: "read", query: undefined, view: "grid" }}
icon={<NoteFavicon note={note} />}
icon={
<NoteFavicon note={note} className="eink:[[aria-current=page]_&]:text-bg" />
}
className="w-0 flex-1"
>
{note.displayName}
Expand Down

0 comments on commit f0fff54

Please sign in to comment.