-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
63 lines (62 loc) · 1.96 KB
/
tailwind.config.ts
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
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
fontSize: {
fclamp:
"clamp(0.5rem, 0.38636363636363635rem + 1.1363636363636365vw, 1.75rem)",
sclamp: "clamp(1.25rem, -1.25rem + 5.208333333333333vw, 5rem)",
tclamp:
"clamp(0.5rem, -0.07692307692307687rem + 6.41025641025641vw, 3rem)",
foclamp:
"clamp(0.5rem, 0.38461538461538464rem + 1.282051282051282vw, 1rem)",
ficlamp: "clamp(1rem, 0.5625rem + 3.8889vw, 1.875rem)",
siclamp: "clamp(0.75rem, 0.625rem + 1.1111vw, 1rem)",
},
fontFamily: {
FiraSans: ["Fira Sans", "sans-serif"],
Archivo: ["Archivo", "sans-serif"],
},
screens: {
"1140>=": { min: "9.375em", max: "71.25em" },
"1180>=": { min: "60em", max: "73.75em" },
"930>=": { min: "48em", max: "58.125em" },
"768<=": { max: "48em" },
"450>=": { min: "9.375em", max: "28.125em" },
"540<=": { min: "9.375em", max: "33.75em" },
},
keyframes: {
fadeIn: {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
fadeOut: {
"0%": { opacity: "1" },
"100%": { opacity: "0" },
},
slideUp: {
"0%": { transform: "translateY(20px)", opacity: "0" },
"100%": { transform: "translateY(0)", opacity: "1" },
},
slideDown: {
"0%": { transform: "translateY(0)", opacity: "1" },
"100%": { transform: "translateY(20px)", opacity: "0" },
},
},
animation: {
fadeIn: "fadeIn 0.3s ease-out",
fadeOut: "fadeOut 0.3s ease-out",
slideUp: "slideUp 0.3s ease-out",
slideDown: "slideDown 0.3s ease-out",
}
},
},
darkMode: "class",
plugins: [],
};
export default config;