-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
34 lines (33 loc) · 1.08 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
// TW Elements is free under AGPL, with a commercial license required for specific uses. See more details: https://tw-elements.com/license/ and contact us for queries at [email protected]
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx}",
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
"./node_modules/tw-elements/dist/js/**/*.js",
// // Or if using `src` directory:
// "./src/**/*.{js,ts,jsx,tsx}",
// "./node_modules/tw-elements/dist/js/**/*.js"
],
theme: {
extend: {
keyframes: () => ({
slideRight: {
"0%": { opacity: 0, marginLeft: "-600px" },
"100%": { opacity: 1, marginLeft: "0" },
},
slideLeft: {
"0%": { opacity: 0, marginRight: "-600px" },
"100%": { opacity: 1, marginRight: "0" },
},
}),
animation: {
slideRight: "slideRight 1s ease-in",
slideLeft: "slideLeft 1s ease-in",
},
},
},
darkMode: "class",
plugins: [require("tw-elements/dist/plugin.cjs")],
};