<template>
  <view :class="[theme]">
    <slot></slot>
  </view>
</template>

<script setup>
import { computed } from 'vue';
import { useStore } from 'vuex';

const store = useStore();
const theme = computed(() => store.state.theme);
</script>
