-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
75 lines (67 loc) · 1.58 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
// /** @type {import('tailwindcss').Config} */
// module.exports = {
// content: ["./**/*.{html,js}"],
// theme: {
// extend: {
// spacing: {
// "some key": { 1.5: "" },
// colors: {
// "color-primary": "#01051e",
// "color-primary-light": "#020726",
// "color-primary-dark": "#010417",
// "color-secondary": "#ff7d3b",
// "color-gray": "#333",
// "color-white": "#fff",
// "color-blob": "#A427DF",
// },
// },
// },
// },
// plugins: [],
// container: {
// center: true,
// padding: {
// DEFAULT: "20px",
// md: "50px",
// },
// },
// };
/** @type {import('tailwindcss').Config} */
const plugin = require('tailwindcss/plugin');
const rotateY = plugin(function ({ addUtilities }) {
addUtilities ({
'.rotate-y-180': {
transform: "rotateY(180deg)"
},
'.-rotate-y-180': {
transform: "rotateY(-180deg)"
}
})
})
module.exports = {
content: ["./**/*.{html,js}", "./node_modules/flowbite/**/*.js"],
theme: {
extend: {
spacing:{
"some key": {1.5: ""}
},
colors: {
"color-primary": "#0D4D15",
"color-primary-light": "#1E3923",
"color-primary-dark": "#04300C",
"color-secondary": "#2A6605",
"color-gray": "#314425",
"color-white": "#C7FDA6",
"color-blob": "#A427DF",
}
},
container: {
center: true,
padding: {
DEFAULT: '20px',
md: "50px"
}
}
},
plugins: [rotateY, require('flowbite/plugin')],
}