From 11e46049a00318c75d69147fe2299cf478e4f0c8 Mon Sep 17 00:00:00 2001 From: SauceyRed Date: Sun, 13 Jul 2025 04:14:39 +0200 Subject: [PATCH] chore: add dropdown- prefix to button class and switch colors to using existing color variables in Dropdown component --- components/Dropdown.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/components/Dropdown.vue b/components/Dropdown.vue index 78950d8..89be6d6 100644 --- a/components/Dropdown.vue +++ b/components/Dropdown.vue @@ -1,7 +1,7 @@ @@ -19,8 +19,8 @@ const props = defineProps<{ options: DropdownOption[] }>(); position: absolute; z-index: 100; left: 4dvw; - bottom: 2dvh; - background-color: var(--background-color); + bottom: 4dvh; + background-color: var(--chat-background-color); width: 8rem; display: flex; flex-direction: column; @@ -30,17 +30,17 @@ const props = defineProps<{ options: DropdownOption[] }>(); border: .09rem solid rgb(70, 70, 70); } -.button { +.dropdown-button { padding-top: .5dvh; padding-bottom: .5dvh; - color: var(--main-text-color); + color: var(--text-color); background-color: transparent; width: 100%; border: none; } -.button:hover { - background-color: rgb(70, 70, 70); +.dropdown-button:hover { + background-color: var(--padding-color); } \ No newline at end of file