Skip to content

pantoken / renderers/astro/src / InstUI

Swyddogaeth: InstUI()

InstUI(options?): StarlightPluginLike

Alffa

Creu'r ategyn pantoken Starlight.

Paramedrau

options?

InstUIOptions = {}

InstUIOptions.

Yn dychwelyd

StarlightPluginLike

Ategyn Starlight sy'n mewnblannu'r daflen arddull pantoken i ben y dudalen.

Enghraifft

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