forked from nuxt/learn.nuxt.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
uno.config.ts
51 lines (50 loc) · 960 Bytes
/
uno.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
import {
defineConfig,
presetAttributify,
presetIcons,
presetTypography,
presetUno,
presetWebFonts,
transformerDirectives,
} from 'unocss'
import extractorMdc from '@unocss/extractor-mdc'
export default defineConfig({
shortcuts: {
'border-base': 'border-gray-200 dark:border-gray-800',
'bg-active': 'bg-gray:10',
'bg-faded': 'bg-gray:5',
'bg-base': 'bg-white dark:bg-[#020420]',
'text-faded': 'text-gray6:100 dark:text-gray:100',
},
theme: {
colors: {
primary: {
DEFAULT: '#00DC82',
},
},
},
presets: [
presetUno(),
presetIcons(),
presetAttributify(),
presetWebFonts({
provider: 'bunny',
fonts: {
sans: 'DM Sans',
mono: 'DM Mono',
},
}),
presetTypography(),
],
extractors: [
extractorMdc(),
],
content: {
filesystem: [
'./content/**/*.md',
],
},
transformers: [
transformerDirectives(),
],
})