Currently, if the system is in dark theme, the text is still rendered as if in light theme (default), which can potentially be illegible. This feature request is to follow the dark theme preference of the system when rendering HTML, or add an argument to prefer or force dark theme. Related but distinct from #113 .
@ShmuelCammebys Thank you for your suggestions! In this PR, we will detect the system's dark mode and use WebSettingsCompat.setForceDark to change the webview's dark mode. This PR should resolve your issue. If you have any further questions, please let me know.
Currently, if the system is in dark theme, the text is still rendered as if in light theme (default), which can potentially be illegible. This feature request is to follow the dark theme preference of the system when rendering HTML, or add an argument to prefer or force dark theme. Related but distinct from #113 .