-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
99 lines (97 loc) · 2.12 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
// -- tailwind.config.js
const plugin = require('tailwindcss/plugin');
module.exports = {
prefix: 'wd-',
mode: 'jit',
purge: {
content: ['./src/public/**/*.html', './src/public/**/*.hbs', './src/assets/js/**/*.js']
},
darkMode: 'class', // -- or 'media' or 'class'
theme: {
screens: {
sm: '640px', // -- mobile
md: '768px', // -- tablet small
lg: '992px', // -- tablet large
xl: '1200px', // -- laptop
xxl: '1600px' // -- desktop large
},
colors: {
black: '#000000',
white: '#ffffff',
dark1: '#353b48',
dark2: '#2f3640',
grey1: '#f5f6fa',
grey2: '#dcdde1',
red1: '#e84118',
red2: '#c23616',
green1: '#4cd137',
green2: '#44bd32',
blue1: '#00a8ff',
blue2: '#0097e6',
navy1: '#273c75',
navy2: '#192a56',
yellow1: '#fbc531',
yellow2: '#e1b12c',
purple1: '#9c88ff',
purple2: '#8c7ae6'
},
fontFamily: {
base: 'Nunito Sans, sans-serif',
secondary: 'Roboto, sans-serif'
},
fontWeight: {
light: 300,
regular: 400,
medium: 500,
semibold: 600,
bold: 700,
black: 900
},
extend: {
borderWidth: {
1: '1px'
},
zIndex: {
'-10': -10,
'-20': -20,
'-30': -30,
'-40': -40,
'-25': -25,
'-50': -50,
'-75': -75,
'-100': 100
}
}
},
plugins: [
plugin(({ addUtilities }) => {
const container = {
'.container': {
maxWidth: '100%',
padding: '0 1rem',
'@screen sm': {
maxWidth: '100%',
padding: '0 1rem'
},
'@screen md': {
maxWidth: '688px',
padding: '0'
},
'@screen lg': {
maxWidth: '864px',
padding: '0'
},
'@screen xl': {
maxWidth: '1140px',
padding: '0'
},
'@screen xxl': {
maxWidth: '1350px',
padding: '0'
}
}
};
addUtilities(container, ['responsive']);
})
]
};