-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
87 lines (87 loc) · 2.1 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
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
module.exports = {
presets: [
require('./theme/preset-colors.js'),
require('./theme/preset-typography.js')
],
content: [
// Use *.tsx if using TypeScript
'./components/**/*.js',
'./pages/**/*.js',
'./theme/**/*.js'
],
theme: {
extend: {
fontFamily: {
// sans: ['Lato', 'sans-serif'],
sans: ['Lato', 'sans-serif'],
heading: ['Oswald', 'sans-serif']
},
// typography: {
// DEFAULT: {
// css: {
// h1: {
// fontFamily: 'font-heading',
// fontWeight: 'font-extralight',
// letterSpacing: 'tracking-tightest',
// fontSize: 'text-6xl',
// marginBottom: '2rem',
// '@screen sm': {
// fontSize: '4.5rem'
// }
// }
// h2 {
// @apply font-heading font-extralight tracking-tight text-4xl sm:text-5xl;
// }
// h3 {
// @apply font-heading font-extralight tracking-tight text-4xl;
// }
// h4 {
// @apply font-heading font-extralight tracking-tight text-3xl;
// }
// h5 {
// @apply font-heading font-extralight tracking-tight text-2xl;
// }
// h6 {
// @apply font-heading font-extralight tracking-tight text-xl;
// }
// small {
// @apply text-gray-500;
// }
// }
// }
// },
letterSpacing: {
widerthan: '0.175em',
widely: '0.077em',
tightest: '-.04em',
tightly: '-0.039em'
},
zIndex: {
60: '60',
70: '70',
80: '80',
90: '90',
100: '100'
},
keyframes: {
pulse: {
'0%, 100%': {
opacity: 1
},
'50%': {
opacity: 0.8
}
},
fadeOut: {
'0%': { opacity: 0 },
'100%': { opacity: 1 }
}
},
animation: {
pulse: 'pulse 1500ms ease-in-out 1 alternate',
fade: 'fadeOut 500ms ease-in-out'
}
}
},
plugins: [require('@tailwindcss/typography')]
}