-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtailwind.config.js
More file actions
44 lines (43 loc) · 992 Bytes
/
tailwind.config.js
File metadata and controls
44 lines (43 loc) · 992 Bytes
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
const plugin = require('tailwindcss/plugin');
module.exports = {
content: [
'**/*.html',
'**/*.php',
'**/*.js',
'!wp-admin',
'!wp-includes',
'!node_modules',
'!Prepros Export'
],
theme: {
extend: {
fontFamily: {
sans: ['"Elza"', 'sans-serif'],
},
keyframes: {
gradientShift: {
'0%': { backgroundPosition: '0% 50%' },
'50%': { backgroundPosition: '100% 50%' },
'100%': { backgroundPosition: '0% 50%' },
},
},
animation: {
'gradient-shift': 'gradientShift 15s ease infinite',
},
backgroundSize: {
'400': '400% 400%',
},
},
},
plugins: [
plugin(function ({ addUtilities }) {
addUtilities({
'.bg-gradient-shift': {
backgroundImage:
'linear-gradient(-45deg, #ffffff, #f9e0d9, #fadadd, #d0eafc, #e1f7d5, #ffffff )',
},
});
}),
require('@tailwindcss/typography'),
]
};