From 81e9a84590b62b376e82586fd1903e1d529c508c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20B=C3=A4uerle?= Date: Fri, 29 Sep 2023 15:31:42 +0200 Subject: [PATCH] style: change icons from svg paths to material ui icons (#245) --- .../components/instance-views/views/views/OpenAIChat.svelte | 3 ++- .../instance-views/views/views/OpenAIChatMarkdown.svelte | 3 ++- .../views/views/chatbot/AssistantBlock.svelte | 6 +++--- .../instance-views/views/views/chatbot/UserBlock.svelte | 6 +++--- .../views/views/openai-chat/AssistantBlock.svelte | 6 +++--- .../instance-views/views/views/openai-chat/UserBlock.svelte | 6 +++--- 6 files changed, 16 insertions(+), 14 deletions(-) diff --git a/frontend/src/lib/components/instance-views/views/views/OpenAIChat.svelte b/frontend/src/lib/components/instance-views/views/views/OpenAIChat.svelte index bfeaf3ea..c1eb3a01 100644 --- a/frontend/src/lib/components/instance-views/views/views/OpenAIChat.svelte +++ b/frontend/src/lib/components/instance-views/views/views/OpenAIChat.svelte @@ -1,5 +1,6 @@ @@ -9,9 +11,7 @@ viewBox="0 0 640 512" class={`${output ? 'fill-primary' : 'fill-grey-darker'} w-6 mr-2.5 mt-2`} > - +

diff --git a/frontend/src/lib/components/instance-views/views/views/chatbot/UserBlock.svelte b/frontend/src/lib/components/instance-views/views/views/chatbot/UserBlock.svelte index 5546f0e7..d77cc8bd 100644 --- a/frontend/src/lib/components/instance-views/views/views/chatbot/UserBlock.svelte +++ b/frontend/src/lib/components/instance-views/views/views/chatbot/UserBlock.svelte @@ -1,4 +1,6 @@ @@ -8,9 +10,7 @@ viewBox="0 0 448 512" class="w-6 mr-2.5 mt-2 fill-grey-darker" > - +

{input}

diff --git a/frontend/src/lib/components/instance-views/views/views/openai-chat/AssistantBlock.svelte b/frontend/src/lib/components/instance-views/views/views/openai-chat/AssistantBlock.svelte index 41481cb6..77a8edf5 100644 --- a/frontend/src/lib/components/instance-views/views/views/openai-chat/AssistantBlock.svelte +++ b/frontend/src/lib/components/instance-views/views/views/openai-chat/AssistantBlock.svelte @@ -1,4 +1,6 @@ @@ -9,9 +11,7 @@ viewBox="0 0 640 512" class={`${output ? 'fill-primary' : 'fill-grey-darker'} w-6 mr-2.5 mt-2`} > - +

+ import { mdiAccount } from '@mdi/js'; + export let input: string; @@ -15,8 +17,6 @@ viewBox="0 0 448 512" class="w-3.5 ml-2.5 mt-2 fill-grey-darker" > - +