diff --git a/app.vue b/app.vue index 8ca7948..8f0571f 100644 --- a/app.vue +++ b/app.vue @@ -1,17 +1,21 @@ diff --git a/components/DefaultIcon.vue b/components/DefaultIcon.vue new file mode 100644 index 0000000..6fc6891 --- /dev/null +++ b/components/DefaultIcon.vue @@ -0,0 +1,55 @@ + + + + + diff --git a/components/Guild/GuildDropdown.vue b/components/Guild/GuildDropdown.vue index 89be6d6..b08bfd9 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 rgb(70, 70, 70); + border: .09rem solid var(--padding-color); } .dropdown-button { diff --git a/components/Guild/MemberEntry.vue b/components/Guild/MemberEntry.vue index 12e36a0..baf0e67 100644 --- a/components/Guild/MemberEntry.vue +++ b/components/Guild/MemberEntry.vue @@ -1,33 +1,44 @@ diff --git a/components/Me/AddFriend.vue b/components/Me/AddFriend.vue index 6d2d888..43249fb 100644 --- a/components/Me/AddFriend.vue +++ b/components/Me/AddFriend.vue @@ -23,9 +23,11 @@ async function sendRequest() { try { await addFriend(inputField.value.value) alert("Friend request sent!") - } catch { - alert("Request failed :(") - } + } catch (error: any) { + if (error?.response?.status !== 200) { + alert(`error ${error?.response?.status} met whilst trying to add friend\n"${error?.response._data?.message}"`) + } + } } } diff --git a/components/Me/FriendsList.vue b/components/Me/FriendsList.vue index 0a1481e..25b9924 100644 --- a/components/Me/FriendsList.vue +++ b/components/Me/FriendsList.vue @@ -24,6 +24,8 @@ @@ -42,9 +49,12 @@ onMounted(() => { flex-direction: column; gap: 1em; opacity: 100%; - padding: 1%; - background-color: var(--sidebar-highlighted-background-color); + + padding: var(--standard-radius); + border-radius: var(--standard-radius); + background-color: var(--chat-highlighted-background-color); color: var(--text-color); + overflow: hidden; } diff --git a/components/Modal/ProfilePopup.vue b/components/Modal/ProfilePopup.vue new file mode 100644 index 0000000..b99a9ea --- /dev/null +++ b/components/Modal/ProfilePopup.vue @@ -0,0 +1,256 @@ + + + + + \ No newline at end of file diff --git a/components/Settings/AppSettings/Appearance.vue b/components/Settings/AppSettings/Appearance.vue index 579ccdd..98c41f9 100644 --- a/components/Settings/AppSettings/Appearance.vue +++ b/components/Settings/AppSettings/Appearance.vue @@ -2,18 +2,42 @@

Appearance

-

THEMES

+

Themes

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

STYLES

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

LAYOUTS

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