-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathastro.config.mjs
38 lines (36 loc) · 1.15 KB
/
astro.config.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import mdx from "@astrojs/mdx";
import react from "@astrojs/react";
import sitemap from "@astrojs/sitemap";
import tailwind from "@astrojs/tailwind";
import astroExpressiveCode from "astro-expressive-code";
import { defineConfig } from "astro/config";
import remark from "remark-directive";
import { customAsidePlugin } from "./src/lib/aside/customAsidePlugin";
import { redirects } from "./src/utils/redirects";
export default defineConfig({
redirects: redirects,
markdown: {
remarkPlugins: [remark, customAsidePlugin],
},
integrations: [
tailwind(),
sitemap({
lastmod: new Date("2024-06-27"),
}),
react(),
astroExpressiveCode({
themes: ["light-plus", "dark-plus"],
useDarkModeMediaQuery: true,
themeCssSelector: (theme) => `[data-theme='${theme.name}']`,
styleOverrides: {
terminalTitlebarForeground: "var(--theme-header-bg)",
terminalTitlebarDotsForeground: "var(--three-dots-bg)",
terminalTitlebarBackground: "var(--theme-header-bg)",
terminalTitlebarDotsOpacity: "1",
codeFontFamily: "JetBrains Mono",
},
}),
mdx(),
],
site: "https://akash.network",
});