ThemeOptions
type ThemeOptions =
{
Docs: DocsOptions
HeadExtra: ReactElement list
Styles: StyleLayer list
Css: string list
Footer: ReactElement option
FavIcon: string option
SocialImage: string option
Parts: ThemeParts
}| Assembly | Nacara.Theme.Default |
Options of the default theme.
Fields
Docs: DocsOptions
Docs: DocsOptionsWhat every documentation theme is told: navbar, menus, where a page's source is.
Styles: StyleLayer list
Styles: StyleLayer listThe layers of the theme's stylesheet, first one lowest.
Css: string list
Css: string listCSS added to every page, outside any layer, so it wins over the theme's own.
For a rule or two. A stylesheet of your own belongs in a file, shipped as a static asset and linked from HeadExtra.
Parts: ThemeParts
Parts: ThemePartsWhat renders each part of a page.
The image a link to a page is shown with on social sites, for a page that names none, by its path relative to the site root or an absolute url.