From be7b76d4cbef52142222db244cf5ee7027f37c01 Mon Sep 17 00:00:00 2001 From: ayoayco Date: Fri, 25 Apr 2025 20:15:12 +0200 Subject: [PATCH] style: transition to green / red color on hover --- pages/[[server]]/list/[list]/index/accounts.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/[[server]]/list/[list]/index/accounts.vue b/pages/[[server]]/list/[list]/index/accounts.vue index b4f33d25..2750c4c8 100644 --- a/pages/[[server]]/list/[list]/index/accounts.vue +++ b/pages/[[server]]/list/[list]/index/accounts.vue @@ -137,6 +137,7 @@ function removeAccount(account: mastodon.v1.Account) { text-sm p2 border-1 transition-colors border-dark btn-action-icon + :hover="isInCurrentList(result.id) ? 'text-red' : 'text-green'" @click=" () => isInCurrentList(result.id) ? removeAccount(result.data) : addAccount(result.data) " >