Skip to content

pantoken / renderers/astro/src / InstUI

Funksjon: InstUI()

InstUI(options?): StarlightPluginLike

Alfa

Opprett pantoken Starlight-pluginen.

Parametere

options?

InstUIOptions = {}

InstUIOptions.

Returnerer

StarlightPluginLike

En Starlight-plugin som legger inn pantoken-stilarket i sidehodet.

Eksempel

astro.config.mjs

ts
import starlight from "@astrojs/starlight";
import { InstUI } from "@pantoken/astro";
import { transition } from "@pantoken/plugin-transition";

export default defineConfig({
  integrations: [
    starlight({
      title: "Docs",
      plugins: [InstUI({ theme: "rebrand", plugins: [transition()] })],
    }),
  ],
});