From bc664e5ca18d8b69ef2499f76ff01d635308786e Mon Sep 17 00:00:00 2001 From: Nick Colley <2445413+NickColley@users.noreply.github.com> Date: Thu, 24 Nov 2022 17:20:35 +0000 Subject: [PATCH] fix: don't rely on colour for boost/favourite state (#2234) By changing the shape it means no matter what the colour difference between pressed and non-pressed it'll be possible to know the state. Co-authored-by: Nolan Lawson --- src/routes/_components/IconButton.html | 20 +++++- .../_components/status/StatusToolbar.html | 8 ++- src/routes/_static/animations.js | 62 +++++++++---------- tests/spec/007-account-profile.js | 4 +- 4 files changed, 55 insertions(+), 39 deletions(-) diff --git a/src/routes/_components/IconButton.html b/src/routes/_components/IconButton.html index 52de5c40..eee28c7f 100644 --- a/src/routes/_components/IconButton.html +++ b/src/routes/_components/IconButton.html @@ -12,9 +12,13 @@ ref:node > + {#if checked} + + {/if}