-
Notifications
You must be signed in to change notification settings - Fork 1.8k
/
tailwind.config.js
50 lines (50 loc) · 1.74 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx}",
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
fontFamily: {
inter: ["var(--font-inter)", "sans-serif"],
nacelle: ["var(--font-nacelle)", "sans-serif"],
},
fontSize: {
xs: ["0.8125rem", { lineHeight: "1.5384" }],
sm: ["0.875rem", { lineHeight: "1.5715" }],
base: [
"0.9375rem",
{ lineHeight: "1.5333", letterSpacing: "-0.0125em" },
],
lg: ["1.125rem", { lineHeight: "1.5", letterSpacing: "-0.0125em" }],
xl: ["1.25rem", { lineHeight: "1.5", letterSpacing: "-0.0125em" }],
"2xl": ["1.5rem", { lineHeight: "1.415", letterSpacing: "-0.0268em" }],
"3xl": [
"1.75rem",
{ lineHeight: "1.3571", letterSpacing: "-0.0268em" },
],
"4xl": ["2.5rem", { lineHeight: "1.1", letterSpacing: "-0.0268em" }],
"5xl": ["3.5rem", { lineHeight: "1", letterSpacing: "-0.0268em" }],
"6xl": ["4rem", { lineHeight: "1", letterSpacing: "-0.0268em" }],
"7xl": ["4.5rem", { lineHeight: "1", letterSpacing: "-0.0268em" }],
},
animation: {
shine: "shine 5s ease-in-out 500ms infinite",
},
keyframes: {
shine: {
"0%": { top: "0", transform: "scaleY(5)", opacity: "0" },
"10%": { opacity: ".8" },
"20%": { top: "100%", transform: "scaleY(10)", opacity: "0" },
"100%": { top: "100%", transform: "scaleY(1)", opacity: "0" },
},
gradient: {
to: { "background-position": "200% center" },
},
},
},
},
plugins: [require("@tailwindcss/forms")],
};