chore(core): replace outlined template icon (#9784)
This commit is contained in:
@@ -9,7 +9,7 @@ import {
|
|||||||
LongerIcon,
|
LongerIcon,
|
||||||
NumberIcon,
|
NumberIcon,
|
||||||
TagIcon,
|
TagIcon,
|
||||||
TemplateOutlineIcon,
|
TemplateIcon,
|
||||||
TextIcon,
|
TextIcon,
|
||||||
TodayIcon,
|
TodayIcon,
|
||||||
} from '@blocksuite/icons/rc';
|
} from '@blocksuite/icons/rc';
|
||||||
@@ -112,7 +112,7 @@ export const DocPropertyTypes = {
|
|||||||
},
|
},
|
||||||
template: {
|
template: {
|
||||||
uniqueId: 'template',
|
uniqueId: 'template',
|
||||||
icon: TemplateOutlineIcon,
|
icon: TemplateIcon,
|
||||||
value: TemplateValue,
|
value: TemplateValue,
|
||||||
name: 'com.affine.page-properties.property.template',
|
name: 'com.affine.page-properties.property.template',
|
||||||
renameable: false,
|
renameable: false,
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import { WorkbenchService } from '@affine/core/modules/workbench';
|
|||||||
import { inferOpenMode } from '@affine/core/utils';
|
import { inferOpenMode } from '@affine/core/utils';
|
||||||
import { useI18n } from '@affine/i18n';
|
import { useI18n } from '@affine/i18n';
|
||||||
import track from '@affine/track';
|
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 { useLiveData, useService } from '@toeverything/infra';
|
||||||
import { useCallback, useState } from 'react';
|
import { useCallback, useState } from 'react';
|
||||||
|
|
||||||
@@ -33,7 +33,7 @@ export const TemplateDocEntrance = () => {
|
|||||||
return (
|
return (
|
||||||
<SidebarMenuItem
|
<SidebarMenuItem
|
||||||
data-testid="sidebar-template-doc-entrance"
|
data-testid="sidebar-template-doc-entrance"
|
||||||
icon={<TemplateOutlineIcon />}
|
icon={<TemplateIcon />}
|
||||||
onClick={toggleMenu}
|
onClick={toggleMenu}
|
||||||
>
|
>
|
||||||
<Menu
|
<Menu
|
||||||
|
|||||||
Reference in New Issue
Block a user