-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
49 lines (45 loc) · 1.12 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
/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
fontFamily: {
SourceSan: ["Source Sans 3, sans-serif"],
Mulish: ["Mulish, sans-serif"],
Roboto: ["Roboto, sans-serif"],
},
extend: {
fontSize: {
custom: "calc(100vw / 20)", // Tạo fontSize tùy chỉnh
},
backgroundImage: {
login: "url('/public/loginBackground.png')",
},
screens: {
xsm: "500px",
lgEqual: "992px",
xxl: "1536px",
},
colors: {
"red-rgba": "rgba(255, 0, 0, .1)",
},
},
},
plugins: [
function ({ addUtilities }) {
const newUtilities = {
".scrollbar-none": {
"scrollbar-width": "none" /* Firefox */,
"-ms-overflow-style": "none" /* Internet Explorer 10+ */,
"&::-webkit-scrollbar": {
display: "none" /* Chrome, Safari, Opera */,
},
},
};
addUtilities(newUtilities, ["responsive", "hover"]);
},
],
corePlugins: {
preflight: false,
},
important: "#app",
};