Archived
Add dark theme #1204
Merged
dawidpotocki
merged 1 commits from 2019-08-29 20:03:05 +00:00
superiortheme into master
Labels
Clear labels
:mag:🤖 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
approved, waiting for a PR
Pull requests that update a dependency file
The Invisible Internet Project (I2P)
Operating Systems
A label for stalebot if it gets added
Anything related to media streaming.
Anything covering the Tor network
active work in progress, do not merge or PR (yet)!
Issues or bugs that will not be fixed and/or do not have significant impact on the project.
Extensible Messaging and Presence Protocol
Matrix protocol
Browser Extension related issues
Correction of content on the website
Firefox & forks, about:config etc.
Anything primarily related to site cleanup.
Virtual Private Network
*Technical* issues with the website.
Domain Name System
Anything covering a translated version of the site
No labels
✨ enhancement
Milestone
No items
No Milestone
No due date set.
Dependencies
No dependencies set.
Reference: privacyguides/privacytools.io#1204
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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:configand add a property namedui.systemUsesDarkTheme,integerand set it to1.Note:
privacy.resistFingerprintingmust be false.After you do that, there is an option to open devtools, go to Style Editor and disable

dark.cssto compare it with regular light version.Screenshot
Deploy preview for privacytools-io ready!
Built with commit
12bb38c6dbhttps://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:configand adding a new propertyui.systemUsesDarkThemeof integer type with value1.I don't understand the code though 😃
LGTM 👍🏼