5098deedd13c0dc9593e52879427b0152a7be2e7
Introduce ThemeService to manage themes and dark mode state, including initialization, persistence, and server sync. Add UserPreferencesService to handle API communication for retrieving and saving user preferences with in-memory caching to reduce network overhead. Register both services in the DI container in Program.cs. Enhance ThemeService with detailed documentation and introduce ThemeOption record for selectable themes. Improve server-side caching in UserPreferencesService for consistency and efficiency.
Description
No description provided
Languages
JavaScript
84.1%
C#
7.6%
HTML
3.6%
Visual Basic .NET
2.7%
CSS
1.5%
Other
0.4%