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

Properly respond to theme changes and some refinements to detail page styles. #78

Merged
merged 14 commits into from
May 24, 2022

Conversation

GetToSet
Copy link
Collaborator

@GetToSet GetToSet commented Apr 10, 2022

This PR contains:

  1. Properly respond to theme changes between light and dark appearance.
  2. Some styling changes achieve a relatively nice look for detail pages.
    1. Move margins around WKWebView inside the web page so that the scroll bar snaps the window edge.
    2. Use proper margins for lists.
    3. Slightly adjusts the separator line color and use the theme color for links.
    4. Stripe all custom styles by default. This ensures contents are readable, especially in dark mode. Future versions will add an option to view the page with the original style.

⚠️ This PR is based on #74.

@GetToSet GetToSet force-pushed the ethanwong/darkmode-auto-switch branch from dd6edb7 to 44afcb4 Compare May 19, 2022 14:24
@dyerc dyerc merged commit 2adcaa0 into dyerc:master May 24, 2022
@GetToSet GetToSet deleted the ethanwong/darkmode-auto-switch branch May 25, 2022 03:38
@GetToSet GetToSet added this to the v2.0.0 milestone Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants