import { createPinia } from "pinia";
import { createApp } from "vue";

import App from "./app/App.vue";
import router from "./app/router";
import { applyTheme, preferredTheme } from "./shared/stores/ui";
import "./shared/styles/tokens.css";
import "./shared/styles/base.css";
import "./shared/styles/components.css";
import "./shared/styles/shell.css";
import "./shared/styles/auth.css";
import "./shared/styles/account.css";
import "./shared/styles/market.css";
import "./shared/styles/market-workspace.css";
import "./shared/styles/market-insights.css";
import "./shared/styles/screener.css";
import "./shared/styles/mentor.css";
import "./shared/styles/heaven.css";
import "./shared/styles/heaven-fortune.css";
import "./shared/styles/heaven-heart.css";
import "./shared/styles/review.css";
import "./shared/styles/system.css";
import "./shared/styles/mobile.css";

applyTheme(preferredTheme());
createApp(App).use(createPinia()).use(router).mount("#app");
