/**
 * Created by zhengguorong on 2016/11/24.
 */
export default class Theme {
  constructor (theme = {}) {
    this.title = theme.title || '标题'
    this.description = theme.description || '描述'
    this.pages = theme.pages || []
    this.type = theme.type || 'h5'
    this.canvasHeight = theme.canvasHeight || 1334
    this.canvasWidth = theme.canvasWidth || 750
    this.bgc = theme.bgc || '#B1C096'
    this.btnColor = theme.btnColor || '#5f8a61'
    this.cover = theme.cover || ''
    this.animatedNameGlobal = theme.animatedNameGlobal || ''
    this.bodyBackgroundColor = theme.bodyBackgroundColor || 'rgba(255,255,255,0)'
    this.animatedNameBackgroundGlobal = theme.animatedNameBackgroundGlobal || ''
    this.backgroundAudio = theme.backgroundAudio || ''
  }
}
