1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

chore: 阅读增强插件配置

This commit is contained in:
2025-03-13 22:52:27 +08:00
parent 83b3d7503b
commit 8f587f8dea
2 changed files with 14 additions and 4 deletions

View File

@@ -9,6 +9,7 @@ import {
NolebaseGitChangelogPlugin
} from '@nolebase/vitepress-plugin-git-changelog/client'
import {
LayoutMode,
NolebaseEnhancedReadabilitiesMenu,
NolebaseEnhancedReadabilitiesScreenMenu,
} from '@nolebase/vitepress-plugin-enhanced-readabilities/client'
@@ -69,7 +70,16 @@ export default {
},
},
},
}
},
layoutSwitch: {
defaultMode: LayoutMode.BothWidthAdjustable,
pageLayoutMaxWidth: {
defaultMaxWidth: 96, // 60 - 100
},
contentLayoutMaxWidth: {
defaultMaxWidth: 90, // 60 - 100
}
},
} as Options)
}
} satisfies Theme