From 2d6c86398d0d5b4c6c31d5b43086fe773871ad8c Mon Sep 17 00:00:00 2001 From: AdRiley Date: Tue, 16 Jul 2024 20:46:38 +0100 Subject: [PATCH] Update icons (#10570) --- .../src/components/MarkdownEditor/BlockTypeMenu.vue | 11 +++++------ .../components/MarkdownEditor/FormatPropertiesBar.vue | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/app/gui2/src/components/MarkdownEditor/BlockTypeMenu.vue b/app/gui2/src/components/MarkdownEditor/BlockTypeMenu.vue index 944aa7a22a..d4108d8648 100644 --- a/app/gui2/src/components/MarkdownEditor/BlockTypeMenu.vue +++ b/app/gui2/src/components/MarkdownEditor/BlockTypeMenu.vue @@ -6,16 +6,15 @@ import type { Icon } from '@/util/iconName' const blockType = defineModel({ required: true }) -const TODO: Icon = 'text' const blockTypeIcon: Record = { paragraph: 'text', bullet: 'bullet-list', - code: TODO, - h1: TODO, - h2: TODO, - h3: TODO, + code: 'code', + h1: 'header1', + h2: 'header2', + h3: 'header3', number: 'numbered-list', - quote: TODO, + quote: 'quote', } const blockTypesOrdered: BlockType[] = [ 'paragraph', diff --git a/app/gui2/src/components/MarkdownEditor/FormatPropertiesBar.vue b/app/gui2/src/components/MarkdownEditor/FormatPropertiesBar.vue index 3f0f9a323c..101a3305a6 100644 --- a/app/gui2/src/components/MarkdownEditor/FormatPropertiesBar.vue +++ b/app/gui2/src/components/MarkdownEditor/FormatPropertiesBar.vue @@ -47,7 +47,7 @@ const close = () => (menuOpen.value = false) />