zombieFox / nightTab

A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks with nightTab.
https://zombiefox.github.io/nightTab/
GNU General Public License v3.0
1.75k stars 254 forks source link

Light/Dark following time of day #210

Open jdrempel opened 4 years ago

jdrempel commented 4 years ago

Problem Description I am a light mode user but I often use my computer at night too and try to avoid brightness during that time.

Solution I would love to be able to set a light theme and a dark theme and have nightTab use one or the other depending on the time of day when I load the tab.

Q-out commented 4 years ago

If you're on Win10 you can use something like https://github.com/Armin2208/Windows-Auto-Night-Mode to set dark mode depending on time of day, then you can set nightTab to follow system dark mode (Theme > Style > Automatic) and that should do it.

zombieFox commented 4 years ago

Thanks for the feedback @jdrempel. The best way to achieve this would be to as @Q-out has suggested and follow the system dark or light mode (using the Automatic Theme Style). And then use a schedule on the system level.

I have experimented with a light and dark mode schedule in the project and the tl:dr findings are:

I also do not want to handle anything to do with timezones (they are very difficult to get right) and this could be a requirement of such a time of day feature.