diff --git a/astro.config.ts b/astro.config.ts index 1c05c1e..1eb7f9f 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -5,29 +5,10 @@ import mdx from "@astrojs/mdx"; import tailwind from "@astrojs/tailwind"; import icon from "astro-icon"; -import expressiveCode from "astro-expressive-code"; - // https://astro.build/config export default defineConfig({ site: "https://troylusty.com", - integrations: [ - sitemap(), - expressiveCode({ - themes: ["github-dark-default", "github-light-default"], - defaultProps: { - frame: "none", - wrap: true, - }, - styleOverrides: { - frames: { - shadowColor: "none", - }, - }, - }), - mdx(), - tailwind(), - icon(), - ], + integrations: [sitemap(), mdx(), tailwind(), icon()], output: "static", markdown: { rehypePlugins: [ @@ -38,6 +19,13 @@ export default defineConfig({ }, ], ], + shikiConfig: { + wrap: true, + themes: { + light: "github-light-default", + dark: "github-dark-default", + }, + }, }, image: { service: passthroughImageService(), diff --git a/bun.lockb b/bun.lockb index 2ce6b4f..a3bac85 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 0b0ea20..b943b07 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,6 @@ "@fontsource-variable/red-hat-mono": "^5.1.1", "@fontsource/borel": "^5.1.1", "astro": "^5.1.7", - "astro-expressive-code": "^0.40.1", "astro-icon": "^1.1.5", "rehype-external-links": "^3.0.0", "tailwindcss": "^3.4.17",