File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export const TableOfContents = ({ items }: TableOfContentsProps) => {
14
14
< button
15
15
aria-controls = "toc-content"
16
16
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 "
18
18
title = { `${ isTocExpanded ? 'Collapse' : 'Expand' } Table of Contents` }
19
19
onClick = { ( ) => setIsTocExpanded ( ( prev ) => ! prev ) }
20
20
>
Original file line number Diff line number Diff line change 7
7
/* @import 'tailwindcss/utilities.css' layer(utilities); */
8
8
@tailwind utilities;
9
9
10
- /* Not needed anymore in Tailwind v4? */
11
- /* @custom-variant dark (&:is([data-theme="dark"] *)); */
10
+ @custom-variant dark (& : is ([data-theme = "dark" ] * ));
12
11
13
12
/* You can override the default Infima variables here. */
14
13
: root {
You can’t perform that action at this time.
0 commit comments