Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(icons): integrate unplugin-icons for enhanced icon management #1807

Merged
merged 3 commits into from
Nov 14, 2024

Conversation

Red-Asuka
Copy link
Member

This pull request introduces the integration of unplugin-icons across the apps/desktop and apps/web projects, as well as the removal of custom icon font definitions in favor of this new approach. The changes include updates to configuration files, package dependencies, and type definitions.

Integration of unplugin-icons:

  • apps/desktop/electron.vite.config.ts: Added imports for FileSystemIconLoader, IconsResolver, and Icons, and configured IconsResolver and Icons plugins to use custom icon collections. [1] [2]
  • apps/web/vite.config.ts: Added imports for FileSystemIconLoader, IconsResolver, and Icons, and configured IconsResolver and Icons plugins to use custom icon collections. [1] [2]

Package dependencies:

Type definitions:

Removal of custom icon font definitions:

These changes collectively enhance the maintainability and scalability of icon management within the project by leveraging the unplugin-icons package.

@Red-Asuka Red-Asuka self-assigned this Nov 14, 2024
@Red-Asuka Red-Asuka added refactor Refactor code or architecture performance Improve some performance labels Nov 14, 2024
@Red-Asuka Red-Asuka added this to the v2.0.0-alpha.1 milestone Nov 14, 2024
@Red-Asuka Red-Asuka marked this pull request as ready for review November 14, 2024 07:56
@Red-Asuka Red-Asuka requested a review from ysfscream November 14, 2024 07:56
@ysfscream ysfscream added the UI/UX Improve some UI \ UX label Nov 14, 2024
@ysfscream ysfscream merged commit 82a49ef into dev/2.0.0 Nov 14, 2024
6 checks passed
@ysfscream ysfscream deleted the lyd/2.0.0 branch November 14, 2024 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Improve some performance refactor Refactor code or architecture UI/UX Improve some UI \ UX
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants