From 79c4f6ddb5dbaad29fb275216e9fad2a069015f7 Mon Sep 17 00:00:00 2001 From: Vojtech Simetka Date: Mon, 22 Jan 2024 17:27:29 +0100 Subject: [PATCH] feat: replace babbles icon --- src/lib/components/dicebear.svelte | 3 +- src/lib/components/icons/babbles.svelte | 29 ------------------- src/routes/+page.svelte | 5 ++-- .../chat/[id]/[[thread_id]]/+page.svelte | 12 ++++++-- src/routes/invite/[address]/+page.svelte | 4 +-- 5 files changed, 15 insertions(+), 38 deletions(-) delete mode 100644 src/lib/components/icons/babbles.svelte diff --git a/src/lib/components/dicebear.svelte b/src/lib/components/dicebear.svelte index 2e052b91..f665bace 100644 --- a/src/lib/components/dicebear.svelte +++ b/src/lib/components/dicebear.svelte @@ -7,7 +7,8 @@ export let scale = 75 export let radius = 50 - const avatarSize = (size / 2) as any // FIXME: the carbon design icons have native sizes 15, 20, 24 and 32. We should stick to those + // FIXME: the carbon design icons have native sizes 16, 20, 24 and 32. We should stick to those + const avatarSize = (size / 2) as unknown as 16 | 20 | 24 | 32 {#if style === 'user'} diff --git a/src/lib/components/icons/babbles.svelte b/src/lib/components/icons/babbles.svelte deleted file mode 100644 index a716b2b3..00000000 --- a/src/lib/components/icons/babbles.svelte +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 74958388..4aa65f69 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,5 +1,5 @@