generated from antfu-collective/vitesse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuno.config.ts
41 lines (40 loc) · 937 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
import {
defineConfig,
presetAttributify,
presetIcons,
presetTypography,
presetUno,
transformerDirectives,
transformerVariantGroup,
} from 'unocss'
import { presetShadcn } from './preset.shadcn'
export default defineConfig({
shortcuts: [
{
'animate-accordion-up': 'accordion-up',
'animate-accordion-down': 'accordion-down',
'animate-collapsible-up': 'collapsible-up',
'animate-collapsible-down': 'collapsible-down',
'grid-responsive': 'grid 2xl:grid-cols-4 lg:grid-cols-3 sm:grid-cols-2 grid-cols-1',
},
],
content: {
pipeline: {
include: [/\.ts/, /\.vue$/, /\.vue\?vue/],
},
},
presets: [
presetUno(),
presetAttributify(),
presetIcons({
scale: 1.2,
}),
presetTypography(),
presetShadcn(),
],
transformers: [
transformerDirectives(),
transformerVariantGroup(),
],
safelist: 'prose m-auto text-left'.split(' '),
})