Add dark theme #1204
No reviewers
Labels
No Label
🔍🤖 Search Engines
approved
dependencies
duplicate
feedback wanted
high priority
I2P
iOS
low priority
OS
Self-contained networks
Social media
stale
streaming
todo
Tor
WIP
wontfix
XMPP
[m]
₿ cryptocurrency
ℹ️ help wanted
↔️ file sharing
⚙️ web extensions
✨ enhancement
❌ software removal
💬 discussion
🤖 Android
🐛 bug
💢 conflicting
📝 correction
🆘 critical
📧 email
🔒 file encryption
📁 file storage
🦊 Firefox
💻 hardware
🌐 hosting
🏠 housekeeping
🔐 password managers
🧰 productivity tools
🔎 research required
🌐 Social News Aggregators
🆕 software suggestion
👥 team chat
🔒 VPN
🌐 website issue
🚫 Windows
👁️ browsers
🖊️ digital notebooks
🗄️ DNS
🗨️ instant messaging (im)
🇦🇶 translations
No Milestone
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: privacyguides/privacytools.io#1204
Loading…
Reference in New Issue
No description provided.
Delete Branch "superiortheme"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #1151
How to test?
Install Firefox Developer Edition (up-to-date Firefox and Safari (https://github.com/privacytoolsIO/privacytools.io/pull/1204#issuecomment-524510658) should also be fine):
https://www.mozilla.org/en-US/firefox/developer/
Firefox gets data from operating system to decide if user prefers dark themes, so set it to dark in system settings or execute it like this (Adwaita is included with GTK, so you should have it installed):
White theme:
Dark theme:
Or you can go to
about:config
and add a property namedui.systemUsesDarkTheme
,integer
and set it to1
.Note:
privacy.resistFingerprinting
must be false.After you do that, there is an option to open devtools, go to Style Editor and disable
dark.css
to compare it with regular light version.Screenshot
Deploy preview for privacytools-io ready!
Built with commit
12bb38c6db
https://deploy-preview-1204--privacytools-io.netlify.com
FYI for visitors who don't want to or can't change their OS theme, dark mode can be toggled in the Safari developer console
(on Catalina. Don't know about Mojave support, maybe only in Safari Tech Preview on Mojave?):...and in Firefox I don't know how to do it per-site, but you can update the style used in the browser by going to
about:config
and adding a new propertyui.systemUsesDarkTheme
of integer type with value1
.I don't understand the code though 😃
LGTM 👍🏼