-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
63 lines (58 loc) · 1.61 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
56
57
58
59
60
61
62
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
"node_modules/keep-react/**/*.{js,jsx,ts,tsx}"
// 'node_modules/flowbite-react/lib/esm/**/*.js',
],
theme: {
extend: {
fontFamily: {
'custom': ['Manrope'], // Define your custom font family
},
animation: {
'bounce-slow': 'bounce 2s infinite',
wave: 'wave 1.5s linear infinite', // Add wave animation here
},
keyframes: { // Correctly define keyframes under `keyframes`
wave: {
'0%': { backgroundPosition: '200% 0' },
'100%': { backgroundPosition: '-200% 0' },
},
},
},
},
plugins: [
require('daisyui'),
function({ addUtilities }) {
const newUtilities = {
// '.btn': {
// padding: '.5rem 1rem',
// borderRadius: '15px',
// fontWeight: '600',
// cursor: 'pointer',
// display: 'inline-block',
// color: '#fff',
// backgroundColor: '#0BE58A',
// transition: 'background-color 0.3s ease',
// },
'.btn2': {
padding: '.5rem 1rem',
borderRadius: '15px',
fontWeight: '600',
cursor: 'pointer',
display: 'inline-block',
color: '#fff',
backgroundColor: 'red',
transition: 'background-color 0.3s ease',
},
// '.btn:hover': {
// backgroundColor: '#357cd6',
// color:'white'
// },
};
addUtilities(newUtilities, ['responsive', 'hover']);
},
],
}