Skip to content

Turn on hyper

Hyper is Aurora’s neon theme on a dark base. A site opts in. This site has hyper on.

  1. In astro.config.mjs, give the plugin the option hyper: true:

    plugins: [starlightAurora({ hyper: true })],
  2. Build the site. The theme select shows Light, Dark, Hyper and Auto.

  • The plugin loads Aurora’s hyper.css.
  • The plugin replaces two Starlight components: ThemeProvider and ThemeSelect. If the site replaces one of them too, the build stops with an error. Remove one of the two.
  • Code blocks use the dark code theme under hyper.
  • With hyper: false, the site is the same as a site with no hyper option.