-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
49 lines (49 loc) · 985 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
48
49
module.exports = {
purge: [
'./src/components/**/*.{ts,tsx}',
'./src/containers/**/*.{ts,tsx}',
'./src/pages/**/*.{ts,tsx}',
],
future: {
purgeLayersByDefault: true,
},
// darkMode: 'media', // 'media' or 'class'
theme: {
container: {
center: true,
padding: '1rem',
},
colors: {
black: '#000000',
white: '#FFFFFF',
dark: '#222222', // background
light: '#E9EAE9', // text
yellow: {
DEFAULT: '#FEC004', // button (borders, text)
light: '#FEC00440', // button (bg)
},
green: '#47D43D',
red: '#FF4B4B',
},
extend: {
cursor: ['disabled'],
},
},
variants: {
opacity: ['responsive', 'hover'],
extend: {
opacity: ['disabled'],
},
},
plugins: [
function ({ addComponents }) {
addComponents({
'.container': {
'@screen xl': {
maxWidth: '1296px',
},
},
});
},
],
};