Skip to content

Commit

Permalink
fix: incorrect colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Xyphyn committed Oct 10, 2023
1 parent 93eac2b commit 8ae2f83
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/lib/components/lemmy/comment/CommentVote.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,10 @@ dark:border-zinc-800 gap-0.5"
>
<Button
on:click={upvote}
class=" transition-colors {vote == 1
? 'dark:text-blue-500 text-blue-600'
: 'hover:dark:text-blue-500 hover:text-blue-600'}"
class=" transition-colors hover:dark:text-blue-500 hover:text-blue-600 {vote ==
1
? 'dark:!text-blue-500 !text-blue-600'
: ''}"
aria-label="Upvote"
size="custom"
color="tertiary"
Expand All @@ -94,9 +95,9 @@ dark:border-zinc-800 gap-0.5"
</span>
<Button
on:click={downvote}
class="{vote == -1
? 'text-red-400'
: 'hover:dark:text-red-500 hover:text-red-600'} transition-colors disabled:pointer-events-none disabled:opacity-50"
class=" hover:dark:text-red-500 hover:text-red-600 {vote == -1
? '!text-red-500 !dark:text-red-600'
: ''} transition-colors disabled:pointer-events-none disabled:opacity-50"
aria-label="Downvote"
disabled={$site?.site_view.local_site.enable_downvotes == false}
size="custom"
Expand Down

0 comments on commit 8ae2f83

Please sign in to comment.