-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
47 lines (47 loc) · 1.38 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
// 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: {
colors: {
gold: {
50: '#FFFAF0',
100: '#FFF5E1',
200: '#f3e2bc',
300: '#FFD700',
400: '#FFCA6A',
500: '#f7cb14',
600: '#e4b40c',
700: '#bf9006',
800: '#bd8509',
900: '#976503',
},
},
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")],
};