import e from"postcss-value-parser";const r=r=>{const s=Object.assign({preserve:!1},r);return{postcssPlugin:"postcss-color-rebeccapurple",Declaration(r){if(!r.value.includes("rebeccapurple"))return;const c=e(r.value);c.walk((e=>{"word"===e.type&&"rebeccapurple"===e.value&&(e.value="#639")}));const o=String(c);o!==r.value&&(r.cloneBefore({value:o}),s.preserve||r.remove())}}};r.postcss=!0;export{r as default};
