<template>
  <div>
    <router-view />
  </div>
</template>

<script>
import THEME_OBJ from '@/utils/theme.js'
export default {
  name: 'App',
  created() {
    const key = 0
    const keys = Object.keys(THEME_OBJ[key])
    const values = Object.values(THEME_OBJ[key])
    keys.forEach(function(v, i) {
      document.body.style.setProperty(v, values[i])
    })
  }
}
</script>

