@catppuccin/starlight

1.0.1 • Public • Published

Logo
Catppuccin for Starlight

Previews

🌻 Latte
🪴 Frappé
🌺 Macchiato
🌿 Mocha

Usage

  1. Install the theme package to your project with your preferred package manager:

    npm install @catppuccin/starlight
    pnpm add @catppuccin/starlight
    yarn add @catppuccin/starlight
  2. Add the theme to your Starlight config.

    import catppuccin from "@catppuccin/starlight";
    
    export default defineConfig({
      // ...
      integrations: [
        starlight({
          // ...
          plugins: [catppuccin()],
        }),
      ],
    });
  3. (Optional) Customize your theme for light/dark mode using flavor and accent.

    import catppuccin from "@catppuccin/starlight";
    
    export default defineConfig({
      // ...
      integrations: [
        starlight({
          // ...
          plugins: [
            catppuccin({
              dark: { flavor: "macchiato", accent: "sky" },
              light: { flavor: "latte", accent: "sky" },
            }),
          ],
        }),
      ],
    });

💝 Thanks to

 

Copyright © 2021-present Catppuccin Org

Package Sidebar

Install

npm i @catppuccin/starlight

Weekly Downloads

117

Version

1.0.1

License

MIT

Unpacked Size

72 kB

Total Files

61

Last publish

Collaborators

  • pocco81
  • andreasgrafen
  • hamothy