Skip to content

Options

This content is for v0.1. Switch to the latest version for up-to-date documentation.

starlightAurora({ hyper: false })
Option Type Default What it does
hyper boolean false Loads Aurora’s hyper theme and adds Hyper to the theme select
Starlight option Change
customCss Adds the theme’s stylesheets before the site’s own
expressiveCode.styleOverrides Adds Aurora’s fonts and radius to code blocks. The site’s own values win. With expressiveCode: false, nothing changes.
components With hyper: true only: replaces ThemeProvider and ThemeSelect

In this order:

Stylesheet What it holds
styles/layers.css Puts Aurora’s vendored CSS in a layer below Starlight’s
styles/aurora.css Aurora’s fonts.css and tokens.css, unedited
styles/hyper.css Aurora’s hyper.css, unedited. With hyper: true only.
styles/theme.css Starlight’s variables from Aurora’s tokens

The choice of theme is kept in localStorage, in Starlight’s key starlight-theme. Auto is kept as an empty value.