Skip to content

Commit 411080f

Browse files
committed
update docusaurus
1 parent 6884a38 commit 411080f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

website/src/components/TableOfContents.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const TableOfContents = ({ items }: TableOfContentsProps) => {
1414
<button
1515
aria-controls="toc-content"
1616
aria-expanded={isTocExpanded}
17-
className="rounded-md border-none px-2 py-1 text-[11px] hover:cursor-pointer"
17+
className="rounded-md border-none bg-gray-300 px-2 py-0.5 text-[11px] hover:cursor-pointer hover:bg-gray-400 dark:bg-gray-600 dark:text-white dark:hover:bg-gray-700"
1818
title={`${isTocExpanded ? 'Collapse' : 'Expand'} Table of Contents`}
1919
onClick={() => setIsTocExpanded((prev) => !prev)}
2020
>

website/src/styles/global.css

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
/* @import 'tailwindcss/utilities.css' layer(utilities); */
88
@tailwind utilities;
99

10-
/* Not needed anymore in Tailwind v4? */
11-
/* @custom-variant dark (&:is([data-theme="dark"] *)); */
10+
@custom-variant dark (&:is([data-theme="dark"] *));
1211

1312
/* You can override the default Infima variables here. */
1413
:root {

0 commit comments

Comments
 (0)