-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
54 lines (49 loc) · 1.29 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
import keepPreset from "keep-react/preset";
/** @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',
],
presets: [keepPreset],
theme: {
extend: {
fontFamily: {
'custom': ['Manrope'], // Define your custom font family
},
},
},
plugins: [
require('flowbite/plugin'),
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',
},
};
addUtilities(newUtilities, ['responsive', 'hover']);
},
],
}