misc: tweak color
This commit is contained in:
1 parent
123336871d
commit
bb62fd0a9b
4 files changed
+9
-4
No files matched your search
@@ -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'}
|
||||
: ' hover:bg-slate-200 hover:dark:bg-zinc-800 text-slate-700 hover:text-inherit dark:text-zinc-300'}
|
||||
{clazz}
|
||||
disabled:opacity-60 disabled:pointer-events-none"
|
||||
on:click={() => (selected = option)}
|
||||
|
||||
@@ -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 border-slate-200 dark:border-zinc-700 rounded-md p-2"
|
||||
border text-slate-700 dark:text-zinc-300 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">
|
||||
<div class="flex flex-row gap-2 items-center text-slate-700 dark:text-zinc-300">
|
||||
<PostVote post={post.post} vote={post.my_vote} score={post.counts.score} />
|
||||
|
||||
<Button
|
||||
|
||||
@@ -46,7 +46,11 @@
|
||||
</a>
|
||||
</div>
|
||||
<div class="flex flex-row gap-2 py-2 px-3">
|
||||
<Button href="/communities" label="Communities">
|
||||
<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"
|
||||
>
|
||||
<Icon src={GlobeAlt} width={16} slot="icon" />
|
||||
<span class="hidden sm:inline">Explore</span>
|
||||
</Button>
|
||||
@@ -56,6 +60,7 @@
|
||||
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>
|
||||
|
||||
Reference in new issue
Block a user