docs: design updates (#3098)

Update colors, spacing and fix the toc animation.
This commit is contained in:
Marvin Hagemeister
2025-07-16 14:01:30 +02:00
committed by GitHub
parent 713c85c12d
commit 776a275b5d
7 changed files with 44 additions and 24 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ export function SidebarCategory(props: {
<li class="my-2 block">
<a
href={href}
class="text-foreground-secondary hover:text-gray-600 aria-[current]:text-fresh-green aria-[current]:hover:underline font-bold"
class="text-foreground-secondary hover:text-gray-600 dark:hover:text-green-300 aria-[current]:text-fresh-green dark:aria-[current]:text-green-300 aria-[current]:hover:underline font-bold"
>
{title}
</a>
@@ -36,7 +36,7 @@ export function SidebarEntry(props: {
<li class="py-[1px]">
<a
href={href}
class="aria-[current]:text-fresh-green aria-[current]:border-green-600 aria-[current]:bg-fresh-green/5 border-l-4 border-transparent px-4 py-0.5 transition-colors hover:text-fresh-green/80 font-normal block"
class="aria-[current]:text-fresh-green aria-[current]:border-green-600 dark:aria-[current]:text-green-300 aria-[current]:bg-fresh-green/5 dark:hover:text-green-300 border-l-4 border-transparent px-4 py-0.5 transition-colors hover:text-fresh-green/80 font-normal block"
>
{title}
</a>