theme-heo

This commit is contained in:
tangly1024
2023-07-18 11:19:01 +08:00
parent 8aef9f4760
commit 43a6cd49a4
8 changed files with 106 additions and 62 deletions

View File

@@ -1,5 +1,8 @@
import { useGitBookGlobal } from '@/themes/gitbook'
/**
* 移动端悬浮目录按钮
*/
export default function FloatTocButton () {
const { tocVisible, changeTocVisible } = useGitBookGlobal()
@@ -14,7 +17,7 @@ export default function FloatTocButton () {
}
>
<a
id="darkModeButton"
id="toc-button"
className={'fa-list-ol cursor-pointer fas hover:scale-150 transform duration-200'}
/>
</div>