audiobookshelf/client/store
Farhan ALVY af5ba658c3 Implement Dynamic Theme Switching (Dark/Light Mode)
This commit introduces a comprehensive theme system that allows users to seamlessly
switch between dark and light modes throughout the application.

🌟 Key Features:
• Toggle between dark and light themes with smooth transitions
• Automatic theme persistence using localStorage
• System preference detection for initial theme selection
• Comprehensive CSS variable system for consistent theming
• Theme-aware utility classes for easy component integration

🎨 What's Included:
• Theme Vuex store for state management and theme logic
• Complete CSS variable definitions for both light and dark modes
• Smooth 0.3s transitions for all theme-related properties
• Proper contrast ratios ensuring accessibility in both themes
• Support for all UI components including buttons, inputs, icons, and dropdowns

🚀 Developer Experience:
• Easy-to-use utility classes (.text-themed, .bg-primary, etc.)
• Centralized theme management through Vuex store
• Automatic document class updates (html.dark / html.light)
• No breaking changes to existing components

This enhancement significantly improves user experience by providing
visual comfort options and follows modern UI/UX best practices.
2025-10-08 08:19:21 +00:00
..
globals.js Fix Cover modal showing error image for items with no cover, update placeholder cover url to all come from global store 2025-03-27 17:37:25 -05:00
index.js Update item image in audio player when updated on item #4025 2025-04-01 17:32:21 -05:00
libraries.js Fix decade filter and query by casting publishedYear to Int 2024-10-15 16:12:56 -05:00
scanners.js Add custom metadata provider controller, update model, move to item metadata utils 2024-02-11 16:48:16 -06:00
tasks.js Fixes + add progress to m4b and embed tools 2024-07-20 12:28:06 +03:00
theme.js Implement Dynamic Theme Switching (Dark/Light Mode) 2025-10-08 08:19:21 +00:00
user.js Add book library sort by progress updated #1215 2025-07-28 14:58:28 -04:00
users.js Fix:Users table activity & cleanup 2022-11-24 14:44:09 -06:00