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
I2P
OS
Self-contained networks
Social media
Tor
WIP
XMPP
[m]
approved
dependencies
duplicate
feedback wanted
high priority
iOS
low priority
stale
streaming
todo
wontfix
₿ cryptocurrency
ℹ️ help wanted
↔️ file sharing
⚙️ web extensions
✨ enhancement
❌ software removal
🆕 software suggestion
🆘 critical
🇦🇶 translations
🌐 Social News Aggregators
🌐 hosting
🌐 website issue
🏠 housekeeping
🐛 bug
👁️ browsers
👥 team chat
💢 conflicting
💬 discussion
💻 hardware
📁 file storage
📝 correction
📧 email
🔎 research required
🔐 password managers
🔒 VPN
🔒 file encryption
🖊️ digital notebooks
🗄️ DNS
🗨️ instant messaging (im)
🚫 Windows
🤖 Android
🦊 Firefox
🧰 productivity tools
The Invisible Internet Project (I2P)
Operating Systems
Anything covering the Tor network
active work in progress, do not merge or PR (yet)!
Extensible Messaging and Presence Protocol
Matrix protocol
approved, waiting for a PR
Pull requests that update a dependency file
A label for stalebot if it gets added
Anything related to media streaming.
Issues or bugs that will not be fixed and/or do not have significant impact on the project.
Browser Extension related issues
Anything covering a translated version of the site
*Technical* issues with the website.
Anything primarily related to site cleanup.
Correction of content on the website
Virtual Private Network
Domain Name System
Firefox & forks, about:config etc.
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 👍🏼