You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
600 B
21 lines
600 B
9 months ago
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
exports.fontStyle = void 0;
|
||
|
exports.fontStyle = {
|
||
|
name: 'font-style',
|
||
|
initialValue: 'normal',
|
||
|
prefix: false,
|
||
|
type: 2 /* IDENT_VALUE */,
|
||
|
parse: function (_context, overflow) {
|
||
|
switch (overflow) {
|
||
|
case 'oblique':
|
||
|
return "oblique" /* OBLIQUE */;
|
||
|
case 'italic':
|
||
|
return "italic" /* ITALIC */;
|
||
|
case 'normal':
|
||
|
default:
|
||
|
return "normal" /* NORMAL */;
|
||
|
}
|
||
|
}
|
||
|
};
|
||
|
//# sourceMappingURL=font-style.js.map
|