-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
97 lines (97 loc) · 2.63 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
88
89
90
91
92
93
94
95
96
97
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic':
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
},
colors: {
soft: '#f5f5f5',
darkblue: '#091c29'
},
animation: {
pulse1s: 'pulse1s 1s cubic-bezier(0.4, 0, 0.6, 1) infinite',
newbounce: 'newbounce 1s infinite',
rebounce: 'rebounce 1s infinite',
float: 'float 3s infinite',
refloat: 'refloat 3s infinite',
},
keyframes: {
pulse1s: {
'25%': {
opacity: '.1',
},
},
newbounce: {
'0%, 100%': {
transform: 'translateY(-10%)',
animationTimingFunction: 'cubic-bezier(0.8,0,1,1)',
},
'50%': {
transform: 'none',
animationTimingFunction: 'cubic-bezier(0,0,0.2,1)',
},
},
rebounce: {
'0%, 100%': {
transform: 'none',
animationTimingFunction: 'cubic-bezier(0.8,0,1,1)',
},
'50%': {
transform: 'translateY(-10%)',
animationTimingFunction: 'cubic-bezier(0,0,0.2,1)',
},
},
float: {
'0%': {
transform: 'translateY(0px)',
animationTimingFunction: 'ease-in-out',
},
'50%': {
transform: 'translateY(-20px)',
animationTimingFunction: 'ease-in-out',
},
'100%': {
transform: 'translateY(0px)',
animationTimingFunction: 'ease-in-out',
},
},
refloat: {
'0%': {
transform: 'translateY(-20px)',
animationTimingFunction: 'ease-in-out',
},
'50%': {
transform: 'translateY(0px)',
animationTimingFunction: 'ease-in-out',
},
'100%': {
transform: 'translateY(-20px)',
animationTimingFunction: 'ease-in-out',
},
},
},
transitionDuration: {
1500: '1500ms',
2000: '2000ms',
2500: '2500ms',
3000: '3000ms',
},
boxShadow: {
soft: '20px 20px 35px #d0d0d0, -20px -20px 35px #ffffff',
softBlack: '10px 10px 25px #111121, -10px -10px 25px #101020',
},
fontFamily: {
dosis: ['Dosis']
}
},
},
plugins: [],
}