index.wxs 310 B

123456789101112131415
  1. /* eslint-disable */
  2. var style = require('../wxs/style.wxs');
  3. var addUnit = require('../wxs/add-unit.wxs');
  4. function rootStyle(data) {
  5. return style({
  6. color: data.color,
  7. 'background-color': data.backgroundColor,
  8. background: data.background,
  9. });
  10. }
  11. module.exports = {
  12. rootStyle: rootStyle,
  13. };