From ba508ffd6b431c715072ae133819a1edbffba498 Mon Sep 17 00:00:00 2001 From: CatsJuice Date: Tue, 21 Jan 2025 11:03:11 +0000 Subject: [PATCH] chore(core): replace outlined template icon (#9784) --- .../core/src/components/doc-properties/types/constant.tsx | 4 ++-- .../src/components/root-app-sidebar/template-doc-entrance.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/frontend/core/src/components/doc-properties/types/constant.tsx b/packages/frontend/core/src/components/doc-properties/types/constant.tsx index 5a750845b..b18ee6402 100644 --- a/packages/frontend/core/src/components/doc-properties/types/constant.tsx +++ b/packages/frontend/core/src/components/doc-properties/types/constant.tsx @@ -9,7 +9,7 @@ import { LongerIcon, NumberIcon, TagIcon, - TemplateOutlineIcon, + TemplateIcon, TextIcon, TodayIcon, } from '@blocksuite/icons/rc'; @@ -112,7 +112,7 @@ export const DocPropertyTypes = { }, template: { uniqueId: 'template', - icon: TemplateOutlineIcon, + icon: TemplateIcon, value: TemplateValue, name: 'com.affine.page-properties.property.template', renameable: false, diff --git a/packages/frontend/core/src/components/root-app-sidebar/template-doc-entrance.tsx b/packages/frontend/core/src/components/root-app-sidebar/template-doc-entrance.tsx index 34a89fad1..fd03dba2f 100644 --- a/packages/frontend/core/src/components/root-app-sidebar/template-doc-entrance.tsx +++ b/packages/frontend/core/src/components/root-app-sidebar/template-doc-entrance.tsx @@ -7,7 +7,7 @@ import { WorkbenchService } from '@affine/core/modules/workbench'; import { inferOpenMode } from '@affine/core/utils'; import { useI18n } from '@affine/i18n'; import track from '@affine/track'; -import { TemplateIcon, TemplateOutlineIcon } from '@blocksuite/icons/rc'; +import { TemplateIcon } from '@blocksuite/icons/rc'; import { useLiveData, useService } from '@toeverything/infra'; import { useCallback, useState } from 'react'; @@ -33,7 +33,7 @@ export const TemplateDocEntrance = () => { return ( } + icon={} onClick={toggleMenu} >