-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
103 lines (101 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
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
/** @type {import('tailwindcss').Config} */
const tailwindConfig = {
darkMode: ['class', '[data-theme-mode="dark"]'],
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}'
],
theme: {
extend: {
animation: {
hoverAnimation: 'hoverAnimation 0.2s forwards'
},
backgroundColor: {
light: '#f3f3f3',
dark: '#0b0b0c'
},
borderRadius: {
4: '0.4rem'
},
colors: {
primary: '#F231A5',
secondary: '#3CD3C1',
mainBg: '#06092B',
lightBg: '#F2F2F2',
white: '#FAFAFA',
black: '#030517',
lightGray: '#EAEAEA',
gray: '#8F8F8F',
darkGray: '#2E2F42',
red: '#FF6347',
orange: '#FF5F5F',
pink: '#F062C0',
blue: {
600: '#006FF9'
}
},
fontFamily: {
sans: ['Inter', 'sans-serif']
},
fontSize: {
xsmall: '1.2rem',
small: '1.4rem',
medium: '1.6rem',
large: '1.8rem',
xlarge: '2.0rem',
xxlarge: '2.8rem',
huge: '5.2rem'
},
fontWeight: {
light: 300,
normal: 400,
bold: 600
},
gridTemplateColumns: {
'minmax-50': 'minmax(auto, 50%) 1fr'
},
keyframes: {
hoverAnimation: {
from: { width: '0', left: '50%' },
to: { width: '100%', left: '0' }
}
},
spacing: {
xxsmall: '0.8rem',
xsmall: '1.6rem',
small: '2.4rem',
medium: '3.2rem',
large: '4.0rem',
xlarge: '4.8rem',
xxlarge: '5.6rem',
container: '130rem',
gutter: '3.2rem',
18: '4.5rem'
},
zIndex: {
base: 10,
menu: 20,
overlay: 30,
modal: 40,
alwaysOnTop: 50
}
},
screens: {
xs: '375px',
sm: '576px',
md: '768px',
lg: '992px',
xl: '1200px',
xxl: '1400px',
'max-xs': { max: '374px' },
'max-sm': { max: '575px' },
'max-md': { max: '767px' },
'max-lg': { max: '991px' },
'max-xl': { max: '1199px' },
'max-xxl': { max: '1399px' }
}
},
plugins: []
};
export default tailwindConfig;