-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
55 lines (50 loc) · 1.24 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
48
49
50
51
52
53
54
55
// /** @type {import('tailwindcss').Config} */
// export default {
// content: [
// "./index.html",
// "./src/**/*.{js,ts,jsx,tsx}",
// ],
// theme: {
// extend: {},
// },
// plugins: [],
// }
// tailwind.config.js
// tailwind.config.js
//error is coming that export default is not defined
//so we have to use module.exports
// Path: reactvite/tailwind.config.js
export default {
purge: ["./index.html", "./src/**/*.{js,jsx,ts,tsx}"],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
fontFamily: {
// Define custom font family
'custom': ["Nanum Pen Script", 'cursive'],
'custom1':["Delicious Handrawn", 'cursive'],
'custom2': ["Devonshire", 'cursive']
},
colors: {
// Define custom colors for background gradients
'glow-purple': '#8C30F5',
'glow-pink': '#FF0080',
},
animation: {
// Define a fadeIn animation for use in Tailwind classes
'fadeIn': 'fadeIn 0.5s ease-in-out forwards',
},
keyframes: {
// Define the fadeIn keyframes
'fadeIn': {
'0%': { opacity: 0 },
'100%': { opacity: 1 },
},
},
},
},
variants: {
extend: {},
},
plugins: [],
};