-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
139 lines (139 loc) · 3.12 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
module.exports = {
mode: 'jit',
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
darkMode: false, // or 'media' or 'class'
theme: {
minHeight: {
'0': '0',
'1/4': '25%',
'1/2': '50%',
'3/4': '75%',
'full': '100%',
'device': '100vh',
'3/4-device': '75vh',
},
extend: {
zIndex: {
"-10": "-10",
},
colors: {
primary: '#fff',
secondary: '#713659',
accent: {
lighter: '#f8e6ef',
DEFAULT: '#BD8FA8',
dark: '#713659'
}
},
keyframes: {
slideup: {
'0%': {
transform: 'translateY(70%)'
},
'100%': {
transform: 'translateY(0%)'
},
},
slidedown: {
'0%': {
transform: 'translateY(-70%)'
},
'100%': {
transform: 'translateY(0%)'
},
},
slideleft: {
'0%': {
transform: 'translateX(70%)'
},
'100%': {
transform: 'translateX(0%)'
},
},
slideright: {
'0%': {
transform: 'translateX(-70%)'
},
'100%': {
transform: 'translateX(0%)'
},
},
slideup_fadein: {
'0%': {
opacity: 0,
transform: 'translateY(70%)'
},
'100%': {
opacity: 1,
transform: 'translateY(0%)'
},
},
slidedown_fadein: {
'0%': {
opacity: 0,
transform: 'translateY(-70%)'
},
'100%': {
opacity: 1,
transform: 'translateY(0%)'
},
},
slideleft_fadein: {
'0%': {
opacity: 0,
transform: 'translateX(70%)'
},
'100%': {
opacity: 1,
transform: 'translateX(0%)'
},
},
slideright_fadein: {
'0%': {
opacity: 0,
transform: 'translateX(-70%)'
},
'100%': {
opacity: 1,
transform: 'translateX(0%)'
},
},
fadein: {
'0%': {
opacity: 0
},
'100%': {
opacity: 1
},
},
fadeout: {
'0%': {
opacity: 1
},
'100%': {
opacity: 0
},
},
},
animation: {
slideup: 'slideup 1s ease-out',
slidedown: 'slidedown 1s ease-out',
slideleft: 'slideleft 1s ease-out',
slideright: 'slideright 1s ease-out',
slideup_fadein: 'slideup_fadein 1s ease-out',
slidedown_fadein: 'slidedown_fadein 1s ease-out',
slideleft_fadein: 'slideleft_fadein 1s ease-out',
slideright_fadein: 'slideright_fadein 1s ease-out',
fadein: 'fadein 1s ease-out',
fadeout: 'fadeout 1s ease-out',
},
},
},
variants: {
extend: {},
},
plugins: [
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/forms'),
],
}