-
Notifications
You must be signed in to change notification settings - Fork 245
/
tailwind.config.js
70 lines (69 loc) · 1.44 KB
/
tailwind.config.js
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/** @type {import('tailwindcss').Config} */
export default {
darkMode: 'selector',
content: ['./src/**/*.{js,ts,jsx,tsx,mdx}'],
theme: {
extend: {
fontFamily: {
inter: ['Inter var', 'sans-serif'],
jetbrains: ['JetBrains Mono', 'monospace']
},
colors: {},
keyframes: {
loader: {
'0%': { transform: 'scale(1)' },
'60%': { transform: 'scale(1.1)' },
'100%': { transform: 'scale(1)' }
},
wiggle: {
'0%': { transform: 'rotate(10deg)' },
'50%': { transform: 'rotate(-10deg)' },
'100%': { transform: 'rotate(0)' }
},
slidein: {
'0%': {
opacity: 1,
right: '-100%'
},
'100%': {
opacity: 1,
right: '0%'
}
},
slideup: {
'0%': {
opacity: 0,
transform: 'translateY(100%)'
},
'100%': {
opacity: 1,
transform: 'translateY(0%)'
}
},
linebeat: {
'0%': {
left: 0,
'border-top-left-radius': '8px',
'border-top-right-radius': 0
},
'50%': {
'border-radius': '8px'
},
'100%': {
left: 'calc(100% - 30%)',
'border-top-left-radius': 0,
'border-top-right-radius': '8px'
}
}
},
animation: {
loader: 'loader 800ms linear infinite',
wiggle: 'wiggle 300ms ease-out',
slidein: 'slidein 300ms ease-out',
slideup: 'slideup 300ms ease-out',
linebeat: 'linebeat 1s ease-in-out infinite alternate'
}
}
},
plugins: []
}