-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
39 lines (37 loc) · 1.03 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
const dir = './tailwindcss/'
const plugins = dir + 'plugins/'
const {
transitionProperty,
transitionDuration,
transitionTimingFunction,
transitionDelay,
willChange,
} = require(`${dir}transitions`)
module.exports = {
important: true,
theme: {
boxShadow: require(`${dir}boxShadow`),
maxHeight: require(`${dir}maxHeight`),
maxWidth: require(`${dir}maxWidth`),
screens: require(`${dir}screens`),
fontFamily: require(`${dir}fontFamily`),
fontSize: require(`${dir}fontSize`),
borderWidth: require(`${dir}borderWidth`),
borderRadius: require(`${dir}borderRadius`),
colors: require(`${dir}colors`),
fill: theme => theme('colors'),
stroke: theme => theme('colors'),
transitionProperty,
transitionDuration,
transitionTimingFunction,
transitionDelay,
willChange,
},
variants: require(`${dir}variants`),
plugins: [
require('tailwindcss-transitions')(),
require(`${plugins}addBase`),
require(`${plugins}addComponents`),
require(`${plugins}addUtilities`),
],
}