Something went wrong. Try again.
My blog and portfolio (mirror of https://git.skye.codes/skyecodes/website) skye.codes
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748// @ts-check
import mdx from '@astrojs/mdx';import sitemap from '@astrojs/sitemap';import {defineConfig} from 'astro/config';import tailwindcss from "@tailwindcss/vite";import icon from 'astro-icon';import cloudflare from '@astrojs/cloudflare';import mailObfuscation from 'astro-mail-obfuscation';import rehypeClassNames from "rehype-class-names";import expressiveCode from "astro-expressive-code";
// https://astro.build/configexport default defineConfig({ site: 'https://skye.codes',
integrations: [sitemap(), icon(), mailObfuscation(), expressiveCode({ themes: ["catppuccin-mocha", "catppuccin-latte"], useDarkModeMediaQuery: false, themeCssSelector: (theme) => `.${theme.type}`, styleOverrides: { frames: { frameBoxShadowCssValue: ({resolveSetting}) => `0 0 2px 2px ${resolveSetting('frames.editorTabBarBackground')}`, } } }), mdx()],
markdown: { rehypePlugins: [ [rehypeClassNames, { "p, ul, ol, h1, h2, h3, h4, h5, h6, blockquote": "animate", "code, a": "not-prose" }] ] },
vite: { plugins: [tailwindcss()], },
session: { driver: "null", },
adapter: cloudflare({ imageService: "compile" }),});