From e5492313bdfa69d24061a236499585e4d594157e Mon Sep 17 00:00:00 2001 From: Xyphyn Date: Wed, 26 Jul 2023 13:23:16 -0700 Subject: [PATCH] tweak: change colors --- src/lib/components/input/SearchInput.svelte | 1 - src/lib/components/lemmy/comment/CommentActions.svelte | 4 +++- src/lib/components/lemmy/post/Post.svelte | 3 ++- src/lib/components/lemmy/post/PostActions.svelte | 2 +- src/style/app.css | 4 ++-- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/lib/components/input/SearchInput.svelte b/src/lib/components/input/SearchInput.svelte index 41a9df5d..ed7be4e4 100644 --- a/src/lib/components/input/SearchInput.svelte +++ b/src/lib/components/input/SearchInput.svelte @@ -11,7 +11,6 @@ type T = $$Generic export let options: T[] - export let selected: T | null = null export let extractSelected: (item: T | null) => any export let extractName: (item: T) => string diff --git a/src/lib/components/lemmy/comment/CommentActions.svelte b/src/lib/components/lemmy/comment/CommentActions.svelte index c20043ed..4119dd73 100644 --- a/src/lib/components/lemmy/comment/CommentActions.svelte +++ b/src/lib/components/lemmy/comment/CommentActions.svelte @@ -4,6 +4,8 @@ import { userSettings } from '$lib/settings.js' import { Color } from '$lib/ui/colors.js' import { + ArrowLeftCircle, + ArrowUturnLeft, Bookmark, BookmarkSlash, ChatBubbleOvalLeft, @@ -56,7 +58,7 @@ commentId={comment.comment.id} /> {post.post.name} diff --git a/src/lib/components/lemmy/post/PostActions.svelte b/src/lib/components/lemmy/post/PostActions.svelte index f4b5d760..c4638e4e 100644 --- a/src/lib/components/lemmy/post/PostActions.svelte +++ b/src/lib/components/lemmy/post/PostActions.svelte @@ -98,7 +98,7 @@ slot="button" label="Post actions" on:click={toggleOpen} - class="!p-1.5" + class="!p-1.5 text-zinc-400 hover:text-inherit" color="secondary" > diff --git a/src/style/app.css b/src/style/app.css index 57b4b259..d8800890 100644 --- a/src/style/app.css +++ b/src/style/app.css @@ -3,8 +3,8 @@ @tailwind utilities; :root { - @apply bg-slate-50 dark:bg-zinc-950 text-zinc-900 - dark:text-slate-100; + @apply bg-slate-50 dark:bg-zinc-950 text-slate-900 + dark:text-zinc-100; } @media (prefers-color-scheme: dark) {