-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
43 lines (42 loc) · 1.08 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
import { defineNuxtConfig } from 'nuxt'
export default defineNuxtConfig({
modules: [
'@vueuse/nuxt',
'@unocss/nuxt',
'@pinia/nuxt',
'@nuxtjs/color-mode',
],
experimental: {
reactivityTransform: true,
// viteNode: true,
},
vueuse: {
ssrHandlers: true,
},
unocss: {
uno: true,
typography: true,
attributify: true,
preflight: true,
theme: {
fontFamily: {
sans: '"Inter", Inter var,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji',
},
},
icons: {
scale: 1.2,
extraProperties: {
'display': 'inline-block',
'height': '1.2em',
'width': '1.2em',
'vertical-align': 'text-bottom',
},
},
shortcuts: [
['btn', 'px-5 py-2 ws-nowrap fw-semibold rounded-full inline-block text-slate-8 b b-gray cursor-pointer hover:op-80 disabled:cursor-default disabled:bg-gray-600 disabled:opacity-50'],
],
},
colorMode: {
classSuffix: '',
},
})