-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
46 lines (45 loc) · 1.03 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
/** @type {import('tailwindcss').Config} */
const colors = require('tailwindcss/colors');
module.exports = {
content: [
'src/*.js',
'_layouts/**/*.html',
'_includes/**/*.html',
'*.{html,md}',
'**/*.md',
],
theme: {
colors: {
bg: colors.white,
white: colors.white,
brand: colors.pink[600],
gray: colors.gray,
},
fontFamily: {
sans: 'Inter, Helvetica, Arial, sans-serif',
serif: 'Playfair\\ Display, PT Serif, serif',
},
extend: {
animation: {
fadeInColor: 'grayscaleToColor 500ms ease-in-out 1',
},
keyframes: {
grayscaleToColor: {
'0%': { filter: 'grayscale(100%)' },
'100%': { filter: 'grayscale(0%)' },
},
},
typography: (theme) => ({
DEFAULT: {
css: {
'h1,h2,h3': {
fontFamily: theme('fontFamily.serif'),
fontWeight: 600,
},
},
},
}),
},
},
plugins: [require('@tailwindcss/typography')],
};