tweak: change colors
This commit is contained in:
1 parent
c11e3d34ef
commit
e5492313bd
5 files changed
+8
-6
No files matched your search
@@ -11,7 +11,6 @@
|
|||||||
type T = $$Generic
|
type T = $$Generic
|
||||||
|
|
||||||
export let options: T[]
|
export let options: T[]
|
||||||
export let selected: T | null = null
|
|
||||||
export let extractSelected: (item: T | null) => any
|
export let extractSelected: (item: T | null) => any
|
||||||
export let extractName: (item: T) => string
|
export let extractName: (item: T) => string
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
import { userSettings } from '$lib/settings.js'
|
import { userSettings } from '$lib/settings.js'
|
||||||
import { Color } from '$lib/ui/colors.js'
|
import { Color } from '$lib/ui/colors.js'
|
||||||
import {
|
import {
|
||||||
|
ArrowLeftCircle,
|
||||||
|
ArrowUturnLeft,
|
||||||
Bookmark,
|
Bookmark,
|
||||||
BookmarkSlash,
|
BookmarkSlash,
|
||||||
ChatBubbleOvalLeft,
|
ChatBubbleOvalLeft,
|
||||||
@@ -56,7 +58,7 @@
|
|||||||
commentId={comment.comment.id}
|
commentId={comment.comment.id}
|
||||||
/>
|
/>
|
||||||
<Button color="elevatedLow" size="sm" on:click={() => (replying = !replying)}>
|
<Button color="elevatedLow" size="sm" on:click={() => (replying = !replying)}>
|
||||||
<Icon src={ChatBubbleOvalLeft} width={16} height={16} mini />
|
<Icon src={ArrowUturnLeft} width={14} height={14} mini />
|
||||||
<span class="text-xs">Reply</span>
|
<span class="text-xs">Reply</span>
|
||||||
</Button>
|
</Button>
|
||||||
<Menu
|
<Menu
|
||||||
|
|||||||
@@ -31,7 +31,8 @@
|
|||||||
<a
|
<a
|
||||||
href="/post/{getInstance()}/{post.post.id}"
|
href="/post/{getInstance()}/{post.post.id}"
|
||||||
class="font-bold"
|
class="font-bold"
|
||||||
class:opacity-50={post.read && $userSettings.markReadPosts}
|
class:text-slate-500={post.read && $userSettings.markReadPosts}
|
||||||
|
class:dark:text-zinc-400={post.read && $userSettings.markReadPosts}
|
||||||
>
|
>
|
||||||
{post.post.name}
|
{post.post.name}
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -98,7 +98,7 @@
|
|||||||
slot="button"
|
slot="button"
|
||||||
label="Post actions"
|
label="Post actions"
|
||||||
on:click={toggleOpen}
|
on:click={toggleOpen}
|
||||||
class="!p-1.5"
|
class="!p-1.5 text-zinc-400 hover:text-inherit"
|
||||||
color="secondary"
|
color="secondary"
|
||||||
>
|
>
|
||||||
<Icon slot="icon" src={EllipsisHorizontal} width={16} mini />
|
<Icon slot="icon" src={EllipsisHorizontal} width={16} mini />
|
||||||
|
|||||||
+2
-2
@@ -3,8 +3,8 @@
|
|||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
@apply bg-slate-50 dark:bg-zinc-950 text-zinc-900
|
@apply bg-slate-50 dark:bg-zinc-950 text-slate-900
|
||||||
dark:text-slate-100;
|
dark:text-zinc-100;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
|
|||||||
Reference in new issue
Block a user