"use strict";var e=require("postcss-value-parser"),r=require("@csstools/utilities");const s=/rebeccapurple/i,t=/^rebeccapurple$/i,creator=c=>{const l=Object.assign({preserve:!1},c);return{postcssPlugin:"postcss-color-rebeccapurple",Declaration(c){if(!s.test(c.value))return;if(r.hasFallback(c))return;const a=e(c.value);a.walk((e=>{"word"===e.type&&t.test(e.value)&&(e.value="#639")}));const o=String(a);o!==c.value&&(c.cloneBefore({value:o}),l.preserve||c.remove())}}};creator.postcss=!0,module.exports=creator;
