-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuno.config.ts
43 lines (42 loc) · 889 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
import {
defineConfig,
presetAttributify,
presetIcons,
presetTypography,
presetUno,
presetWebFonts,
transformerDirectives,
} from 'unocss'
import presetShadcn from './preset.shadcn'
export default defineConfig({
shortcuts: {
'border-base': 'border-gray-200 dark:border-gray-800',
'bg-active': 'bg-gray:10',
'bg-faded': 'bg-gray:2',
'bg-base': 'bg-background',
'animate-accordion-up': 'accordion-up',
'animate-accordion-down': 'accordion-down',
},
presets: [
presetUno(),
presetIcons(),
presetAttributify(),
presetWebFonts({
provider: 'bunny',
fonts: {
sans: 'Segoe UI',
mono: 'Ubuntu Mono',
},
}),
presetTypography(),
presetShadcn(),
],
transformers: [
transformerDirectives(),
],
content: {
pipeline: {
include: [/\.ts/, /\.vue$/, /\.vue\?vue/],
}
}
})