-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathtailwind.config.js
55 lines (54 loc) · 1.41 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
const withMT = require('@material-tailwind/react/utils/withMT')
module.exports = withMT({
content: [
'./src/**/*.{js,jsx,ts,tsx}',
'./**/node_modules/react-tailwindcss-select/**/*/*.esm.js',
'./**/@material-tailwind/**/*.{html,js,ts,jsx,tsx,mdx}',
],
darkMode: 'class',
theme: {
screens: {
xxs: { min: '0px', max: '150px' },
xs: { min: '151px', max: '200px' },
sm: { min: '200px', max: '400px' },
md: { min: '400px', max: '500px' },
lg: { min: '500px' },
'h-xs': { raw: '(max-height: 150px)' },
},
extend: {
colors: {},
keyframes: {
fadeIn: {
from: {
opacity: '0',
},
to: {
opacity: '1',
},
},
'flip-top': {
'0%, 100%': { transform: 'rotateX(0deg)' },
'100%': { transform: 'rotateX(-90deg)' },
},
'flip-bottom': {
'0%': { transform: 'rotateX(90deg)' },
'100%': { transform: 'rotateX(0deg)' },
},
},
animation: {
fadeIn: 'fadeIn 0.3s ease-in-out',
'flip-top':
'flip-top 0.3s cubic-bezier(0.455, 0.030, 0.515, 0.955) both',
'flip-bottom':
'flip-bottom 0.3s cubic-bezier(0.455, 0.030, 0.515, 0.955) both',
},
transitionDuration: {
900: '900ms',
},
},
},
plugins: [
// ...
require('tailwind-scrollbar'),
],
})