-
-
Notifications
You must be signed in to change notification settings - Fork 288
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
"Light style" is white font on white page #1012
Comments
You can use the inspector (F12) to inspect the CSS styles. Assuming this isn't some weird graphics problem, something is setting the color to white, and Foliate certainly isn't doing that right now. |
Does this still happen? |
Apparently it does, according to this comment
Edit: I think I read it wrong. The comment says it's always white on black, not white on white. |
If anyone can reproduce this, please try the following patch: diff --git a/src/reader/reader.html b/src/reader/reader.html
index bd78314..51c5c51 100644
--- a/src/reader/reader.html
+++ b/src/reader/reader.html
@@ -1,6 +1,5 @@
<!DOCTYPE html>
<meta charset="utf-8">
-<meta name="color-scheme" content="light dark">
<meta http-equiv="Content-Security-Policy" content="default-src 'self' blob:; script-src 'self'; style-src 'self' blob: 'unsafe-inline'; img-src 'self' blob: data:; connect-src 'self' blob: data:; frame-src blob: data:; object-src blob: data:; form-action 'none';">
<style>
html { |
Closing as works for me/stale for now. Feel free to comment if you're still having the same issue. |
In the GTK4 branch the only way to actually read the text is to use "Dark Style".
"White Style" is basically a white colored font (you can see there is text there so it isn't a full white) on white page.
"Follow system style" is the same as "White Style".
Is there a way to control the font / page colors ?
I also tried running in place with same results.
The text was updated successfully, but these errors were encountered: