Getting Started
A Starlight theme for the Catppuccin soothing pastel theme. Check out the various examples to see the theme in action.
Prerequisites
Section titled “Prerequisites”You will need to have a Starlight website set up. If you don’t have one yet, you can follow the “Getting Started” guide in the Starlight docs to create one.
Installation
Section titled “Installation”-
The Starlight Catppuccin theme is a Starlight plugin that you can install using your favorite package manager:
Terminal window npm i @catppuccin/starlightTerminal window pnpm add @catppuccin/starlightTerminal window yarn add @catppuccin/starlight -
Configure the plugin in your Starlight configuration in the
astro.config.mjsfile.astro.config.mjs import starlight from '@astrojs/starlight'import { defineConfig } from 'astro/config'import starlightCatppuccin from '@catppuccin/starlight'export default defineConfig({integrations: [starlight({plugins: [starlightCatppuccin()],title: 'My Docs',}),],}) -
Start the development server to preview the theme in action.
-
(Optional) Customize your theme for light/dark mode using
flavorandaccent.astro.config.mjs import starlightCatppuccin from "@catppuccin/starlight";export default defineConfig({// ...integrations: [starlight({// ...plugins: [starlightCatppuccin({dark: { flavor: "macchiato", accent: "sky" },light: { flavor: "latte", accent: "sky" },}),],}),],});See all options in the configuration reference.