@inkline/inkline
Version:
Inkline is the intuitive UI Components library that gives you a developer-friendly foundation for building high-quality, accessible, and customizable Vue.js 3 Design Systems.
9 lines (8 loc) • 361 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.breakpointClassName = breakpointClassName;
function breakpointClassName(property, value) {
return `-${property.replace("xxl", "2xl").replace(/([A-Z])/g, "-$1").replace(/([a-z])([0-9])/g, "$1-$2").toLowerCase()}${typeof value !== "boolean" && value ? `-${value}` : ""}`;
}