-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
56 lines (56 loc) · 1.37 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
51
52
53
54
55
56
/** @type {import('tailwindcss/tailwind-config').TailwindConfig} */
module.exports = {
content: [
'./public/**/*.html',
'./src/**/*.{js,jsx,ts,tsx,mdx}',
'./content/**/*.{md,mdx}',
],
theme: {
textIndent: (theme) => theme('spacing'),
screens: {
xxs: '375px',
xs: '600px',
sm: '768px',
md: '900px',
lg: '1024px',
xl: '1200px',
xxl: '1440px',
xxxl: '2600px',
},
extend: {
fontFamily: {
'sans': ['Alegreya Sans', 'sans-serif'],
'serif': ['Alegreya', 'serif'],
'sans-sc': [
'Alegreya Sans SC',
'Alegreya Sans',
'sans-serif',
],
},
fontSize: {
'5xl': '2.6rem',
},
colors: {
'blue': '#0084ff',
'red': '#d0232a',
},
minHeight: (theme) => theme('spacing'),
gap: {
'narrow': '16px',
'wide': '64px'
},
height: {
'content': 'fit-content'
}
},
},
plugins: [
require('@tailwindcss/typography')({
// all these options default to the values specified here
ellipsis: true, // whether to generate ellipsis utilities
hyphens: true, // whether to generate hyphenation utilities
kerning: true, // whether to generate kerning utilities
textUnset: true, // whether to generate utilities to unset text properties
}),
],
};