generated from argon1025/CRA-TailwindCSS-Template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
38 lines (38 loc) · 934 Bytes
/
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
// tailwind.config.js
module.exports = {
purge: ["./src/**/*.{js,jsx,ts,tsx}", "./public/index.html"],
darkMode: "media", // or 'media' or 'class'
theme: {
extend: {
fontFamily: {
"eng-sub-font-1": ["Literata", "sans-serif"],
"eng-sub-font-2": ["Poppins", "sans-serif"],
},
backgroundImage: {
"bg-1": "url('./Resource/bg1.jpg')",
"bg-2": "url('./Resource/bg2.svg')",
"bgd-1": "url('./Resource/bgd1.jpg')",
},
},
},
variants: {
extend: {
keyframes: {
"fade-in-down": {
"0%": {
opacity: "0",
transform: "translateY(-10px)",
},
"100%": {
opacity: "1",
transform: "translateY(0)",
},
},
},
animation: {
"fade-in-down": "fade-in-down 0.5s ease-out",
},
},
},
plugins: [require("@tailwindcss/typography")],
};