Refactor theme management and enhance UI components for improved user experience

- Removed the `animejs` dependency and replaced it with a lightweight animation system using the Web Animations API for better performance.
- Introduced theme settings in `SettingsModal.vue`, allowing users to select between light, dark, and system themes.
- Updated `useUIStore` to manage theme state and apply changes dynamically, enhancing the overall UI consistency.
- Improved styling in `VndbPanel.vue` and other components to align with the new theme management system, ensuring a cohesive look and feel across the application.
This commit is contained in:
AdingApkgg
2025-12-26 22:32:35 +08:00
parent c2fdc58f21
commit 9fd8f0005a
7 changed files with 278 additions and 386 deletions

View File

@@ -27,7 +27,6 @@
},
"dependencies": {
"@fontsource/noto-sans-sc": "^5.2.8",
"animejs": "^4.2.2",
"artalk": "^2.9.1",
"lucide-vue-next": "^0.562.0",
"pinia": "^3.0.4",
@@ -35,7 +34,7 @@
"snd-lib": "^1.2.4",
"vue": "^3.5.26",
"vue-prism-editor": "2.0.0-alpha.2",
"vue-virtual-scroller": "^1.1.2"
"vue-virtual-scroll-list": "^2.3.5"
},
"packageManager": "pnpm@10.26.2"
}