primevue-mirror/components/lib/props/style/padding/properties/left.js

21 lines
474 B
JavaScript
Raw Normal View History

2024-02-16 08:48:00 +00:00
import { createRules, token } from '../..';
export default createRules({
paddingLeft: token.spacing('paddingLeft'),
pl: token.spacing('paddingLeft')
});
/* const { styleClass } = require('../../../utils');
module.exports = (root, opts) => {
const scales = opts.spacing;
let leftPaddings = {};
for (const i in scales) {
leftPaddings['pl-' + i] = `${scales[i]}rem`;
}
styleClass('padding-left', leftPaddings, root, opts, true);
};
*/