/
tailwind.config.js
52 lines (51 loc) · 1.19 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
const plugin = require('tailwindcss/plugin');
module.exports = {
content: ['./src/**/*.js', './node_modules/ssw.megamenu/**/*.js'],
theme: {
extend: {
fontSize: {
xs: '0.8rem',
},
padding: {
'42px': '42px',
},
minWidth: {
'200px': '200px',
},
colors: {
ssw: {
red: '#cc4141',
light: {
red: '#d26e6e',
},
gray: '#797979',
black: '#333333',
},
'tooltip-grey': '#9e9e9e',
'ssw-grey': '#eee',
'light-grey': '#ccc',
'real-black': '#000',
underline: '#aaa',
},
backgroundPosition: {
'10px': '10px',
},
},
},
plugins: [
plugin(function ({ addUtilities }) {
addUtilities({
'.hide-scrollbar': {
'max-height': '44rem',
'scrollbar-width': 'none',
'&::-webkit-scrollbar': {
width: '0',
},
'mask-image':
'linear-gradient(to bottom, transparent, black 8px, black calc(100% - 10px), transparent), linear-gradient(black, black)',
'mask-size': '100% 100%, 0 100%',
},
});
}),
],
};