castVote(vote == 1 ? 0 : 1)} class="flex items-center gap-0.5 {buttonColor.tertiary} transition-colors border-0 !pl-2 !pr-3 {vote == 1 ? shouldShowVoteColor(vote, 'upvotes') : ''}" >
{#key upvotes}
{/key}
castVote(vote == -1 ? 0 : -1)} class="flex items-center gap-0.5 {buttonColor.tertiary} transition-colors border-0 !pr-2 {vote == -1 ? shouldShowVoteColor(vote, 'downvotes') : ''}" >
{#key downvotes}
{/key}