fix: incorrect colors
This commit is contained in:
1 parent
93eac2bf73
commit
8ae2f83177
1 file changed
+7
-6
@@ -76,9 +76,10 @@ dark:border-zinc-800 gap-0.5"
|
|||||||
>
|
>
|
||||||
<Button
|
<Button
|
||||||
on:click={upvote}
|
on:click={upvote}
|
||||||
class=" transition-colors {vote == 1
|
class=" transition-colors hover:dark:text-blue-500 hover:text-blue-600 {vote ==
|
||||||
? 'dark:text-blue-500 text-blue-600'
|
1
|
||||||
: 'hover:dark:text-blue-500 hover:text-blue-600'}"
|
? 'dark:!text-blue-500 !text-blue-600'
|
||||||
|
: ''}"
|
||||||
aria-label="Upvote"
|
aria-label="Upvote"
|
||||||
size="custom"
|
size="custom"
|
||||||
color="tertiary"
|
color="tertiary"
|
||||||
@@ -94,9 +95,9 @@ dark:border-zinc-800 gap-0.5"
|
|||||||
</span>
|
</span>
|
||||||
<Button
|
<Button
|
||||||
on:click={downvote}
|
on:click={downvote}
|
||||||
class="{vote == -1
|
class=" hover:dark:text-red-500 hover:text-red-600 {vote == -1
|
||||||
? 'text-red-400'
|
? '!text-red-500 !dark:text-red-600'
|
||||||
: 'hover:dark:text-red-500 hover:text-red-600'} transition-colors disabled:pointer-events-none disabled:opacity-50"
|
: ''} transition-colors disabled:pointer-events-none disabled:opacity-50"
|
||||||
aria-label="Downvote"
|
aria-label="Downvote"
|
||||||
disabled={$site?.site_view.local_site.enable_downvotes == false}
|
disabled={$site?.site_view.local_site.enable_downvotes == false}
|
||||||
size="custom"
|
size="custom"
|
||||||
|
|||||||
Reference in new issue
Block a user