From 5dd61b54e60d122b7f47c01c7d0c55c431ece9b7 Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Mon, 30 Oct 2023 17:10:28 -0700 Subject: fix(a11y): Increase contrast of contacts menu actions Signed-off-by: Christopher Ng --- core/src/components/ContactsMenu/Contact.vue | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/core/src/components/ContactsMenu/Contact.vue b/core/src/components/ContactsMenu/Contact.vue index bf2447e5889..84869814c2f 100644 --- a/core/src/components/ContactsMenu/Contact.vue +++ b/core/src/components/ContactsMenu/Contact.vue @@ -113,11 +113,7 @@ export default { width: 20px; height: 20px; padding: 12px; - opacity: 0.5; - - &:hover { - opacity: 1; - } + filter: var(--background-invert-if-dark); } } @@ -151,18 +147,11 @@ export default { .other-actions { width: 16px; height: 16px; - opacity: .5; cursor: pointer; img { filter: var(--background-invert-if-dark); } - - &:hover, - &:active, - &:focus { - opacity: 1; - } } button.other-actions { -- cgit v1.2.3