Revert "misc: tweak color"

This reverts commit bb62fd0a9b.
This commit is contained in:
Xyphyn committed 2023-07-22 16:45:43 -07:00
1 parent 55f5b3591a
commit 752c827455
4 files changed
+4 -9

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@
{selected == option
? 'bg-black text-white dark:bg-white dark:text-black\
hover:bg-zinc-900 hover:dark:bg-zinc-300'
: ' hover:bg-slate-200 hover:dark:bg-zinc-800 text-slate-700 hover:text-inherit dark:text-zinc-300'}
: ' hover:bg-slate-200 hover:dark:bg-zinc-800'}
{clazz}
disabled:opacity-60 disabled:pointer-events-none"
on:click={() => (selected = option)}
+1 -1
View File
@@ -75,7 +75,7 @@
{#if post.post.body && !post.post.nsfw}
<p
class="text-sm max-h-[74px] line-clamp-3 bg-slate-100 dark:bg-zinc-800
border text-slate-700 dark:text-zinc-300 border-slate-200 dark:border-zinc-700 rounded-md p-2"
border border-slate-200 dark:border-zinc-700 rounded-md p-2"
>
{post.post.body}
</p>
@@ -59,7 +59,7 @@
}
</script>
<div class="flex flex-row gap-2 items-center text-slate-700 dark:text-zinc-300">
<div class="flex flex-row gap-2 items-center">
<PostVote post={post.post} vote={post.my_vote} score={post.counts.score} />
<Button
+1 -6
View File
@@ -46,11 +46,7 @@
</a>
</div>
<div class="flex flex-row gap-2 py-2 px-3">
<Button
href="/communities"
label="Communities"
class="text-slate-700 dark:text-zinc-300 hover:text-inherit hover:bg-slate-200 max-sm:!p-2 h-max"
>
<Button href="/communities" label="Communities">
<Icon src={GlobeAlt} width={16} slot="icon" />
<span class="hidden sm:inline">Explore</span>
</Button>
@@ -60,7 +56,6 @@
slot="button"
label="Create"
on:click={toggleOpen}
class="max-sm:!p-2 h-max"
>
<Icon src={Plus} width={18} mini slot="icon" />
<span class="hidden sm:inline">Create</span>