-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
48 lines (48 loc) · 1.12 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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
fontFamily: {
sans: ['Inter var', 'sans-serif'],
serif: ['Playfair Display', 'serif'],
},
animation: {
'gradient': 'gradient 8s linear infinite',
},
keyframes: {
gradient: {
'0%, 100%': {
'background-size': '200% 200%',
'background-position': 'left center',
},
'50%': {
'background-size': '200% 200%',
'background-position': 'right center',
},
},
},
typography: {
DEFAULT: {
css: {
maxWidth: '680px',
color: 'white',
},
},
},
},
},
plugins: [
function ({ matchUtilities, theme }) {
matchUtilities(
{
'bg-dot': (value) => ({
backgroundImage: `radial-gradient(${value} 1px, transparent 1px)`,
backgroundSize: '16px 16px',
}),
},
{ values: theme('colors') }
);
},
],
};