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.
22 lines
598 B
22 lines
598 B
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.textAlign = void 0;
|
|
exports.textAlign = {
|
|
name: 'text-align',
|
|
initialValue: 'left',
|
|
prefix: false,
|
|
type: 2 /* IDENT_VALUE */,
|
|
parse: function (_context, textAlign) {
|
|
switch (textAlign) {
|
|
case 'right':
|
|
return 2 /* RIGHT */;
|
|
case 'center':
|
|
case 'justify':
|
|
return 1 /* CENTER */;
|
|
case 'left':
|
|
default:
|
|
return 0 /* LEFT */;
|
|
}
|
|
}
|
|
};
|
|
//# sourceMappingURL=text-align.js.map
|