From a7e3c41b92e706b3feae4db2188431d6947b6f5a Mon Sep 17 00:00:00 2001 From: Kristina Date: Wed, 28 Aug 2024 14:57:06 +0400 Subject: [PATCH] Highlight own reactions (#6418) Signed-off-by: Kristina Fefelova --- .../src/components/reactions/Reactions.svelte | 31 +++++++++++++------ 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/plugins/activity-resources/src/components/reactions/Reactions.svelte b/plugins/activity-resources/src/components/reactions/Reactions.svelte index b2af83de4d..7df064d594 100644 --- a/plugins/activity-resources/src/components/reactions/Reactions.svelte +++ b/plugins/activity-resources/src/components/reactions/Reactions.svelte @@ -15,7 +15,7 @@ @@ -64,12 +66,13 @@
-
{emoji}
+ {emoji}
{accounts.length}
@@ -108,8 +111,18 @@ border: none; cursor: pointer; + &.highlight { + background: var(--global-ui-highlight-BackgroundColor); + border: 1px solid var(--global-accent-BackgroundColor); + } + &:hover { background: var(--global-ui-highlight-BackgroundColor); + border: 1px solid var(--global-popover-ShadowColor); + + &.highlight { + border: 1px solid var(--global-accent-BackgroundColor); + } } &.withoutBackground {