-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
74 lines (73 loc) · 1.94 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
const withMT = require('@material-tailwind/react/utils/withMT');
module.exports = withMT({
content: [
'./src/**/**/*.{js,ts,jsx,tsx,mdx}',
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/containers/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
screens: {
xs: '375px',
sm: '414px',
md: '768px',
lg: '976px',
xl: '1110px',
xxl: '1200px',
xxxl: '1440px',
},
colors: {
primary: '#F57930',
secondary: '#864B25',
dark: { main: '#171C1A', light: '#2E3230' },
text: '#808080',
error: '#F93D3D',
current: 'currentColor',
white: '#fff',
transparent: 'transparent',
},
fontSize: {
xs: '0.875rem', // 14px
sm: '1rem', // 16px
md: '1.125rem', // 18px
lg: '1.5rem', // 20px
xl: '1.625rem', // 26px
'2xl': '2.125rem', // 34px
'3xl': '2.5rem', // 40px
'4xl': '3rem', // 48px
'5xl': '4rem', // 60px
},
extend: {
boxShadow: {
primary: '0px 1px 8px 1px rgba(245, 121, 48, 0.25)',
glove: '0px 5px 10px -5px rgba(245, 121, 48, 0.25)',
},
colors: {
primary: '#F57930',
primary25: 'rgba(245, 121, 48, 0.25)',
secondary: '#864B25',
dark: { main: '#171C1A', light: '#2E3230' },
text: '#808080',
error: '#F93D3D',
current: 'currentColor',
white: '#fff',
transparent: 'transparent',
},
keyframes: {
blink: {
'0%': { boxShadow: 'none', scale: '1' },
'100%': { boxShadow: '0px 1px 8px 5px rgba(245, 121, 48, 0.25)', scale: '1.02' },
},
slideup: {
'0%': { transform: 'translateY(-25)', opacity: 0 },
'100%': { transform: 'translateY(0)', opacity: 1 },
},
},
animation: {
blink: 'blink 2s ease-in-out',
sideup: 'sideup 1s ease-in',
},
},
},
plugins: [],
});