UNPKG

impress.me

Version:

Create impress.js presentations from markdown documents with style

42 lines (41 loc) 1.25 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.shapes = exports.shapeConfig = exports.Shape = void 0; var Shape; (function (Shape) { Shape["Circle"] = "circle"; Shape["Square"] = "square"; Shape["Rounded"] = "rounded"; Shape["None"] = "none"; })(Shape = exports.Shape || (exports.Shape = {})); exports.shapeConfig = { [Shape.Circle]: { width: 1680, height: 1680, offset: { x: -500, y: 0, z: 0 }, parentOffset: { x: 64, y: 0, z: 0 }, siblingOffset: { x: 300, y: 200, z: 0 }, }, [Shape.Square]: { width: 1600, height: 1600, offset: { x: -500, y: 0, z: 0 }, parentOffset: { x: 200, y: 0, z: 0 }, siblingOffset: { x: 320, y: 100, z: 0 }, }, [Shape.Rounded]: { width: 1500, height: 1000, offset: { x: -300, y: 0, z: 0 }, parentOffset: { x: 0, y: 0, z: 0 }, siblingOffset: { x: 420, y: 64, z: 0 }, }, [Shape.None]: { width: 1920, height: 1080, offset: { x: 0, y: 0, z: 0 }, parentOffset: { x: 0, y: 0, z: 0 }, siblingOffset: { x: 128, y: 64, z: 0 }, }, }; exports.shapes = Object.keys(exports.shapeConfig);