function r(r){var n=function(r,n){return void 0===n&&(n="-"),r.replace(/\s+/g,n)}(r.toString());return n.includes("\\.")?r:!Number.isInteger(parseFloat(r.toString()))?n.replace(".","\\."):r}function n(n,e){return void 0===e&&(e=""),[e,r(n)].filter(Boolean).join("-")}function e(n,e){return"var("+r(n)+(e?", "+e:"")+")"}function t(r,e){return void 0===e&&(e=""),"--"+n(r,e)}function i(r,n,i){var o=t(r,i);return{variable:o,reference:e(o,n)}}export{n as addPrefix,i as cssVar,t as toVarDefinition,e as toVarReference};
//# sourceMappingURL=css-var.js.map
