diff options
| author | Kyren223 <contact@kyren.codes> | 2026-10-06 20:46:31 +0300 |
|---|---|---|
| committer | Kyren223 <contact@kyren.codes> | 2026-10-06 20:46:31 +0300 |
| commit | ba1be9573ef20d6424ae987257a1c727c47d4b53 (patch) | |
| tree | e59ef56f19142215070d0516a9b3a110d15557b6 /old_stuff/astro.config.mjs | |
| parent | ea056b6e080669ba4b6f16c2757b4e2e88ea0553 (diff) | |
Initial setup for website rewrite
Diffstat (limited to 'old_stuff/astro.config.mjs')
| -rw-r--r-- | old_stuff/astro.config.mjs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/old_stuff/astro.config.mjs b/old_stuff/astro.config.mjs new file mode 100644 index 0000000..e437788 --- /dev/null +++ b/old_stuff/astro.config.mjs @@ -0,0 +1,26 @@ +import { defineConfig } from "astro/config"; + +import mdx from "@astrojs/mdx"; + +import tailwind from "@astrojs/tailwind"; + +import expressiveCode from "astro-expressive-code"; +import { pluginLineNumbers } from "@expressive-code/plugin-line-numbers"; + +// https://astro.build/config +export default defineConfig({ + integrations: [ + tailwind(), + expressiveCode({ + plugins: [pluginLineNumbers()], + defaultProps: { + showLineNumbers: false, + }, + styleOverrides: { + borderColor: ({ theme }) => theme.colors["editor.background"], + borderRadius: "0", + }, + }), + mdx(), + ], +}); |
