-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathindex.js
36 lines (36 loc) · 1.03 KB
/
index.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
module.exports = require("tailwindcss/plugin")(
function ({ addComponents }) {
addComponents([
{ "[x-cloak]": { display: "none !important" } },
require("./src/alert.js")(),
require("./src/avatar.js")(),
require("./src/badge.js")(),
require("./src/breadcrumb.js")(),
require("./src/button.js")(),
require("./src/card.js")(),
require("./src/dialog.js")(),
require("./src/dropdown.js")(),
require("./src/forms.js")(),
require("./src/list.js")(),
require("./src/pagination.js")(),
require("./src/progress.js")(),
require("./src/spinner.js")(),
require("./src/tabs.js")(),
require("./src/toast.js")(),
require("./src/tooltip.js")(),
]);
},
{
theme: {
extend: {
colors: {
primary: {
light: require("tailwindcss/colors").violet[100],
DEFAULT: require("tailwindcss/colors").violet[700],
dark: require("tailwindcss/colors").violet[900],
},
},
},
},
}
);