mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
18 lines
374 B
JavaScript
18 lines
374 B
JavaScript
const { nameClass } = require('../pluginUtils')
|
|
|
|
module.exports = function ({ matchUtilities }) {
|
|
matchUtilities({
|
|
delay: (modifier, { theme }) => {
|
|
let value = theme.transitionDelay[modifier]
|
|
|
|
if (value === undefined) {
|
|
return []
|
|
}
|
|
|
|
return {
|
|
[nameClass('delay', modifier)]: { 'transition-delay': value },
|
|
}
|
|
},
|
|
})
|
|
}
|