mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
56 lines
2.7 KiB
JavaScript
56 lines
2.7 KiB
JavaScript
import negativeMargin from './plugins/negativeMargin'
|
|
import objectFit from './plugins/objectFit'
|
|
import objectPosition from './plugins/objectPosition'
|
|
import opacity from './plugins/opacity'
|
|
import outline from './plugins/outline'
|
|
import overflow from './plugins/overflow'
|
|
import padding from './plugins/padding'
|
|
import pointerEvents from './plugins/pointerEvents'
|
|
import position from './plugins/position'
|
|
import resize from './plugins/resize'
|
|
import shadows from './plugins/shadows'
|
|
import svgFill from './plugins/svgFill'
|
|
import svgStroke from './plugins/svgStroke'
|
|
import tableLayout from './plugins/tableLayout'
|
|
import textAlign from './plugins/textAlign'
|
|
import textColors from './plugins/textColors'
|
|
import textSizes from './plugins/textSizes'
|
|
import textStyle from './plugins/textStyle'
|
|
import tracking from './plugins/tracking'
|
|
import userSelect from './plugins/userSelect'
|
|
import verticalAlign from './plugins/verticalAlign'
|
|
import visibility from './plugins/visibility'
|
|
import whitespace from './plugins/whitespace'
|
|
import width from './plugins/width'
|
|
import zIndex from './plugins/zIndex'
|
|
|
|
export default function (config) {
|
|
return [
|
|
config.modules.negativeMargin === false ? () => {} : negativeMargin(),
|
|
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(),
|
|
]
|
|
}
|