Detection of user's preferences for the dark mode
Currently, the dark mode is implemented as a toggle that sets the value to local storage. This is nice but there is also media query "prefer-color-scheme" that is provided to auto-detect the default setting the user wants. This would be way better as it would remove the need to switch to dark mode for most of the users. The toggle would be needed only to override the settings.