Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

chore(core): replace outlined template icon (#9784)

CatsJuiceba508ffd6b43
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 5a750845b1..b18ee64021 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 34a89fad1e..fd03dba2f5 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 (
<SidebarMenuItem
data-testid="sidebar-template-doc-entrance"
- icon={<TemplateOutlineIcon />}
+ icon={<TemplateIcon />}
onClick={toggleMenu}
>
<Menu