<template>
  <div>
    <slot />
  </div>
</template>

<script>
import { getDarkMode } from '../../utils/localStorage'

export default {
  setup(props, context) {
    context.root.$vuetify.theme.dark = getDarkMode()
  }
}
</script>
