-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathnuxt.config.ts
60 lines (55 loc) · 1.22 KB
/
nuxt.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
export default defineNuxtConfig({
modules: [
"@nuxt/ui",
"@nuxtjs/google-fonts",
"@nuxtjs/fontaine",
"@nuxt/image",
"@nuxt/content",
"@vueuse/nuxt",
"@vueuse/motion/nuxt",
"@nuxtjs/color-mode",
],
app: {
pageTransition: { name: "page", mode: "out-in", duration: 150 },
head: {
link: [{ rel: "icon", href: "/favicon.ico" }],
htmlAttrs: {
lang: "en",
class: "h-full",
},
bodyAttrs: {
class: "antialiased dark:bg-zinc-900 min-h-screen",
},
viewport: "width=device-width, initial-scale=1",
},
},
content: {
highlight: {
theme: "github-dark",
},
},
googleFonts: {
display: "swap",
families: {
Inter: [400, 500, 600, 700, 800, 900],
"Turret+Road": [200],
"JetBrains+Mono": [200],
},
download: true,
},
colorMode: {
preference: "system",
fallback: "light",
hid: "nuxt-color-mode-script",
globalName: "__NUXT_COLOR_MODE__",
componentName: "ColorScheme",
classPrefix: "",
classSuffix: "",
storageKey: "nuxt-color-mode",
},
mdc: {
highlight: {
langs: ["toml", "cpp", "bash", "sh", "properties", "json", "yaml", "lua"],
},
},
});