-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
55 lines (55 loc) · 1.16 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./components/**/*.tsx', './pages/**/*.tsx'],
darkMode: 'class',
theme: {
container: {
center: true,
screens: {
sm: '100%',
md: '100%',
lg: '100%',
xl: '100%',
'2xl': '1680px'
}
},
extend: {
fontFamily: {
'sans': [
'SofiaPro',
'Segoe UI',
'Roboto',
'Helvetica Neue',
'sans-serif'
],
'serif': [
'Playfair Display',
'Georgia',
'serif'
]
},
fontSize: {
'5xl': '2.5rem',
'6xl': '2.75rem',
'7xl': '4.5rem',
'8xl': '6.25rem',
},
keyframes: {
animatedgradient: {
'0%': { backgroundPosition: '0% 50%' },
'50%': { backgroundPosition: '100% 50%' },
'100%': { backgroundPosition: '0% 50%' },
},
},
backgroundSize: {
'300%': '300%',
},
animation: {
gradient: 'animatedgradient 6s ease infinite alternate',
},
},
},
plugins: [
require('@tailwindcss/typography'),
],
}