Skip to content

bloqaudio/time-based-themes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

automaticDark - Time-Based Theme Changer

Options page in version 1.3.0

This is a simple Firefox WebExtension that allows you to automatically switch between your themes based on the current time.

Set Firefox to change the UI to a dark theme during the night and change back to a light theme during the day!

Try the extension at https://addons.mozilla.org/firefox/addon/automatic-dark/

Features

  • Automatically calculate and set sunrise/sunset times based on your location
    • ...or manually set the sunrise and sunset times
    • ...or only change the theme based on the system theme!
  • Choose the daytime theme and nighttime theme to switch between

Notes

  • If you have the privacy.resistFingerprinting flag in about:config set to True, the extension will not be able to detect your timezone (#5). You would need to make an adjustment in your settings to compensate for this.
  • Note that Firefox's Default theme may match the default system themes out of the box (for Windows 10, this is as of 63.0).

Screenshots

Options page in version 1.3.0 Dark-themed options page in version 1.3.0

  • Screenshot of the Options page in version 1.3.0.

Feedback / Contributions

Feedback and pull requests welcome! What do you think? Let me know!

About

Automatically change Firefox's theme based on the time

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 90.5%
  • HTML 8.2%
  • CSS 1.3%