Lotus
输入关键词搜索文档。

Configuration

Reference Lotus theme configuration fields, defaults, and related docs.

This reference lists top-level defineLotusConfig() fields. Use the linked configuration pages for examples and behavior details.

Options

FieldDefaultSee
name'Documentation'Project
description'Project documentation.'Project
logobuilt-in Lotus markProject
faviconnoneProject
appearanceaccent: 'indigo', gray: 'neutral', defaultMode: 'system', radius: 'medium'Appearance
docsBase'/'Content Routing
defaultLocalefirst configured localeInternationalization
localesnoneInternationalization
uibuilt-in English messagesInternationalization
navbarone Docs linkNavbar
socials[]Navbar
sidebars[]Sidebars
footerempty copyright and sectionsFooter
search{ provider: 'local' }Search
assistantfalseAssistant
pageActionscopy, Markdown, ChatGPT, ClaudePage Actions
sourceinferred when possibleSource
editLinkhiddenSource
contributorsfalseSource
components{}Overriding Components
creditstrueFooter
iconifydefault Iconify API, scan enabledIntegrations
expressiveCodeLotus defaultsExpressive Code
packageManagerTabsenabledCode Blocks

Helper

Use defineLotusConfig() for type inference:

src/theme.config.ts
import { defineLotusConfig } from '@prosefly/astro-theme-lotus';
export default defineLotusConfig({
name: 'My Docs',
description: 'Documentation for my project.',
});

最后更新于 2026年7月18日

贡献者