Skip to content

Commit f355c64

Browse files
committed
update docusaurus
1 parent 411080f commit f355c64

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

website/src/components/Note.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const Note = ({ children }: NoteProps) => {
1111
return (
1212
<div className="mb-2">
1313
<button
14-
className="mb-1 inline-flex cursor-pointer items-center rounded-lg bg-neutral-500 px-1.5 text-[11px] font-normal text-gray-200 hover:bg-neutral-600 dark:bg-gray-200 dark:text-neutral-600 dark:hover:bg-gray-300"
14+
className="mb-1 inline-flex cursor-pointer items-center rounded-lg bg-neutral-500 px-1.5 text-[11px] font-normal text-gray-200 transition-colors duration-100 hover:bg-neutral-600 dark:bg-gray-200 dark:text-neutral-600 dark:hover:bg-gray-300"
1515
onClick={() => setIsRuleExpanded((prev) => !prev)}
1616
>
1717
<span className="mr-1">Note</span>

website/src/components/Rule.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const Rule = ({ children, href, prefix }: RuleProps) => {
1818
{prefix}{' '}
1919
<span>
2020
<button
21-
className="dark:bg-opacity-40 dark:hover:bg-opacity-40 mb-1 inline-flex cursor-pointer items-center rounded-md bg-gray-100 px-1.5 py-1 text-xs font-medium text-neutral-600 hover:bg-gray-200 dark:bg-blue-900 dark:text-neutral-200 dark:hover:bg-blue-950"
21+
className="dark:bg-opacity-40 dark:hover:bg-opacity-40 mb-1 inline-flex cursor-pointer items-center rounded-md bg-gray-100 px-1.5 py-1 text-xs font-medium text-neutral-600 transition-colors duration-100 hover:bg-gray-200 dark:bg-blue-900 dark:text-neutral-200 dark:hover:bg-blue-950"
2222
onClick={() => setIsRuleExpanded((prev) => !prev)}
2323
>
2424
<span className="mr-1">

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 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"
17+
className="cursor-pointer rounded-md border-none bg-gray-300 px-2 py-0.5 text-[11px] text-black transition-colors duration-100 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
>

0 commit comments

Comments
 (0)