Theme
Theme configuration that changes the look and feel of the project
Properties
name"poetry" | "cosmo" | "opener" | "picasso" | "gusto" | "solar" | stringRequiredlogoLogoLogolightstringdarkstringhrefstringpagestringstringstringReact.JSX.ElementReact.JSX.ElementfontsThemeFontFontFontfamilystringweightstringsrcstringformat"woff2" | "woff" | "ttf"Font[]Font[]faviconstringiconsIconslibraryIconLibraryIconLibrarynamestringRequiredversionstringdefaultbooleannoprefixbooleanstringstringIconLibrary[]IconLibrary[]appearanceAppearancecolorScheme"light" | "dark" | "os"colorSchemeButtoncolorsColorsprimarystringRequiredlightstringdarkstringcssTokens{ [token: string]: string; }presetsstring[]logoAppearanceLogosidebarboolean | "mobile" | "desktop"headerboolean | "mobile" | "desktop"searchAppearanceSearchfullWidthbooleansidebarboolean | "mobile" | "desktop"middleboolean | "mobile" | "desktop"rightboolean | "mobile" | "desktop"headerAppearanceHeaderexternalArrowbooleanseparator"right"type"classic" | "pad"buttonSize"sm" | "md" | "lg"tabsAppearanceTabssurface"center" | "sidebar"sidebarAppearanceSidebarexternalArrowbooleanscrollShadowbooleanscrollbar"secondary"scrollbarColorstringscrollTransition"smooth" | "instant"buttonsAppearanceButtonsroundedboolean | "sm" | "md" | "lg"tablesAppearanceTableskind"secondary"bannerAppearanceBannerfixedbooleancontentAppearanceContentcontentDecorator"secondary"breadcrumbsbooleansectionSeparatorbooleanfooterAppearanceFootersurface"page"writerWritermaxTocDepthnumbercopyPagebooleancoderCoderlinesbooleanscrollbooleansyntaxHighlightThemeheadarray of HeadConfig [string, Record<string, string | boolean>, ]scriptsstring[]
Path to the logo in light mode. For example: /path/to/logo.svg
Path to the logo in dark mode. For example: /path/to/logo.svg
If false then the color scheme button will not be displayed.
If true then the logo will be displayed on the sidebar.
If true then the logo will be displayed on the header.
If true then the search bar will be displayed as a full width.
If true then the search bar will be displayed on the sidebar.
If true then the search bar will be displayed in the middle of the header.
If true then the search bar will be displayed on the right side of the header.
If true then the header external links will display an external arrow.
If right then separator will be displayed on the right side of the header.
If true then the sidebar will display a scroll shadow.
If true then the sidebar will display a scroll shadow.
If true then the banner will have fixed position (always visible).
If true then the breadcrumbs will be displayed.
If true then the section separator will be displayed.
If true then code blocks will have line numbers by default.
If true then code blocks will have a scrollbar by default.
Show your support! Star us on GitHub ⭐️