Theme
Theme configuration that changes the look and feel of the project
Properties
name"poetry" | "cosmo" | "opener" | "picasso" | "gusto" | "solar" | "terrarium" | stringRequiredlogoLogoLogolightstringdarkstringaltstringhrefstringpagestringstringstringReact.JSX.ElementReact.JSX.ElementfontsThemeFontFontFontfamilystringweightstringsrcstringformat"woff2" | "woff" | "ttf"Font[]Font[]faviconstringiconsIconslibraryIconLibraryIconLibrarynamestringRequiredversionstringdefaultbooleannoprefixbooleanstringstringIconLibrary[]IconLibrary[]appearanceAppearancecolorScheme"light" | "dark" | "os"colorSchemeButtoncolorsColorsprimarystringRequiredlightstringdarkstringcssTokenspresetsstring[]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"groupCase"none" | "uppercase"scroll"sidebar" | "list"buttonsAppearanceButtonsroundedboolean | "sm" | "md" | "lg"tablesAppearanceTableskind"secondary"bannerAppearanceBannerfixedbooleancontentAppearanceContentcontentDecorator"secondary"breadcrumbsAppearanceBreadcrumbsAppearanceBreadcrumbslinksbooleanrootLevelbooleanbooleanbooleansectionSeparatorbooleanfooterAppearanceFootersurface"page"navigationDropdownAppearanceNavigationDropdownchevron"rotate" | "static"items"padded" | "flush"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
Alternative text for the logo image. The logo is the only content of the link to the home page, so this doubles as that link's accessible name. Defaults to seo.metatags["og:site_name"] , then to "Home" .
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.
Letter-casing of sidebar group headers. Defaults to "uppercase" ; set
"none" to render group labels exactly as authored.
Which element scrolls. "list" (default): only the item list scrolls, below the fixed (pinned) region. "sidebar" : the WHOLE sidebar scrolls — the scrollbar spans its full height — and the fixed region sticks to the top while items scroll beneath it.
If true then the banner will have fixed position (always visible).
Controls the breadcrumbs. true / false toggles them; an object ( AppearanceBreadcrumbs ) additionally configures links and
rootLevel (both default true ).
If true (default) breadcrumb items that resolve to a real route render as clickable links; if false every crumb is plain text.
If true (default) the top-level segment (the tab/route the page belongs to, e.g. "Guides") is included; if false it is omitted.
If true then the section separator will be displayed.
Navigation dropdown appearance (header anchors & tabs dropdownMenu ).
Trigger chevron behavior when the menu is open. "rotate" (default) flips the chevron; "static" leaves it unchanged.
Menu item layout. "flush" makes the hovered item background touch all four edges of the popover (no surrounding padding); "padded" (default) keeps a small inset with rounded item corners.
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 ⭐️