mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-17 22:37:04 +08:00
refactor(editor): remove redundant edgeless icons (#10169)
Continue [BS-2240](https://linear.app/affine-design/issue/BS-2240/%E6%B8%85%E7%90%86%E9%87%8D%E5%A4%8D%E7%9A%84icon) This PR removes `icons/edgeless.ts` and refactor with `@blocksuite/icons` for reducing redundant icons
This commit is contained in:
@@ -9,9 +9,9 @@ import {
|
||||
type AIItemConfig,
|
||||
AIStarIcon,
|
||||
DocModeProvider,
|
||||
MoreHorizontalIcon,
|
||||
} from '@blocksuite/affine/blocks';
|
||||
import { assertExists } from '@blocksuite/affine/global/utils';
|
||||
import { MoreHorizontalIcon } from '@blocksuite/icons/lit';
|
||||
import { html } from 'lit';
|
||||
|
||||
import { pageAIGroups } from '../../_common/config';
|
||||
@@ -107,7 +107,7 @@ export function setupSlashMenuAIEntry(slashMenu: AffineSlashMenuWidget) {
|
||||
|
||||
{
|
||||
name: 'Action with above',
|
||||
icon: iconWrapper(MoreHorizontalIcon),
|
||||
icon: iconWrapper(MoreHorizontalIcon({ width: '24px', height: '24px' })),
|
||||
subMenu: [
|
||||
{ groupName: 'Action with above' },
|
||||
...AIItems.filter(({ name }) =>
|
||||
|
||||
Reference in New Issue
Block a user