-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
72 lines (71 loc) · 1.78 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
71
72
const colors = require('tailwindcss/colors')
module.exports = {
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
darkMode: 'class',
theme: {
extend: {
colors: {
'light-blue': colors.lightBlue,
teal: colors.teal,
rose: colors.rose
},
screens: {
xs: '480px',
'3xl': '1920px',
'4xl': '2560px',
'5xl': '3840px'
},
transitionProperty: {
'shadow-and-colors': [
'box-shadow, background-color, border-color, color, fill, stroke'
]
},
// Wave animation via https://jarv.is/notes/css-waving-hand-emoji/
keyframes: {
wave: {
'0%': {
transform: 'rotate( 0.0deg)',
'transform-origin': '70% 70%'
},
'10%': {
transform: 'rotate(14.0deg)',
'transform-origin': '70% 70%'
},
'20%': {
transform: 'rotate(-8.0deg)',
'transform-origin': '70% 70%'
},
'30%': {
transform: 'rotate(14.0deg)',
'transform-origin': '70% 70%'
},
'40%': {
transform: 'rotate(-4.0deg)',
'transform-origin': '70% 70%'
},
'50%': {
transform: 'rotate(10.0deg)',
'transform-origin': '70% 70%'
},
'60%': {
transform: 'rotate( 0.0deg)',
'transform-origin': '70% 70%'
},
'100%': {
transform: 'rotate( 0.0deg)',
'transform-origin': '70% 70%'
}
}
},
animation: {
wave: 'wave 2.5s ease-in-out infinite'
}
}
},
variants: {
extend: {
outline: ['dark', 'focus-visible']
}
},
plugins: []
}