-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
42 lines (42 loc) · 1.04 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
module.exports = {
purge: [
'index.html',
'app.js',
'css/*'
],
darkMode: false, // or 'media' or 'class'
theme: {
fontFamily: {
'rubik': ['Rubik', 'sans-serif'],
'nunitosans': ['"Nunito Sans"', 'sans-serif'],
'ubuntu': ['Ubuntu', 'sans-serif']
},
extend: {
animation: {
'wiggle': 'wiggle 1s ease-in-out infinite',
'spin-slow': 'spin 6s linear infinite',
'scale': 'scale 3s linear infinite',
'word': 'displayWord 1s linear'
},
keyframes: {
wiggle: {
'0%, 100%': { transform: 'rotate(-3deg)' },
'50%': { transform: 'rotate(3deg)' },
},
scale: {
'0%, 100%': { transform: 'scale(1)'},
'70%': { transform: 'scale(0.95)' },
'50%': { transform: 'scale(0.9)' }
},
displayWord: {
'0%': { color: 'white', 'font-size': '10px' },
'100%': { color: 'black' }
}
}
},
},
variants: {
extend: {},
},
plugins: [],
}