-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
68 lines (68 loc) · 2.15 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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
fontSize: {
xs: ['12px', '16px'],
sm: ['14px', '20px'],
base: ['16px', '19.5px'],
lg: ['18px', '21.94px'],
xl: ['20px', '24.38px'],
'2xl': ['24px', '29.26px'],
'3xl': ['28px', '50px'],
'4xl': ['48px', '58px'],
'8xl': ['96px', '106px']
},
extend: {
fontFamily: {
palanquin: ['Palanquin', 'sans-serif'],
montserrat: ['Montserrat', 'sans-serif'],
},
colors: {
'primary': "#ECEEFF",
"coral-red": "#FF6452",
"slate-gray": "#6D6D6D",
"pale-blue": "#F5F6FF",
"white-400": "rgba(255, 255, 255, 0.80)"
},
boxShadow: {
'3xl': '0 10px 40px rgba(0, 0, 0, 0.1)'
},
backgroundImage: {
'hero': "url('assets/images/collection-background.svg')",
'card': "url('assets/images/thumbnail-background.svg')",
},
screens: {
"wide": "1440px"
},
keyframes: {
shake: {
'0%': { transform: 'translate(1px, 1px) rotate(0deg)' },
'10%': { transform: 'translate(-1px, -2px) rotate(-1deg)' },
'20%': { transform: 'translate(-3px, 0px) rotate(1deg)' },
'30%': { transform: 'translate(3px, 2px) rotate(0deg)' },
'40%': { transform: 'translate(1px, -1px) rotate(1deg)' },
'50%': { transform: 'translate(-1px, 2px) rotate(-1deg)' },
'60%': { transform: 'translate(-3px, 1px) rotate(0deg)' },
'70%': { transform: 'translate(3px, 1px) rotate(-1deg)' },
'80%': { transform: 'translate(-1px, -1px) rotate(1deg)' },
'90%': { transform: 'translate(1px, 2px) rotate(0deg)' },
'100%': { transform: 'translate(1px, -2px) rotate(-1deg)' },
},
zoomIn: {
'0%': { transform: 'scale3d(.3, .3, .3)' },
'50%': { opacity: 1 },
}
},
animation: {
shake: 'shake 3s ease-in-out 1 2s',
continuousShake: 'shake 3s ease-in-out infinite',
zoomIn: 'zoomIn 1s both'
},
},
},
plugins: [],
}