From 93eac2bf73eac47141e0408fa69c4467d22cc48a Mon Sep 17 00:00:00 2001 From: Xyphyn Date: Mon, 9 Oct 2023 16:49:06 -0700 Subject: [PATCH] feat: add a preview color when about to vote --- .../lemmy/comment/CommentActions.svelte | 2 +- .../lemmy/comment/CommentVote.svelte | 22 +++++++++++-------- src/lib/components/lemmy/post/PostVote.svelte | 6 +++-- 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/src/lib/components/lemmy/comment/CommentActions.svelte b/src/lib/components/lemmy/comment/CommentActions.svelte index ade42dec..95266ad7 100644 --- a/src/lib/components/lemmy/comment/CommentActions.svelte +++ b/src/lib/components/lemmy/comment/CommentActions.svelte @@ -30,7 +30,7 @@ const dispatcher = createEventDispatcher<{ edit: CommentView }>() -
+
- + - +
diff --git a/src/lib/components/lemmy/post/PostVote.svelte b/src/lib/components/lemmy/post/PostVote.svelte index ed88ef8d..f6e3c640 100644 --- a/src/lib/components/lemmy/post/PostVote.svelte +++ b/src/lib/components/lemmy/post/PostVote.svelte @@ -47,7 +47,9 @@ >