tailwindcss/src/defaultPlugins.js

58 lines
2.8 KiB
JavaScript
Raw Normal View History

2019-01-09 21:09:34 -05:00
import minWidth from './plugins/minWidth'
2019-01-09 14:16:39 -05:00
import negativeMargin from './plugins/negativeMargin'
2019-01-09 14:14:26 -05:00
import objectFit from './plugins/objectFit'
import objectPosition from './plugins/objectPosition'
2019-01-09 14:05:56 -05:00
import opacity from './plugins/opacity'
2019-01-09 14:05:00 -05:00
import outline from './plugins/outline'
2019-01-09 14:04:11 -05:00
import overflow from './plugins/overflow'
2019-01-09 14:01:27 -05:00
import padding from './plugins/padding'
2019-01-09 13:37:28 -05:00
import pointerEvents from './plugins/pointerEvents'
2019-01-09 13:23:48 -05:00
import position from './plugins/position'
2019-01-09 13:18:58 -05:00
import resize from './plugins/resize'
2019-01-09 13:17:49 -05:00
import shadows from './plugins/shadows'
2019-01-09 13:15:21 -05:00
import svgFill from './plugins/svgFill'
2019-01-09 13:14:31 -05:00
import svgStroke from './plugins/svgStroke'
2019-01-09 13:13:22 -05:00
import tableLayout from './plugins/tableLayout'
2019-01-09 13:12:28 -05:00
import textAlign from './plugins/textAlign'
2019-01-09 13:11:27 -05:00
import textColors from './plugins/textColors'
import textSizes from './plugins/textSizes'
import textStyle from './plugins/textStyle'
2019-01-09 13:07:09 -05:00
import tracking from './plugins/tracking'
import userSelect from './plugins/userSelect'
2019-01-09 13:04:44 -05:00
import verticalAlign from './plugins/verticalAlign'
2019-01-09 13:03:10 -05:00
import visibility from './plugins/visibility'
import whitespace from './plugins/whitespace'
import width from './plugins/width'
2019-01-09 11:48:04 -05:00
import zIndex from './plugins/zIndex'
export default function (config) {
return [
2019-01-09 21:09:34 -05:00
config.modules.minWidth === false ? () => {} : minWidth(),
2019-01-09 14:16:39 -05:00
config.modules.negativeMargin === false ? () => {} : negativeMargin(),
2019-01-09 14:14:26 -05:00
config.modules.objectFit === false ? () => {} : objectFit(),
config.modules.objectPosition === false ? () => {} : objectPosition(),
config.modules.opacity === false ? () => {} : opacity(),
config.modules.outline === false ? () => {} : outline(),
config.modules.overflow === false ? () => {} : overflow(),
config.modules.padding === false ? () => {} : padding(),
config.modules.pointerEvents === false ? () => {} : pointerEvents(),
config.modules.position === false ? () => {} : position(),
config.modules.resize === false ? () => {} : resize(),
config.modules.shadows === false ? () => {} : shadows(),
config.modules.svgFill === false ? () => {} : svgFill(),
config.modules.svgStroke === false ? () => {} : svgStroke(),
config.modules.tableLayout === false ? () => {} : tableLayout(),
config.modules.textAlign === false ? () => {} : textAlign(),
config.modules.textColors === false ? () => {} : textColors(),
config.modules.textSizes === false ? () => {} : textSizes(),
config.modules.textStyle === false ? () => {} : textStyle(),
config.modules.tracking === false ? () => {} : tracking(),
config.modules.userSelect === false ? () => {} : userSelect(),
config.modules.verticalAlign === false ? () => {} : verticalAlign(),
config.modules.visibility === false ? () => {} : visibility(),
config.modules.whitespace === false ? () => {} : whitespace(),
config.modules.width === false ? () => {} : width(),
config.modules.zIndex === false ? () => {} : zIndex(),
]
}