feat: switch from card to material

This commit is contained in:
Xyphyn committed 2023-09-04 11:27:19 -07:00
1 parent 43b0e87ebf
commit c53ec52d86
16 files changed
+61 -126

No files matched your search

@@ -3,8 +3,7 @@
import { profile, profileData, setUserID } from '$lib/auth.js'
import FileInput from '$lib/components/input/FileInput.svelte'
import MarkdownEditor from '$lib/components/markdown/MarkdownEditor.svelte'
import Card from '$lib/components/ui/Card.svelte'
import { removeToast, toast } from 'mono-svelte'
import { Material, removeToast, toast } from 'mono-svelte'
import { getClient, uploadImage } from '$lib/lemmy.js'
import type { SaveUserSettings } from 'lemmy-js-client'
import { Button, Checkbox, Modal, TextInput } from 'mono-svelte'
@@ -187,9 +186,7 @@
Save
</Button>
{:else}
<Card cardColor="warning" class="p-5">
The API didn't return your user settings.
</Card>
<Material padding="lg">The API didn't return your user settings.</Material>
{/if}
<Button
on:click={() => deleteAccount(0)}