-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathtailwind.config.js
54 lines (54 loc) · 1.19 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
module.exports = {
mode: 'jit',
important: true,
content: ['./src/**/*.{js,jsx,ts,tsx}', './public/index.html'],
darkMode: 'class', // or 'media' or 'class'
theme: {
screens: {
'xs': '400px',
'sm': '640px',
'md': '768px',
'lg': '1024px',
'xl': '1280px',
'2xl': '1536px',
},
extend: {
colors: {
gray: {
750: '#141d2e',
}
},
width: {
'card-toggle': 'calc(100% - 3rem)',
},
animation: {
'ping-slow': 'ping-op 3s cubic-bezier(0, 0, 0.2, 1) infinite',
'appear': 'appear 0.5s cubic-bezier(0, 0, 0.2, 1) 1',
},
keyframes: {
'ping-op': {
'0%': {
opacity: 0.75,
},
'75%, 100%': {
transform: 'scale(2)',
opacity: 0,
},
},
},
},
minHeight: {
72: '18rem',
page: 'calc(100vh - 74px)', // header height -> 74px
'min-footer': 'calc(100vh - 148px)',
'min-footer-ad': 'calc(100vh - 265px)',
},
},
variants: {
extend: {},
scrollBehavior: ['motion-safe', 'motion-reduce', 'responsive'],
},
plugins: [
require('@tailwindcss/forms'),
],
}