-
Notifications
You must be signed in to change notification settings - Fork 4
/
tailwind.config.js
47 lines (46 loc) · 962 Bytes
/
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
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./features/**/*.{js,ts,jsx,tsx}',
],
corePlugins: {
container: false,
},
theme: {
fontFamily: {
sans: ['Poppins', 'sans-serif'],
},
extend: {
colors: {
primary: '#E64646',
dark: '#00082D',
card: 'rgba(255,255,255, .04)',
},
},
},
plugins: [
require('@tailwindcss/forms'),
({ addComponents, theme }) => {
addComponents({
'.container': {
'@screen sm': {
maxWidth: theme('screens.sm'),
},
'@screen md': {
maxWidth: theme('screens.md'),
},
'@screen lg': {
maxWidth: theme('screens.lg'),
},
'@screen xl': {
maxWidth: 1140,
},
'@screen 2xl': {
maxWidth: 1320,
},
},
})
},
],
}