Files

16 lines
286 B
JavaScript

export default {
plugins: [replacePinkWithBlue],
}
function replacePinkWithBlue() {
return {
postcssPlugin: 'replace-pink-with-blue',
Declaration(decl) {
if (decl.value === 'pink') {
decl.value = 'blue'
}
},
}
}
replacePinkWithBlue.postcss = true