forked from eduamdev/carhive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
61 lines (60 loc) · 1.82 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
const { fontFamily } = require('tailwindcss/defaultTheme');
/** @type {import('tailwindcss').Config} */
module.exports = {
future: {
hoverOnlyWhenSupported: true,
},
content: [
'./app/**/*.{js,ts,jsx,tsx,mdx}',
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
screens: {
sm: '550px',
md: '950px',
lg: '1128px',
},
fontFamily: {
sans: ['var(--font-sans)', ...fontFamily.sans],
},
maxWidth: {
'8xl': '86rem',
},
keyframes: {
slide: {
'0%': { transform: 'translateX(0)' },
'100%': { transform: 'translateX(calc(-100% /3))' },
},
'dot-pulse-before': {
'0%': { boxShadow: '9984px 0 0 -5px' },
'30%': { boxShadow: '9984px 0 0 2px' },
'60%,100%': { boxShadow: '9984px 0 0 -5px' },
},
'dot-pulse': {
'0%': { boxShadow: '9999px 0 0 -5px' },
'30%': { boxShadow: '9999px 0 0 2px' },
'60%,100%': { boxShadow: '9999px 0 0 -5px' },
},
'dot-pulse-after': {
'0%': { boxShadow: '10014px 0 0 -5px' },
'30%': { boxShadow: '10014px 0 0 2px' },
'60%,100%': { boxShadow: '10014px 0 0 -5px' },
},
'slide-background-x': {
'0%': { backgroundPosition: '-200% 0' },
'100%': { backgroundPosition: '200% 0' },
},
},
animation: {
slide: 'slide 48s linear infinite',
'dot-pulse-before': 'dot-pulse-before 1.5s infinite linear',
'dot-pulse': 'dot-pulse 1.5s infinite linear',
'dot-pulse-after': 'dot-pulse-after 1.5s infinite linear',
'slide-background-x': 'slide-background-x 3s infinite ease-in-out',
},
},
},
plugins: [require('tailwindcss-animate')],
};