add catppuccin theme
All checks were successful
test-build / build (push) Successful in 29s
renovate / renovate (push) Successful in 52s

This commit is contained in:
2025-08-01 20:35:32 -05:00
parent 0ff0908e44
commit 44e39d08d9
3 changed files with 95 additions and 450 deletions

View File

@@ -1,10 +1,10 @@
// @ts-check
import { defineConfig } from "astro/config";
import tailwindcss from "@tailwindcss/vite";
import starlight from "@astrojs/starlight";
import react from "@astrojs/react";
import node from "@astrojs/node";
import tailwindcss from "@tailwindcss/vite";
import starlight from "@astrojs/starlight";
import catppuccin from "@catppuccin/starlight";
const getSiteURL = () => {
if (process.env.SITE_URL) {
@@ -16,9 +16,9 @@ const getSiteURL = () => {
// https://astro.build/config
export default defineConfig({
site: getSiteURL(),
integrations: [
tailwindcss(),
react(),
starlight({
title: "My Docs",
social: [
@@ -28,6 +28,12 @@ export default defineConfig({
href: "https://github.com/withastro/starlight",
},
],
plugins: [
catppuccin({
dark: { flavor: "macchiato", accent: "sapphire" },
light: { flavor: "latte", accent: "sky" }
})
],
sidebar: [
{
label: "Guides",