forked from thanhdev/realworld-django-rest-framework-angular
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Description
Add a dark mode theme option to improve accessibility and user experience. Modern applications often provide a dark mode option to reduce eye strain and conserve battery life on OLED displays.
Implementation Details
- Create a new theme in
- Add a theme toggle component in the header
- Implement theme switching logic using CSS variables
- Store user preference in localStorage
- Add automatic theme detection based on system preferences using media query
Benefits
- Improved accessibility for users with light sensitivity
- Battery life conservation on OLED displays
- Modern UX that aligns with industry standards
- Better reading experience in low-light environments
Metadata
Metadata
Assignees
Labels
No labels