-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
83 lines (83 loc) · 1.96 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.{js,jsx,ts,tsx}",
],
theme: {
colors: {
'primary': '#1746A2',
'secondary': {
'main': '#5F9DF7',
'darker': '#4E80CC'
},
'accent': '#FF731D',
'neutral': {
1: '#F3F7F7',
2: '#C8CCCC',
3: '#A2A6A6',
4: '#D4D9D9',
'dark': '#252626',
'dark-2': '#313333',
'dark-3': '#111212'
},
'error': '#E62712'
},
animation: {
'open-dropdown': 'openDropdown 0.3s ease-out 0s 1 normal forwards',
'close-dropdown': 'closeDropdown 0.3s ease-out 0s 1 normal forwards',
'show-notification': 'showNotification 0.3s ease-out 0s 1 normal forwards',
'hide-notification': 'hideNotification 0.3s ease-out 0s 1 normal forwards',
'flip-button': 'flipButton 0.6s ease-out 0s 1 normal forwards',
},
extend: {
keyframes: {
openDropdown: {
'0%': {
transform: 'scale(0)',
opacity: '0.5',
},
'100%': {
transform: 'scale(100%)',
opacity: '1',
}
},
closeDropdown: {
'0%': {
transform: 'scale(100%)',
opacity: '1',
},
'100%': {
transform: 'scale(0)',
opacity: '0.5',
display: 'none',
}
},
showNotification: {
'0%': {
transform: 'translateX(-120%)'
},
'100%': {
transform: 'translateX(0%)'
}
},
hideNotification: {
'0%': {
opacity: '1'
},
'100%': {
opacity: '0'
}
},
flipButton: {
'0%': {
transform: 'rotate3d(1, 0, 0, 0deg)'
},
'100%': {
transform: 'rotate3d(1, 0, 0, 360deg)'
}
}
}
},
},
plugins: [],
}