From 79b0dbc09e8531c212d608415d758aa80abe1f5f Mon Sep 17 00:00:00 2001 From: baka-gourd <36119339+baka-gourd@users.noreply.github.com> Date: Wed, 24 Jul 2024 01:05:10 +0800 Subject: [PATCH] feat: change default layoutmode (#16) --- docs/.vitepress/theme/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/.vitepress/theme/index.ts b/docs/.vitepress/theme/index.ts index 55fd869..73824e1 100644 --- a/docs/.vitepress/theme/index.ts +++ b/docs/.vitepress/theme/index.ts @@ -10,6 +10,7 @@ import { NolebaseGitChangelogPlugin } from "@nolebase/vitepress-plugin-git-chang import "@nolebase/vitepress-plugin-git-changelog/client/style.css"; import { + LayoutMode, NolebaseEnhancedReadabilitiesMenu, NolebaseEnhancedReadabilitiesScreenMenu, } from "@nolebase/vitepress-plugin-enhanced-readabilities/client"; @@ -68,6 +69,9 @@ export default { spotlight: { defaultToggle: true, }, + layoutSwitch: { + defaultMode: LayoutMode.FullWidth, + }, locales: { "zh-CN": { title: {