GITLAB

framework / eagle-web-toolkit

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • eagle-web-toolkit
  • examples
  • App.vue
  • e39ee642   新增黑白主题切换 Browse Code »
    Aaron
    2020-01-08 16:19:32 +0800  
App.vue 369 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: 'App',
  mounted() {
    document.querySelector('html').setAttribute('class', 'theme-white');
  }
}
</script>

<style lang="scss">
body {
  @include themify($themes) {
    color: themed('text');
    background-color: themed('background');
  }
}
</style>