generated from antfu/vitesse-nuxt
-
Notifications
You must be signed in to change notification settings - Fork 5
/
unocss.config.ts
52 lines (51 loc) · 1.13 KB
/
unocss.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
import {
defineConfig,
presetAttributify,
presetTypography,
presetUno,
presetWebFonts,
transformerDirectives,
transformerVariantGroup,
} from 'unocss'
export default defineConfig({
shortcuts: {
'border-base': 'border-zinc-2 dark:border-zinc-8',
'bg-base': 'bg-zinc-50 dark:bg-zinc-9',
'color-base': 'text-zinc-9 dark:text-zinc-3',
'color-base-lighter': 'text-zinc-7 dark:text-zinc-3/80',
'text-dimmed': 'text-zinc-4 dark:text-zinc-5',
'flex-center': 'flex items-center justify-center',
},
theme: {
maxWidth: {
default: '1440px',
},
colors: {
accent: '#5D8D7B',
},
},
presets: [
presetUno(),
presetAttributify(),
presetTypography(),
presetWebFonts({
fonts: {
sans: {
name: 'Satoshi',
provider: 'fontshare',
weights: [400, 500, 600, 700, 800, 900],
},
mono: {
name: 'Iosevka',
provider: 'none',
weights: [400, 500, 600, 700, 800, 900],
},
display: 'Khand',
},
}),
],
transformers: [
transformerDirectives(),
transformerVariantGroup(),
],
})