-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathastro.config.ts
38 lines (34 loc) · 927 Bytes
/
astro.config.ts
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 { defineConfig, passthroughImageService } from 'astro/config'
import mdx from '@astrojs/mdx'
import tailwind from '@astrojs/tailwind'
import alpinejs from '@astrojs/alpinejs'
import { rehypeTailwind } from './src/plugins/rehype_tailwind'
import { watchPlugins } from './src/integrations/watch_plugins'
import { site } from './src/stores/site'
// https://astro.build/config
export default defineConfig({
site: site.baseUrl,
image: {
service: passthroughImageService(),
},
markdown: {
rehypePlugins: [rehypeTailwind],
smartypants: false, // https://daringfireball.net/projects/smartypants/
shikiConfig: {
defaultColor: false,
themes: {
dark: 'catppuccin-mocha',
light: 'catppuccin-latte',
},
},
},
devToolbar: {
enabled: false,
},
integrations: [
tailwind({ applyBaseStyles: false }),
mdx(),
watchPlugins(),
alpinejs(),
],
})