-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
113 lines (113 loc) · 3.41 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
module.exports = {
purge: ["./pages/**/*.tsx", "./src/**/*.tsx"],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
colors: {
primary: "#FF5A5F",
bg: "#293241",
black222: "#222222",
overlay: "rgba(0, 0, 0, 0.47)",
lightGray: "#BABABA",
mediumGray: "#B2B2B2",
cardGray1: "#6B6B6B",
cardGray2: "#AAAAAA",
preTitle: "rgba(255, 255, 255, 0.08)",
primaryHover: "rgba(193, 44, 49, 1)",
primaryBlue: "#168AAD",
primaryLight: "#FFAEB1",
},
backgroundImage: (theme) => ({
banner: "url('/images/banner.jpg')",
}),
backgroundPosition: {
centerMobile: "67%",
bannerInterno: "15% 35%",
},
fontFamily: {
charm: ["Charmonman", "cursive"],
},
borderColor: (theme) => ({
light: "rgba(255, 255, 255, 0.08)",
card: "#F4F4F4",
}),
flex: {
2: "2 2 0%",
1.5: "1.5 1.5 0%",
0.5: "0.5 0.5 0%",
},
scale: ["group-hover"],
keyframes: {
"fade-in-down": {
"0%": {
opacity: "0",
transform: "translateY(-10px)",
},
"100%": {
opacity: "1",
transform: "translateY(0)",
},
},
sideLeft: {
from: {
transform: "translateX(0px)",
},
to: {
transform: "translateX(300px)",
},
},
},
animation: {
"fade-in-down": "fade-in-down 0.3s ease-out",
},
},
variant: {
extend: {
display: ["group-hover", "hover"],
borderRadius: ["group-hover", "hover"],
},
scale: ["responsive", "hover", "focus", "active", "group-hover"],
},
fontFamily: ["Raleway", "Charmonman", "sans-serif"],
container: {
center: true,
},
screens: {
xs: "640px",
sm: "768px",
md: "1024px",
lg: "1280px",
xl: "1300px",
"2xl": "1700px",
"3xl": "2000px",
},
},
variants: {
extend: {},
},
plugins: [
function ({ addComponents }) {
addComponents({
".container": {
width: "100%",
// marginLeft: 'auto',
// marginRight: 'auto',
// paddingLeft: '2rem',
// paddingRight: '2rem',
"@screen sm": {
maxWidth: "80%",
},
"@screen md": {
maxWidth: "90%",
},
"@screen lg": {
maxWidth: "1024px",
},
"@screen xl": {
maxWidth: "1280px",
},
},
});
},
],
};