Darkness is a browser extension for Chrome and Firefox that provides dark themes for popular websites such as Google, Facebook, Gmail and YouTube.
Using dark themes reduces the eye strain and fatigue caused by a bright screen, helps you sleep faster and better at night, and generally makes you awesome!
Major contributors (10+ commits): Lior Grossman, Theis Villumsen, Nicolas Botello, Derek Bytheway, Matt Tayler
→ Submit fixes and improvements to Darkness
→ Join the Darkness developers community on Facebook
- Supports over 20 websites: Google, Facebook, YouTube, Gmail, Inbox, Google Docs, Google Photos, Google Keep, Google Calendar and Contacts, Dropbox, Twitter, Reddit, Quora, Facebook Messenger, StackOverflow, GitHub, Trello, CloudFlare, ShareLaTeX and others (help us add more)
- Select from 5 dark color themes: Iceberg, Tomorrow, Material Design, Dusk, Red Alert (help us add more)
- Written in JavaScript, uses SASS
- Self-hosted. Easy to install on Windows, Mac, Linux
- Also available on Chrome Web Store and Firefox Add-on Store
- Recommended: join our developers community to discuss and ask questions
- Fork the Darkness repo: https://github.com/liorgrossman/darkness/fork
- Clone your fork locally:
- If you use SSH:
git clone [email protected]:YOUR_GITHUB_USER/darkness.git
- or using HTTPS:
git clone https://github.com/YOUR_GITHUB_USER/darkness.git
- If you use SSH:
- Go to the root Darkness directory:
cd darkness
- Set up a the original repo as a remote:
- If you use SSH:
git remote add upstream [email protected]:liorgrossman/darkness.git
- or using HTTPS:
git remote add upstream https://github.com/liorgrossman/darkness.git
- If you use SSH:
- Get the code:
git fetch upstream
- Install Node.js, unless you already have it installed
- Install packages and compile all SCSS files to CSS:
npm install
(run it from the same directory as package.json)
- Open Chrome and browse to chrome://extensions
- If you already Darkness installed Darkness from Chrome Web Store, disable it
- Check Developer mode in the top of the Extensions page
- Click Load unpacked
- Choose the sub-directory darkness/chrome-extension (where manifest.json resides)
- Run
gulp ff
to replicate and transform the chrome-extension directory to firefox-extension - Open Firefox and browse to about:debugging
- If you already Darkness installed Darkness from Firefox Add-on store, disable it
- Click Load Temporary Add-on
- Choose the file darkness/firefox-extension/manifest.json
git checkout master
git pull upstream master
npm install
If you use it on Firefox, also run: gulp ff
Pull requests are welcome! Please see our contribution guide to quickly improve and extend Darkness
- Join the Darkness Developers Community on Facebook
- Contact us at: [email protected]
- Check out our other projects: BookAuthority and Select New Tab
Darkness is licensed GPLv3. Please read our privacy policy here