-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
50 lines (49 loc) · 1.19 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
const plugin = require('tailwindcss/plugin');
module.exports = {
content: ["./app/**/*.{ts,tsx,jsx,js}"],
theme: {
extend: {
fontFamily: {
'body': 'Poppins',
'display': 'Syne',
},
},
},
plugins: [
require('tailwind-easing-gradients')({
variants: ['responsive'],
// required
gradients: {
'map': ['#faf9f9', 'rgba(250, 249, 249, 0)'], // must be two colors
'map-dark': ['#080D21', 'rgba(8, 13, 33, 0)'], // must be two colors
},
// defaults
alphaDecimals: 5,
colorMode: 'lrgb',
type: 'linear',
easing: 'ease', // default settings
colorStops: 15,
directions: {
't': 'to top',
'r': 'to right',
'b': 'to bottom',
'l': 'to left'
},
}),
plugin(function({ addUtilities, addComponents }) {
addUtilities({
'.stretched::after': {
position: 'absolute',
top: '0',
right: '0',
bottom: '0',
left: '0',
background: 'transparent',
zIndex: '10',
pointerEvents: 'auto',
content: '\'\''
},
});
})
],
}