-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.ts
133 lines (128 loc) · 4.42 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
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
import type { Config } from "tailwindcss"
const config: Config = {
darkMode: "selector",
// darkMode: ["class", ":global(.dark)"],
content: [
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/components/**/*.{js,ts,jsx,tsx,mdx}",
"./styles/**/*.{scss,css}",
],
// content: ["./src/app/components/tributePage/*.{js,ts,jsx,tsx,mdx}"],
theme: {
screens: {
card: "160px",
"card-lg": "240px",
mobile: "320px",
"mobile-lg": "480px",
tablet: "640px",
"tablet-lg": "880px",
desktop: "1024px",
"desktop-lg": "1256px",
widescreen: "1400px",
},
fontFamily: {
sans: [
"var(--font-family-sans)", // Untitled Sans (custom)
"Helvetica Neue", // Popular sans-serif, widely available on Mac and iOS
"Arial", // Default fallback sans-serif on Windows
"Segoe UI", // Common on Windows and Microsoft platforms
"Roboto", // Popular on Android and Google platforms
"system-ui", // Uses the system's default sans-serif
"-apple-system", // macOS and iOS system font
"BlinkMacSystemFont", // Fallback for WebKit-based browsers
"sans-serif", // Generic fallback
],
serif: [
"var(--font-family-serif)", // Untitled Serif (custom)
"Georgia", // Well-regarded serif font, common across platforms
"Cambria", // A default serif on Windows
"Times New Roman", // Traditional web-safe serif
"ui-serif", // Uses the system's default serif
"serif", // Generic serif fallback
],
mono: [
"var(--font-family-mono)", // Custom monospace font if available
"SFMono-Regular", // macOS default monospace font
"Consolas", // Popular on Windows
"Liberation Mono", // Common on Linux
"Courier New", // Traditional monospace fallback
"monospace", // Generic fallback
],
display: [
"var(--font-family-display)", // Custom display font
"Helvetica Neue", // Suitable for large text and UI elements
"Arial",
"Segoe UI",
"system-ui",
"-apple-system",
"sans-serif",
],
body: [
"var(--font-family-body)", // Custom body font (Untitled Sans or Serif)
"Georgia", // Clean and widely supported for body text
"Arial",
"Roboto",
"system-ui",
"-apple-system",
"sans-serif",
],
},
letterSpacing: {
serif: "0.5px",
sans: "0.2px",
normal: "0.2px",
wider: "0.05em",
},
fontSize: {
"2xs": ["var(--font-size-2xs)", "var(--line-height-2xs)"],
xs: ["var(--font-size-xs)", "var(--line-height-xs)"],
sm: ["var(--font-size-sm)", "var(--line-height-sm)"],
md: ["var(--font-size-base)", "var(--line-height-base)"],
base: ["var(--font-size-base)", "var(--line-height-base)"],
lg: ["var(--font-size-lg)", "var(--line-height-lg)"],
xl: ["var(--font-size-xl)", "var(--line-height-xl)"],
"2xl": ["var(--font-size-2xl)", "var(--line-height-2xl)"],
"3xl": ["var(--font-size-3xl)", "var(--line-height-3xl)"],
"4xl": ["var(--font-size-4xl)", "var(--line-height-4xl)"],
"5xl": ["var(--font-size-5xl)", "var(--line-height-5xl)"],
"6xl": ["var(--font-size-6xl)", "var(--line-height-6xl)"],
"7xl": ["var(--font-size-7xl)", "var(--line-height-7xl)"],
"8xl": ["var(--font-size-8xl)", "var(--line-height-8xl)"],
},
fontWeight: {
thin: "var(--font-weight-thin)",
extralight: "var(--font-weight-extralight)",
light: "var(--font-weight-light)",
normal: "var(--font-weight-normal)",
medium: "var(--font-weight-medium)",
semibold: "var(--font-weight-semibold)",
bold: "var(--font-weight-bold)",
extrabold: "var(--font-weight-extrabold)",
black: "var(--font-weight-black)",
},
extend: {
width: {
card: "160px",
"card-lg": "240px",
mobile: "320px",
"mobile-lg": "480px",
tablet: "640px",
"tablet-lg": "880px",
desktop: "1024px",
"desktop-lg": "1256px",
widescreen: "1400px",
},
animation: {
marquee: "marquee 40s linear infinite",
},
keyframes: {
marquee: {
"0%": { transform: "translateX(0)" },
"100%": { transform: "translateX(calc(-50% - 2.25rem))" }, // 2.25rem = 9px (space-x-9)
},
},
},
},
plugins: [],
}
export default config