-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtailwind.config.js
49 lines (49 loc) · 1.34 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} */
module.exports = {
content: [
'./app/**/*.{js,ts,jsx,tsx,mdx}',
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
gridTemplateColumns: {
'auto-fit-min-300': 'repeat(auto-fit, minmax(300px, 1fr))',
},
colors: {
// ... your color definitions
},
fontFamily: {
futura: ['Futura', 'Trebuchet MS', 'Arial', 'sans-serif'], // Custom Futura font
quickdraw: ['var(--font-quickdraw)'],
dumpling: ['var(--font-dumpling)'],
},
typography: (theme) => ({
DEFAULT: {
css: {
h1: {
fontFamily: `${theme('fontFamily.dumpling')}`,
},
h2: {
fontFamily: `${theme('fontFamily.dumpling')}`,
},
h3: {
fontFamily: `${theme('fontFamily.dumpling')}`,
},
h4: {
fontFamily: `${theme('fontFamily.dumpling')}`,
},
h5: {
fontFamily: `${theme('fontFamily.dumpling')}`,
},
h6: {
fontFamily: `${theme('fontFamily.dumpling')}`,
},
},
},
}),
},
},
plugins: [require('@tailwindcss/typography')],
};