From 11620446be2bbf1b13f2dfe657347d2f8c1062bc Mon Sep 17 00:00:00 2001 From: Xevion Date: Sun, 10 Mar 2024 09:15:00 -0500 Subject: [PATCH] Fix unused imports, fix deprecated func usage --- src/components/Sidebar.astro | 6 +++--- src/content/sidebar.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/Sidebar.astro b/src/components/Sidebar.astro index 0b048eb..48b7f9d 100644 --- a/src/components/Sidebar.astro +++ b/src/components/Sidebar.astro @@ -11,7 +11,7 @@ const getLinkClasses = (link: Link) => { return clsx(baseClasses, { // Classes for when the link is not the current page - "dark:border-l-zinc-600 text-zinc-500 dark:text-zinc-400": !isCurrent, + "dark:border-l-zinc-600 text-zinc-500 dark:hover:text-zinc-300 dark:text-zinc-400": !isCurrent, // Classes for when the link is the current page "dark:border-l-zinc-500 text-zinc-900 dark:text-zinc-200": isCurrent, }); @@ -23,7 +23,7 @@ const sidebar = await get();