-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
76 lines (73 loc) · 1.94 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.{js,jsx,ts,tsx}",
],
theme: {
container: {
padding: {
DEFAULT: '1rem',
sm: '2rem',
lg: '4rem',
xl: '5rem',
'2xl': '6rem',
},
},
colors: {
text: "#FFFFFF", // Use a valid hex code with #
buttonCol: "#593F5F", // Use a valid hex code with #
backgroundCol: "#9479A0" // Use a valid hex code with #
},
},
plugins: [
function ({ addComponents }) {
addComponents({
'.customBtn': {
backgroundColor: "#593F5F",
color: "#f8f9fa", // Change this to `white` if you want the text to be white
border: 'none',
padding: '0.5rem 1rem',
borderRadius: '0.25rem',
fontSize: '1rem',
cursor: 'pointer',
transition: '#9479A0 0.3s', // Fixed transition syntax
'&:hover': {
backgroundColor: "#9479A0",
},
}
})
},
function ({ addComponents }) {
addComponents({
'.customLink': {
backgroundColor: "#593F5F",
margin: 20,
color: "FFFFFF", // Change this to `white` if you want the text to be white
border: 'none',
padding: '0.5rem 1rem',
borderRadius: '0.25rem',
fontSize: '1rem',
cursor: 'pointer',
transition: '#542D5D 0.3s', // Fixed transition syntax
'&:hover': {
backgroundColor: "#542D5D",
},
}
})
},
function ({ addComponents }) {
addComponents({
'.customLinkText': {
color: "FFFFFF", // Change this to `white` if you want the text to be white
border: 'none',
fontSize: '1rem',
cursor: 'pointer',
transition: '#FFFFFF 0.3s', // Fixed transition syntax
'&:hover': {
backgroundColor: "#FFFFFF",
},
}
})
}
],
}