-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
87 lines (76 loc) · 1.61 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
const plugin = require('tailwindcss/plugin')
module.exports = {
purge: ['../src/**/*.css", "./**/*.html'],
darkMode: false, // or 'media' or 'class'
theme: {
container: {
center: true
},
fontFamily: {
ptSerif: "'PT serif', serif",
ptSans: "'Pt sans', sans"
},
lineHeight:{
'80': "5.5rem",
'9': "2.2rem",
"10": "2.3rem",
"11": "2.5rem",
'12': "3rem",
"13": "3.5rem",
"14": "4rem"
},
height:{
"28": "28rem"
},
borderColor: theme => ({
...theme('colors'),
DEFAULT: theme('colors.gray.300', 'currentColor'),
'primary': '#13DEAD',
'secondary': '#ffed4a',
'danger': '#e3342f',
}),
backgroundColor: theme => ({
...theme('colors'),
'primary': '#13DEAD',
'secondary': '#ffed4a',
'danger': '#e3342f',
'footer-color': '#EFEFEF',
}),
animation: {
blob: "blob 10s infinite"
},
keyframes:{
blob:{
"0%": {
transform: "scale(1)",
},
"33%": {
transform: "scale(1.2)",
},
"66%": {
transform: "scale(0.8)",
},
"100%": {
transform: "scale(1)",
}
}
}
},
variants: {
extend: {},
},
plugins: [
require('postcss-import'),
require('tailwindcss-pseudo-elements'),
plugin(({addUtilities}) => {
const newUtilities = {
".empty-content": {
content: "''",
},
}
addUtilities(newUtilities, {
variants: ["before", "after"],
});
})
],
}