Install the theme package to your project with your preferred package manager:
npm i starlight-theme-catppuccin
yarn add starlight-theme-catppuccin
pnpm add starlight-theme-catppuccin
Add the theme to your Starlight config.
import catppuccin from "starlight-theme-catppuccin"; export default defineConfig({ // ... integrations: [ starlight({ // ... plugins: [ catppuccin() ] }) ]})
(Optional) Customize your theme for light/dark mode using {flavor}-{accent}.
{flavor}-{accent}
import catppuccin from "starlight-theme-catppuccin"; export default defineConfig({ // ... integrations: [ starlight({ // ... plugins: [ catppuccin({ dark: "macchiato-sky", light: "latte-sky" }) ] }) ]})