-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
52 lines (48 loc) · 1.12 KB
/
tailwind.config.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
50
51
52
// eslint-disable-next-line @typescript-eslint/no-var-requires
const plugin = require('tailwindcss/plugin');
/** @type {import('tailwindcss').Config} */
const tekflixPlugin = 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: {
colors: {
brand: { DEFAULT: "#ff0068"},
},
borderWidth: {
DEFAULT: '2px',
},
borderColor: {
DEFAULT: "#1c1c20"
},
width: {
sidebar: "180px"
},
spacing: {
grid: "20px"
},
backgroundColor: {
},
}
},
},
);
module.exports = {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
plugins: [tekflixPlugin],
};