Replies: 1 comment
-
Another option is to use the standard Windows night mode. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Because currently we doesn't have a built-in Dark Mode but many of us want Dark Mode, so at least a Night Light mode can reduce eye strain by a decent margin.
By researching Android and Flux's Night Light mode, I understand that transparent amber background can reduce eye strain, which help browsing, reduce eye strain in low-light conditions, and also improve sleep condition.
Solution: A button to toggle this CSS, it's surprisingly easy but incredibly helpful:
#main-window:hover {opacity: 0.7!important;background: #ffbf00!important;}
#main-window:hover {opacity: unset!important;background: unset!important;}
You can use Userscript to modify
#main-window
too, I recommend this solution because we need to check if Floorp's#main-window
is loaded or not, if it's loaded then change css and userChrome method can't because modifing#main-window
too early may cause browser to get completely transparent and click through-able:On:
Off:
How does it look ?
![image](https://private-user-images.githubusercontent.com/134402102/271621133-b04d9985-1f05-4f89-b10c-0ff845001bc2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkyNDM4MDIsIm5iZiI6MTcxOTI0MzUwMiwicGF0aCI6Ii8xMzQ0MDIxMDIvMjcxNjIxMTMzLWIwNGQ5OTg1LTFmMDUtNGY4OS1iMTBjLTBmZjg0NTAwMWJjMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjI0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyNFQxNTM4MjJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jMGFhODFhZWM2Zjg4ZDViNjI3YjZlMjc2OTMwZDdiZDQwZjI0MmM1YjgxODM2MTk5ODQ3ZTVkMDNkOWEwMzZjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.e3CwoshAJPWWB1n-bxGpn-mWwX_jCVjNFhqwXWD_kl8)
Thanks for making Floorp, hopefully this will be helpful, I love Floorp and always want to contribute something to help Floorp!
5 votes ·
Beta Was this translation helpful? Give feedback.
All reactions