Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dark mode in iOS13+ Books #379

Merged
merged 3 commits into from
Dec 13, 2020
Merged

Fix dark mode in iOS13+ Books #379

merged 3 commits into from
Dec 13, 2020

Commits on Dec 12, 2020

  1. Fix dark mode in iOS13+ Books

    iOS 13+ supports the `prefers-color-scheme` media query, so we can use that to invert images. The old and new versions play nicely together, in my testing on the latest versions at least.
    robinwhittleton committed Dec 12, 2020
    Configuration menu
    Copy the full SHA
    9602fe8 View commit details
    Browse the repository at this point in the history
  2. Move prefers-color-scheme image inversion to core.css

    The background color unsetting can remain in compatibility.css as the initial setting is done there.
    robinwhittleton committed Dec 12, 2020
    Configuration menu
    Copy the full SHA
    af770af View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1bced51 View commit details
    Browse the repository at this point in the history