-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
39 lines (39 loc) · 1.17 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
animation: {
fadein: "fadein 250ms ease-in-out 1 forwards",
fadeout: "fadeout 250ms ease-in-out 1 forwards",
},
keyframes: {
fadein: {
"0%": { width: "2rem" },
"100%": { width: "11rem" },
},
fadeout: {
"0%": { width: "11rem" },
"100%": { width: "2rem" },
},
},
content: {
dashboard: "url('./assets/images/dashboard.svg')",
projects: "url('./assets/images/projects.svg')",
tickets: "url('./assets/images/tickets.svg')",
users: "url('./assets/images/users.svg')",
notification: "url('./assets/images/notification.svg')",
bug: "url('./assets/images/bug.svg')",
whitebug: "url('./assets/images/bugw.svg')",
user: "url('./assets/images/user.svg')",
developer: "url('./assets/images/developer.svg')",
admin: "url('./assets/images/admin.svg')",
},
},
},
plugins: [
function ({ addVariant }) {
addVariant("child", "& > *");
},
],
};