-
Notifications
You must be signed in to change notification settings - Fork 11
/
tailwind.config.js
65 lines (63 loc) · 1.47 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
const { fontFamily } = require('tailwindcss/defaultTheme');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
screens: {
pwa: { raw: '(display-mode: standalone)' },
},
colors: {
primary: '#3861fb',
gray: '#F8FAFB',
secondary: '#00acac',
brand: '#3F3F79',
},
boxShadow: {
card: '0px 7px 25px #98a1a925',
},
zIndex: {
infinity: '999',
},
backgroundSize: {
85: '85rem',
},
keyframes: {
progress: {
'0%': { right: '-100%' },
'100%': { right: '100%' },
},
},
animation: {
'progress': 'progress 2s linear infinite',
'bounce-slow': 'bounce 3s infinite',
},
maxHeight: theme => ({
0: '0',
...theme('spacing'),
full: '100%',
screen: '100vh',
}),
minHeight: theme => ({
0: '0',
...theme('spacing'),
full: '100%',
screen: '100vh',
}),
minWidth: theme => ({
0: '0',
...theme('spacing'),
full: '100%',
screen: '100vw',
}),
maxWidth: (theme, { breakpoints }) => ({
0: '0',
...theme('spacing'),
...breakpoints(theme('screens')),
full: '100%',
screen: '100vw',
}),
},
},
plugins: [require('@tailwindcss/line-clamp'), require('tailwindcss-rtl')],
};