-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathuno.config.ts
42 lines (39 loc) · 1.01 KB
/
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
import { defineConfig, transformerDirectives, transformerVariantGroup } from 'unocss'
import presetWebFonts from '@unocss/preset-web-fonts'
import presetUno from '@unocss/preset-uno'
import presetTypography from '@unocss/preset-typography'
export default defineConfig({
presets: [
presetUno(),
presetWebFonts({
provider: 'bunny',
fonts: {
sans: 'DM Sans,200,400,700,800',
},
}),
presetTypography(),
],
theme: {
darkMode: 'class',
animation: {
keyframes: {
blob: '{ 0%,100%{ transform: translate(0, 0) scale(1) } 25%{ transform: "translate(20px, -30px) scale(1.1)" } 50%{ transform: translate(0, 40px) scale(1) } 75%{ transform: translate(-30px, -25px) scale(0.9) }}',
},
durations: {
blob: '10s',
},
timingFns: {
blob: 'ease-in-out',
},
counts: {
blob: 'infinite',
},
},
},
transformers: [
transformerVariantGroup(),
transformerDirectives({
enforce: 'pre',
}),
],
})