refactor(editor): get loading icon with theme (#12079)

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit

- **New Features**
  - Introduced a unified loading spinner icon that adapts to light or dark themes automatically.

- **Refactor**
  - Streamlined loading icon usage across the app by replacing multiple theme-based icons with a single helper function for consistent and simplified icon management.

- **Chores**
  - Removed an unused dependency to improve package management.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
fundon authored and Fangdun Tsai committed 2025-04-30 14:42:05 +08:00
1 parent 2e1bed061e
commit 539b2e87ad
14 files changed
+70 -72

No files matched your search

-1
View File
@@ -2407,7 +2407,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@blocksuite/affine-block-attachment@workspace:blocksuite/affine/blocks/attachment"
dependencies:
"@blocksuite/affine-block-embed": "workspace:*"
"@blocksuite/affine-block-surface": "workspace:*"
"@blocksuite/affine-components": "workspace:*"
"@blocksuite/affine-ext-loader": "workspace:*"