genControlHeight.js 379 B

1234567891011121314151617
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. const genControlHeight = token => {
  7. const {
  8. controlHeight
  9. } = token;
  10. return {
  11. controlHeightSM: controlHeight * 0.75,
  12. controlHeightXS: controlHeight * 0.5,
  13. controlHeightLG: controlHeight * 1.25
  14. };
  15. };
  16. var _default = exports.default = genControlHeight;