-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
55 lines (55 loc) · 1.43 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./app/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./containers/**/*.{js,ts,jsx,tsx,mdx}',
'./templates/**/*.{js,ts,jsx,tsx,mdx}'
],
theme: {
extend: {
fontSize: {
'2xs': ['10px', '1.25']
},
colors: {
primary: '#FF6154'
},
keyframes: {
'toast-open': {
from: {
opacity: 0,
transform: 'translateX(3000px)'
},
'60%': {
opacity: 1,
transform: 'translateX(-25px)'
},
'75%': {
transform: 'translateX(10px)'
},
'90%': {
transform: 'translateX(-5px)'
},
to: {
transform: 'none'
}
},
'heart-burst': {
from: {
backgroundPosition: 'left'
},
to: {
backgroundPosition: 'right'
}
}
},
animation: {
'toast-open': 'toast-open 0.6s linear',
'heart-burst': 'heart-burst 0.8s steps(28) 1'
},
backgroundImage: {
'diagonal-lines': `url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%233f3f46' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E")`
}
}
}
}