retro
retro copied to clipboard
Set Theme to Preferred Color Scheme
Description
As a user, i want to apply my preferred color scheme automatically or choose to set it manually
Acceptance Criteria
- The "Change Theme Button" opens a menu containing the buttons "Use System Settings", "Dark Theme", "Light Theme"
- The option "Use System Settings" checks the prefers-color-scheme CSS option and applies the preferred scheme automatically
- Per default the color scheme is set after the preferred color scheme
- The users theme choice is saved in local storage
Implementation
Preferred color scheme can be extracted via CSS: Link