diff --git a/components/UserProfile/DropdownContent.vue b/components/UserProfile/DropdownContent.vue
index b183d5d9e..7193f8a2a 100644
--- a/components/UserProfile/DropdownContent.vue
+++ b/components/UserProfile/DropdownContent.vue
@@ -73,7 +73,7 @@ const links = computed(():UserProfileLink[] => {
-
+
@@ -94,7 +94,6 @@ const links = computed(():UserProfileLink[] => {
-
diff --git a/store/server.ts b/store/server.ts
index 925ae7d08..dc0b9c91a 100644
--- a/store/server.ts
+++ b/store/server.ts
@@ -4,7 +4,7 @@ import { ArrowRightOnRectangleIcon, GlobeAltIcon, KeyIcon } from '@heroicons/vue
import { useAccountStore } from './account';
import { usePurchaseStore } from "./purchase";
import { useTrialStore } from './trial';
-import { useThemeStore } from './theme';
+import { useThemeStore, type Theme } from './theme';
import type {
Server,
ServerAccountCallbackSendPayload,
@@ -14,7 +14,6 @@ import type {
ServerStateData,
ServerStateDataAction,
} from '~/types/server';
-import type { Theme } from '~/types/theme';
/**
* @see https://stackoverflow.com/questions/73476371/using-pinia-with-vue-js-web-components
* @see https://github.com/vuejs/pinia/discussions/1085
diff --git a/store/theme.ts b/store/theme.ts
index 15f449d3c..6b250981c 100644
--- a/store/theme.ts
+++ b/store/theme.ts
@@ -1,12 +1,22 @@
import { defineStore, createPinia, setActivePinia } from 'pinia';
import hexToRgba from 'hex-to-rgba';
-import type { Theme } from "~/types/theme";
+
/**
* @see https://stackoverflow.com/questions/73476371/using-pinia-with-vue-js-web-components
* @see https://github.com/vuejs/pinia/discussions/1085
*/
setActivePinia(createPinia());
+export interface Theme {
+ banner: string;
+ bannerGradient: string;
+ bgColor: string;
+ descriptionShow: boolean;
+ metaColor: string;
+ name: string;
+ textColor: string;
+}
+
export const useThemeStore = defineStore('theme', () => {
// State
const theme = ref();
diff --git a/types/server.ts b/types/server.ts
index 33c2a92e6..6f1e39a9f 100644
--- a/types/server.ts
+++ b/types/server.ts
@@ -1,5 +1,5 @@
import { KeyIcon } from '@heroicons/vue/24/solid';
-import { Theme } from '~/types/theme';
+import { Theme } from '~/store/theme';
import { UserProfileLink } from '~/types/userProfile';
export enum ServerState {
diff --git a/types/theme.ts b/types/theme.ts
deleted file mode 100644
index 0711333d7..000000000
--- a/types/theme.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-export interface Theme {
- banner: string;
- bannerGradient: string;
- bgColor: string;
- descriptionShow: boolean;
- metaColor: string;
- name: string;
- textColor: string;
-}
\ No newline at end of file