-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
87 lines (70 loc) · 1.91 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/** @type {import('tailwindcss').Config} */
const defaultTheme = require('tailwindcss/defaultTheme');
const { withAnimations } = require('animated-tailwindcss');
module.exports = withAnimations({
content: [
"./*.{html,js}",
"./public/*.{html,js}",
"./public/pages/*.{html,js}"
],
darkMode: 'class',
theme: {
screens: {
'xs': {'min': '0px', 'max': '360px'},
...defaultTheme.screens,
},
extend: {
colors: {
WABrightGreen: 'hsl(142, 70%, 49%)',
WATeal: 'hsl(173, 77%, 31%)',
WADarkTeal: 'hsl(203, 25%, 16%)',
WADarkGreen: 'hsl(203, 32%, 10%)',
WADarkGreen2: 'hsl(167, 100%, 33%)',
WADarkestGreen: 'hsl(203, 32%, 8%)',
WAChatBGLight: 'hsl(37, 29%, 91%)',
WAChatBGLDark: 'hsl(206, 39%, 7%)',
WALightYellow: 'hsl(40, 100%, 90%)'
},
fontFamily: {
roboto: ['Roboto', 'sans-serif']
},
keyframes: {
wiggle: {
'0%, 100%': {transform: 'rotate(-3deg)'},
'50%': {transform: 'rotate(3deg)'},
},
dropdown: {
'0%': {top: '-280px'},
'100%': {top: '0px'}
},
'show-camera': {
'0%': {
transform: 'translateX(43.58px)'
},
'100%': {
transform: 'translateX(none)'
}
},
'hide-camera': {
'0%': {
transform: 'translateX(none)'
},
'100%': {
transform: 'translateX(43.58px)'
}
}
},
animation: {
wiggle: 'wiggle 1s ease-in-out infinite',
dropdown: 'dropdown 0.5s ease-out',
'show-camera': 'show-camera 0.5s forwards ease-out',
'hide-camera': 'hide-camera 0.5s forwards ease-out'
},
backgroundImage: {
'WAChatBGPattern': "url('imgs/bg-pattern.png')"
}
}
},
plugins: [
],
});