-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.ts
More file actions
56 lines (53 loc) · 1.73 KB
/
Copy pathastro.config.ts
File metadata and controls
56 lines (53 loc) · 1.73 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import { defineConfig } from 'astro/config'
import tailwindcss from '@tailwindcss/vite'
import vue from '@astrojs/vue'
import sitemap from '@astrojs/sitemap'
import expressiveCode from 'astro-expressive-code'
export default defineConfig({
site: 'https://erwanleboucher.dev',
vite: {
plugins: [tailwindcss()],
},
integrations: [
expressiveCode({
themes: ['github-dark'],
defaultProps: {
overridesByLang: {
'bash,sh,zsh': { wrap: false },
},
},
frames: {
showCopyToClipboardButton: true,
},
styleOverrides: {
borderRadius: '0.375rem',
borderColor: '#252834',
codeFontFamily:
"'Atkinson Hyperlegible Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Courier New', monospace",
codeFontSize: '0.875rem',
codeLineHeight: '1.6',
codeBackground: '#16181f',
frames: {
editorTabBarBackground: '#1c1e28',
editorTabBarBorderColor: '#252834',
editorTabBarBorderBottomColor: '#252834',
editorActiveTabBackground: '#16181f',
editorActiveTabForeground: '#d0d0d8',
editorActiveTabIndicatorTopColor: '#3672a4',
editorActiveTabIndicatorHeight: '2px',
terminalBackground: '#16181f',
terminalTitlebarBackground: '#1c1e28',
terminalTitlebarBorderBottomColor: '#252834',
terminalTitlebarForeground: '#d0d0d8',
terminalTitlebarDotsForeground: '#b8b8c2',
inlineButtonBackground: 'transparent',
inlineButtonForeground: '#b8b8c2',
inlineButtonBackgroundHoverOrFocusOpacity: '0.15',
shadowColor: 'transparent',
},
},
}),
vue(),
sitemap(),
],
})