<script setup>
import { RouterView } from "vue-router";
import { useStore } from "@/stores";

const store = useStore();
if (store.theme == "dark") {
  document.body.classList.remove("theme-light");
  document.body.classList.add("theme-dark");
} else if (store.theme == "light") {
  document.body.classList.remove("theme-dark");
  document.body.classList.add("theme-light");
}
</script>

<template>
  <RouterView />
</template>

<style>
@import "@/assets/base.css";
</style>
