From 4aed5968f600ebc9821a9036f0e733685e6efbfd Mon Sep 17 00:00:00 2001 From: Ebise Lutica <7106976+EbiseLutica@users.noreply.github.com> Date: Mon, 31 Jul 2023 17:38:41 +0900 Subject: enhance(frontend): 押したリアクションのデザインを改善 (#11434) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * enhance(frontend): 押したリアクションのデザインを改善 * Update CHANGELOG --- .../frontend/src/components/MkReactionsViewer.reaction.vue | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'packages/frontend/src') diff --git a/packages/frontend/src/components/MkReactionsViewer.reaction.vue b/packages/frontend/src/components/MkReactionsViewer.reaction.vue index d75fad35a7..baf4796d2f 100644 --- a/packages/frontend/src/components/MkReactionsViewer.reaction.vue +++ b/packages/frontend/src/components/MkReactionsViewer.reaction.vue @@ -143,15 +143,13 @@ useTooltip(buttonEl, async (showing) => { } } - &.reacted { - background: var(--accent); - - &:hover { - background: var(--accent); - } + &.reacted, &.reacted:hover { + background: var(--accentedBg); + color: var(--accent); + border: 1px solid var(--accent); > .count { - color: var(--fgOnAccent); + color: var(--accent); } > .icon { -- cgit v1.2.3-freya