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
82.6%
C#
8.5%
HTML
4.1%
Visual Basic .NET
2.6%
CSS
1.7%
Other
0.4%