21 lines
467 B
JavaScript
21 lines
467 B
JavaScript
import { createRules, token } from '../..';
|
|
|
|
export default createRules({
|
|
paddingTop: token.spacing('paddingTop'),
|
|
pt: token.spacing('paddingTop')
|
|
});
|
|
|
|
/* const { styleClass } = require('../../../utils');
|
|
|
|
module.exports = (root, opts) => {
|
|
const scales = opts.spacing;
|
|
let topPaddings = {};
|
|
|
|
for (const i in scales) {
|
|
topPaddings['pt-' + i] = `${scales[i]}rem`;
|
|
}
|
|
|
|
styleClass('padding-top', topPaddings, root, opts, true);
|
|
};
|
|
*/
|