switch to mono-svelte Button component

This commit is contained in:
Xyphyn committed 2023-09-03 17:05:45 -07:00
1 parent c4a1f143cb
commit d02d8556d5
61 files changed
+298 -348

No files matched your search

+1 -1
View File
@@ -8,8 +8,8 @@
import { goto } from '$app/navigation'
import { EnvelopeOpen, Icon, Inbox, Newspaper } from 'svelte-hero-icons'
import Placeholder from '$lib/components/ui/Placeholder.svelte'
import Button from '$lib/components/input/Button.svelte'
import { searchParam } from '$lib/util.js'
import { Button } from 'mono-svelte'
export let data
</script>
+3 -3
View File
@@ -1,5 +1,4 @@
<script lang="ts">
import Button from '$lib/components/input/Button.svelte'
import CommentItem from '$lib/components/lemmy/comment/CommentItem.svelte'
import Post from '$lib/components/lemmy/post/Post.svelte'
import { toast } from '$lib/components/ui/toasts/toasts.js'
@@ -12,6 +11,7 @@
} from 'lemmy-js-client'
import { Check, Icon } from 'svelte-hero-icons'
import { profile } from '$lib/auth.js'
import { Button } from 'mono-svelte'
export let item: PostReportView | CommentReportView | PrivateMessageReportView
@@ -100,7 +100,7 @@
loading={resolving}
disabled={resolving}
>
<Icon src={Check} mini size="16" slot="icon" />
<Icon src={Check} mini size="16" slot="prefix" />
</Button>
</div>
{:else if isPostReport(item)}
@@ -132,7 +132,7 @@
loading={resolving}
disabled={resolving}
>
<Icon src={Check} mini size="16" slot="icon" />
<Icon src={Check} mini size="16" slot="prefix" />
</Button>
</div>
{/if}