Please sign in to comment.
fix: day/night mode and enable reverting to the default auto day/nigh…
…t mode Fixes: - There is no easy way for a user to reset their day/night preference back to automatic (currently, they must use their web browser to clear the local storage data for the site) - When changing the theme variation is disabled by admin (by setting `day_night` to `false` in `params.toml`), the operating system's day/night preference is still applied - If the admin removes the option to change the theme variation, the preference for a user who already visited the site is still read from the localstorage and applied. For example, this could result in the user seeing a theme variation with poor contrast that was not intended to be shown as the site's theme was optimized for the other variation. Fix #1385 Fix #1526 Fix #1534
- Loading branch information
Showing with 275 additions and 137 deletions.
Oops, something went wrong.