text-transform.js 628 B

123456789101112131415161718192021
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.textTransform = void 0;
  4. exports.textTransform = {
  5. name: 'text-transform',
  6. initialValue: 'none',
  7. prefix: false,
  8. type: 2 /* IDENT_VALUE */,
  9. parse: function (_context, textTransform) {
  10. switch (textTransform) {
  11. case 'uppercase':
  12. return 2 /* UPPERCASE */;
  13. case 'lowercase':
  14. return 1 /* LOWERCASE */;
  15. case 'capitalize':
  16. return 3 /* CAPITALIZE */;
  17. }
  18. return 0 /* NONE */;
  19. }
  20. };
  21. //# sourceMappingURL=text-transform.js.map