-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuno.config.ts
46 lines (42 loc) · 944 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
import type { UserConfig } from 'unocss'
import { defineConfig, presetIcons, presetUno, presetWind } from 'unocss'
const config = {
presets: [presetUno(), presetWind(), presetIcons()],
shortcuts: [
{
'flex-center': 'flex justify-center items-center',
'flex-col-center': 'flex flex-col justify-center items-center',
},
],
rules: [],
preflights: [
{
getCSS: () => `
@keyframes meteor {
0% {
transform: rotate(215deg) translateX(0);
opacity: 1;
}
70% {
opacity: 1;
}
100% {
transform: rotate(215deg) translateX(-500px);
opacity: 0;
}
}
@keyframes border-beam {
100% {
offset-distance: 100%;
}
}
`,
},
],
theme: {
colors: {
brand: '#32FFDC',
},
},
}
export default defineConfig(config) as UserConfig<(typeof config)['theme']>