forked from frontendfyi/rebuilding-the-apple-tv-plus-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
43 lines (43 loc) · 1022 Bytes
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{html,ts,tsx}"],
theme: {
colors: {
background: "#000",
backgroundContrast: "#111",
textBlack: "#1d1d1f",
white: "#fff",
},
fontFamily: {
sans: [
"SF Pro Display",
"Helvetica Neue",
"Helvetica",
"Arial",
"sans-serif",
],
},
fontSize: {
xs: "0.75rem", // 12px
sm: "0.875rem", // 14px
base: "1.0625rem", // 17px
lg: ["1.1875rem", "1.21"], // 19px
xl: "1.3125rem", // 21px
"2xl": "1.5rem", // 24px
"3xl": "1.75rem", // 28px
"4xl": ["2.5rem", "1.1"], // 40px
"5xl": ["4.5rem", "1.05"], // 72px
},
keyframes: {
"carousel-move": {
"0%": { transform: "translateX(0)" },
"100%": { transform: "translateX(-100%)" },
},
},
animation: {
"carousel-move": "carousel-move var(--duration,80s) infinite",
},
extend: {},
},
plugins: [],
};