Skip to content

pantoken / renderers/astro/src / InstUI

Mahi: InstUI()

InstUI(options?): StarlightPluginLike

Alpha

Waihangia te mono Starlight o pantoken.

Ngā Tawhā

options?

InstUIOptions = {}

InstUIOptions.

Whakahokia

StarlightPluginLike

He mono Starlight e tāpirihia ai te kāwai-kāhua o pantoken ki te upoko o te whārangi.

Tauira

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()] })],
    }),
  ],
});