-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
92 lines (91 loc) · 2.26 KB
/
tailwind.config.ts
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
import type { Config } from 'tailwindcss';
const config: Config = {
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
'./entities/**/*.{js,ts,jsx,tsx,mdx}',
'./features/**/*.{js,ts,jsx,tsx,mdx}',
'./pages-layer/**/*.{js,ts,jsx,tsx,mdx}',
'./shared/**/*.{js,ts,jsx,tsx,mdx}',
'./widgets/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
transitionTimingFunction: {
bounce: 'cubic-bezier(.25,1.55,.65,1.4)',
},
borderRadius: {
'4xl': '32px',
'5xl': '40px',
},
height: {
screen: '100dvh',
},
keyframes: {
'fade-in': {
'0%': {
opacity: '0',
},
'100%': {
opacity: '1',
},
},
'movie-fade-in': {
'0%': {
translate: '0 90px',
},
'100%': {
translate: '0 0',
},
},
'pagination-fade-in': {
'0%': {
scale: '0.3',
opacity: '0',
},
'100%': {
scale: '1',
opacity: '1',
},
},
float: {
'0%': {
translate3d: '0',
rotate: '0',
},
'20%': {
transform: 'translate3d(-50px, 15px, 0)',
rotate: '7deg',
scale: '0.9',
},
'40%': {
rotate: '-7deg',
transform: 'translate3d(-30px, -15px, 0)',
},
'60%': {
rotate: '10deg',
scale: '1.2',
transform: 'translate3d(30px, 20px, 0)',
},
'100%': {
translate3d: '0',
rotate: '0',
scale: '1',
},
},
},
animation: {
'fade-in': 'fade-in 1s cubic-bezier(0.86, 0, 0.07, 1) backwards',
'pagination-fade-in':
'pagination-fade-in 1s cubic-bezier(.25,1.55,1,1) backwards',
springish:
'springish 1.72s cubic-bezier(0.445, 0.050, 0.550, 0.950) backwards',
'springish-letter':
'springish-letter 2.35s cubic-bezier(0.445, 0.050, 0.550, 0.950) backwards',
float: 'float 16s ease-in-out infinite',
},
},
},
plugins: [],
};
export default config;