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/Message.vue b/components/Message.vue index ca7e31e..d9f3da8 100644 --- a/components/Message.vue +++ b/components/Message.vue @@ -270,11 +270,11 @@ function getDayDifference(date1: Date, date2: Date) { */ .mentioned { - background-color: rgba(0, 255, 166, 0.123); + background-color: var(--chat-important-background-color); } .mentioned:hover { - background-color: rgba(90, 255, 200, 0.233); + background-color: var(--chat-important-hightlighted-background-color); } .message-reply-svg { @@ -299,7 +299,7 @@ function getDayDifference(date1: Date, date2: Date) { diff --git a/components/UserInterface/ContextMenu.vue b/components/UserInterface/ContextMenu.vue index dac6efc..1767657 100644 --- a/components/UserInterface/ContextMenu.vue +++ b/components/UserInterface/ContextMenu.vue @@ -50,7 +50,7 @@ function runCallback(item: ContextMenuItem) { height: 2rem; width: 100%; color: var(--text-color); - background-color: var(--sidebar-highlighted-background-color); + background-color: var(--popup-background-color); border: none; text-align: left; padding-left: 1rem; @@ -58,7 +58,7 @@ function runCallback(item: ContextMenuItem) { } .context-menu-item:hover { - background-color: rgb(50, 50, 50); + background-color: var(--popup-highlighted-background-color); } .context-menu-item-danger { diff --git a/components/UserInterface/MessageReply.vue b/components/UserInterface/MessageReply.vue index c3efd2b..f3214b5 100644 --- a/components/UserInterface/MessageReply.vue +++ b/components/UserInterface/MessageReply.vue @@ -58,7 +58,7 @@ function scrollToReply(e: MouseEvent) { console.log("scrolling into view"); reply.scrollIntoView({ behavior: "smooth", block: "center" }); reply.style.transition = "background-color .3s"; - reply.style.backgroundColor = "var(--primary-highlighted-color)"; + reply.style.backgroundColor = "var(--chat-featured-message-color)"; setTimeout(() => { reply.style.backgroundColor = ""; }, 1000); diff --git a/public/themes/style/dark.css b/public/themes/style/dark.css index c2561dc..85a3164 100644 --- a/public/themes/style/dark.css +++ b/public/themes/style/dark.css @@ -12,6 +12,12 @@ complementaryColor = white --chat-background-color: #1f1e1d; --chat-highlighted-background-color: #2f2b28; + --chat-important-background-color: #ffc44f2f; + --chat-important-hightlighted-background-color: #ffa45f4a; + --chat-featured-message-color: #4f2f1f58; + --popup-background-color: #2f1f1f; + --popup-highlighted-background-color: #3f2f2f; + --sidebar-background-color: #2e2a27; --sidebar-highlighted-background-color: #36322b; --topbar-background-color: #2a2723;