diff --git a/app.vue b/app.vue index 8f0571f..8ca7948 100644 --- a/app.vue +++ b/app.vue @@ -1,21 +1,17 @@ diff --git a/components/DefaultIcon.vue b/components/DefaultIcon.vue deleted file mode 100644 index 6fc6891..0000000 --- a/components/DefaultIcon.vue +++ /dev/null @@ -1,55 +0,0 @@ - - - - - diff --git a/components/Guild/GuildDropdown.vue b/components/Guild/GuildDropdown.vue index b08bfd9..89be6d6 100644 --- a/components/Guild/GuildDropdown.vue +++ b/components/Guild/GuildDropdown.vue @@ -27,7 +27,7 @@ const props = defineProps<{ options: DropdownOption[] }>(); } .dropdown-option { - border: .09rem solid var(--padding-color); + border: .09rem solid rgb(70, 70, 70); } .dropdown-button { diff --git a/components/Guild/MemberEntry.vue b/components/Guild/MemberEntry.vue index baf0e67..12e36a0 100644 --- a/components/Guild/MemberEntry.vue +++ b/components/Guild/MemberEntry.vue @@ -1,44 +1,33 @@ diff --git a/components/Me/AddFriend.vue b/components/Me/AddFriend.vue index 43249fb..6d2d888 100644 --- a/components/Me/AddFriend.vue +++ b/components/Me/AddFriend.vue @@ -23,11 +23,9 @@ async function sendRequest() { try { await addFriend(inputField.value.value) alert("Friend request sent!") - } catch (error: any) { - if (error?.response?.status !== 200) { - alert(`error ${error?.response?.status} met whilst trying to add friend\n"${error?.response._data?.message}"`) - } - } + } catch { + alert("Request failed :(") + } } } diff --git a/components/Me/FriendsList.vue b/components/Me/FriendsList.vue index 25b9924..0a1481e 100644 --- a/components/Me/FriendsList.vue +++ b/components/Me/FriendsList.vue @@ -24,8 +24,6 @@ @@ -49,12 +42,9 @@ function onCloseButton () { flex-direction: column; gap: 1em; opacity: 100%; - - padding: var(--standard-radius); - border-radius: var(--standard-radius); - background-color: var(--chat-highlighted-background-color); + padding: 1%; + background-color: var(--sidebar-highlighted-background-color); color: var(--text-color); - overflow: hidden; } diff --git a/components/Modal/Invite.vue b/components/Modal/Invite.vue index de842a2..232114c 100644 --- a/components/Modal/Invite.vue +++ b/components/Modal/Invite.vue @@ -40,8 +40,7 @@ function copyInvite(type: "link" | "code") { if (!invite.value) return; if (type == "link") { - const runtimeConfig = useRuntimeConfig(); - const inviteUrl = URL.parse(`invite/${invite.value}`, `${window.location.protocol}//${window.location.host}${runtimeConfig.app.baseURL}`); + const inviteUrl = URL.parse(`invite/${invite.value}`, `${window.location.protocol}//${window.location.host}`); if (inviteUrl) { navigator.clipboard.writeText(inviteUrl.href); } diff --git a/components/Modal/ProfilePopup.vue b/components/Modal/ProfilePopup.vue deleted file mode 100644 index b99a9ea..0000000 --- a/components/Modal/ProfilePopup.vue +++ /dev/null @@ -1,256 +0,0 @@ - - - - - \ No newline at end of file diff --git a/components/Settings/AppSettings/Appearance.vue b/components/Settings/AppSettings/Appearance.vue index f6f40f4..579ccdd 100644 --- a/components/Settings/AppSettings/Appearance.vue +++ b/components/Settings/AppSettings/Appearance.vue @@ -2,43 +2,18 @@

Appearance

-

Themes

+

THEMES

-

STYLES

-
-
- -
- - - {{ style.displayName }} - -
+
+ + + {{ theme.displayName }} -
-
-

LAYOUTS

-
-
-
-
- - - {{ layout.displayName }} - - - -
-
-
+
@@ -57,120 +32,39 @@ \ No newline at end of file diff --git a/components/UserInterface/Button.vue b/components/UserInterface/Button.vue index ad4cdb5..467b65e 100644 --- a/components/UserInterface/Button.vue +++ b/components/UserInterface/Button.vue @@ -1,7 +1,6 @@ @@ -10,7 +9,7 @@ const props = defineProps<{ text: string, callback?: CallableFunction, - variant?: "normal" | "scary" | "neutral" | "stealth", + variant?: "normal" | "scary" | "neutral", }>(); @@ -22,12 +21,11 @@ const props = defineProps<{ background-color: var(--primary-color); color: var(--text-color); - padding: 0.35em 0.65em; - font-size: 1em; - + padding: 0.4em 0.75em; + font-size: 1.1em; transition: background-color 0.2s; - border-radius: var(--standard-radius); + border-radius: 0.7rem; text-decoration: none; display: inline-block; @@ -52,11 +50,4 @@ const props = defineProps<{ background-color: var(--accent-highlighted-color); } -.stealth-button { - background-color: unset; -} -.stealth-button:hover { - background-color: unset; -} - \ No newline at end of file diff --git a/components/UserInterface/ContextMenu.vue b/components/UserInterface/ContextMenu.vue index 1767657..5342b8c 100644 --- a/components/UserInterface/ContextMenu.vue +++ b/components/UserInterface/ContextMenu.vue @@ -1,15 +1,11 @@