-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwindPlugin.cjs
49 lines (48 loc) · 936 Bytes
/
tailwindPlugin.cjs
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
const plugin = require('tailwindcss/plugin');
module.exports = plugin(
({ addUtilities }) => {
addUtilities({
'.overlay': {
backgroundColor: 'rgba(0, 0, 0, 0.6)',
position: 'absolute',
bottom: '0',
width: '100%',
height: '100%',
padding: '15px 15px',
display: 'flex',
flexDirection: 'column',
justifyContent: 'space-between',
zIndex: 1
}
});
},
{
theme: {
extend: {
fontFamily: {
// manrope 500: medium, manrope 600: semi-bold
manrope: ['Manrope', 'sans-serif'],
fugaz: ['Fugaz One', 'sans-serif']
},
colors: {
primary: { DEFAULT: '#8883D6' },
secondary: { DEFAULT: '#111821' },
success: { DEFAULT: '#0BAA60' }
},
borderWidth: {
DEFAULT: '2px'
},
borderColor: {
DEFAULT: '#1c1c20'
},
width: {
sidebar: '180px'
},
spacing: {
grid: '20px'
},
backgroundColor: {}
}
}
}
);