@chayns/colors
Version:
JavaScript utility functions for the calculation of colors for chayns
15 lines (13 loc) • 507 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getChaynsColorVar = exports.getChaynsColor = void 0;
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
var getChaynsColor = exports.getChaynsColor = function getChaynsColor(name) {
return "--color-".concat(name);
};
var getChaynsColorVar = exports.getChaynsColorVar = function getChaynsColorVar(name) {
return "var(".concat(getChaynsColor(name), ")");
};
//# sourceMappingURL=var.js.map