-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
53 lines (53 loc) · 1.44 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
module.exports = {
purge: ['./src/**/*.{js,jsx,ts,tsx}'],
darkMode: false, // or 'media' or 'class'
theme: {
filter: { // defaults to {}
'none': 'none',
'grayscale': 'grayscale(1)',
'invert': 'invert(1)',
'sepia': 'sepia(1)',
},
backdropFilter: { // defaults to {}
'none': 'none',
'blur': 'blur(20px)',
},
extend: {
fontFamily: {
montserrat: ['Montserrat', "sans-serif"],
merriweather: ['Merriweather', "sans-serif"],
opensans: ['OpenSans', "sans-serif"],
sourcesanspro: ['Source Sans Pro', 'Helvetica', "sans-serif"],
},
animation: {
"fade-in-fwd": "fade-in-fwd 3s cubic-bezier(0.390, 0.575, 0.565, 1.000) 1s both"
},
keyframes: {
"fade-in-fwd": {
"0%": {
transform: "translateZ(-80px)",
opacity: "0"
},
to: {
transform: "translateZ(0)",
opacity: "1"
}
}
},
},
},
variants: {
animation: ['hover', 'focus'],
filter: ['responsive'], // defaults to ['responsive']
backdropFilter: ['responsive'], // defaults to ['responsive']
extend: {},
'shadowOutline': ['focus']
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('tailwindcss-shadow-outline-colors')(),
require('tailwindcss-filters'),
require('tailwindcss-shadow-outline-colors')(),
],
}