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:
L-Sun
2025-02-14 05:03:26 +00:00
parent 1f6ac4b1fe
commit 9d08f446cc
90 changed files with 2309 additions and 2899 deletions

View File

@@ -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 }) =>