font-style.js 600 B

123456789101112131415161718192021
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.fontStyle = void 0;
  4. exports.fontStyle = {
  5. name: 'font-style',
  6. initialValue: 'normal',
  7. prefix: false,
  8. type: 2 /* IDENT_VALUE */,
  9. parse: function (_context, overflow) {
  10. switch (overflow) {
  11. case 'oblique':
  12. return "oblique" /* OBLIQUE */;
  13. case 'italic':
  14. return "italic" /* ITALIC */;
  15. case 'normal':
  16. default:
  17. return "normal" /* NORMAL */;
  18. }
  19. }
  20. };
  21. //# sourceMappingURL=font-style.js.map