Skip to content

BrandIcon

type BrandIcon =
    | Image of path: string
    | Svg of markup: string
AssemblyNacara.Theme.Docs
Attributes[<RequireQualifiedAccess>]

The icon before the site's title in the navbar.

Cases

Image of path: string

An image file, by its path relative to the site root.

Svg of markup: string

SVG markup, written into the page. It is drawn with currentColor when the markup uses it.

Properties

member IsImage: bool
member IsSvg: bool