-
Notifications
You must be signed in to change notification settings - Fork 6
/
tailwind.config.ts
55 lines (54 loc) · 1.29 KB
/
tailwind.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
52
53
54
55
import type { Config } from 'tailwindcss'
import typography from '@tailwindcss/typography'
export default <Partial<Config>>{
content: [
'./components/**/*.{vue,js,ts}',
'./layouts/**/*.vue',
'./pages/**/*.vue',
'./composables/**/*.{js,ts}',
'./plugins/**/*.{js,ts}',
'./utils/**/*.{js,ts}',
'./App.{js,ts,vue}',
'./app.{js,ts,vue}',
'./Error.{js,ts,vue}',
'./error.{js,ts,vue}',
'./app.config.{js,ts}',
'content/**/*.md',
],
theme: {
extend: {
animation: {
wave: 'wave 3s infinite',
slide: 'slide 3s infinite',
},
keyframes: {
wave: {
'0%, 50%, 100%': {
transform: 'rotate(-12deg)',
},
'25%, 75%': {
transform: 'rotate(12deg) scale(1.5)',
},
},
slide: {
'0%, 100%': {
transform: 'translateX(0) translateY(0)',
},
'20%': {
transform: 'translateX(10px)',
},
'40%': {
transform: 'translateY(-10px) translateX(10px)',
},
'60%': {
transform: 'translateY(10px) translateX(-10px)',
},
'80%': {
transform: 'translateY(-10px)',
},
},
},
},
},
plugins: [typography],
}