-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
50 lines (49 loc) · 1.4 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
/** @type {import('tailwindcss').Config} */
module.exports = {
important: true,
content: [
'./src/pages/**/*.{js,ts,jsx,tsx}',
'./src/components/**/*.{js,ts,jsx,tsx}',
'./src/app/**/*.{js,ts,jsx,tsx}',
],
safelist: [
'bg-red-500',
'bg-green-500',
// 'bg-red-500',
],
theme: {
extend: {
fontFamily: {
sans: ['Inter', 'sans-serif'],
mono: ['Roboto Mono', 'monospace'],
serif: ['Roboto Slab', 'serif'],
},
keyframes: {
overlayShow: {
from: { opacity: 0 },
to: { opacity: 1 },
},
contentShow: {
from: { opacity: 0, transform: 'translate(-50%, -20%) scale(0.96)' },
to: { opacity: 1, transform: 'translate(-50%, -50%) scale(1)' },
},
lubDub: {
// animationTimingFunction: 'cubic-bezier(0.445, 0.05, 0.55, 0.95)',
'0%, 50%': { transform: 'scale(1)' },
'25%': { transform: 'scale(1.2)' },
'75%': { transform: 'scale(1.3)' },
'100%': { transform: 'scale(1)' },
},
},
animation: {
overlayShow: 'overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1)',
contentShow: 'contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1)',
lubDub: 'lubDub 2s infinite',
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
}
},
},
plugins: [],
}