@nurl/panda-preset
Version:
Official Panda-CSS preset for the Ganglion Design System.
41 lines • 881 B
JavaScript
// src/utilities.ts
function defineUtility(config) {
return config;
}
var mxi = defineUtility({
mxi: {
description: "x-axis margin shorthand - used to set inline margin at the start and end of an element",
className: "margin-inline-start-end",
values: "spacing",
transform(value) {
return {
marginInlineStart: value,
marginInlineEnd: value
};
}
}
});
var pxi = defineUtility({
pxi: {
description: "x-axis padding shorthand - used to set inline padding at the start and end of an element",
className: "padding-inline-start-end",
values: "spacing",
transform(value) {
return {
paddingInlineStart: value,
paddingInlineEnd: value
};
}
}
});
var utilities = {
extend: {
...mxi,
...pxi
}
};
export {
defineUtility,
utilities
};
//# sourceMappingURL=utilities.js.map