What would you like done?
I need someone to write a simple Day/Night Mode plugin, which would automatically switch between a Light Theme and Dark Theme at user’s specified times (according to user’s local time).
It should have the following UX:
In Admin Plugin Options:
Automatic Day/Night Mode Plugin On and Off
if On:
Select a $Daytime_Theme from a list of installed themes
Select a $Nighttime_Theme from a list of installed themes
Select menu User Default: Automatic Day/Night Theme Switching is On or Off
Select menu User Default: Nighttime starts at (only PM hours)
Select menu User Default: Daytime starts at (only AM hours)
In User Preferences:
Automatic Day/Night Theme Switching On and Off
if On:
Select menu $Nighttime starts at (only PM hours)
Select menu $Daytime starts at (only AM hours)
Script:
Javascript switching between $Daytime_Theme at $Daytime and $Nighttime_Theme at $Nighttime (user’s local time).
When do you need it done?
no rush
What is your budget, in $ USD that you can offer for this task?
up to $200
Additional Info
It expect that it should be quite simple for someone experienced with Discourse plugins and Javascript. I’d like to keep it Open Source, so it would be great if it could be hosted on GitHub.
That would depend on how much is setting driven and how much is “automatic”.
First I’m assuming you don’t really mean AM (1 minute after midnight) and PM (1 minute after noon), but rather daylight and darkness.
Depending on ones latitude, seasonal differences, and whether or not daylight savings time are observed would complicate any precise automatic dawn/dusk change. Settings such as “enter night mode at ___”, “enter day mode at ___” on the other hand would be relatively easier, but require user action, which they could adjust during the course of the year as seasonal changes got out of sync and when daylight savings changed.
Because it is easy enough to switch themes now via the hamburger menu I’m guessing your goal is to eliminate the need to switch up to twice daily. How many settings are you thinking would be an acceptable number, the ones you posted?
I’m thinking six settings could work if six wouldn’t be settings bloat. i.e.
I need just the settings I mentioned. We live mostly according to our life style, not sunlight. If I finish my dinner at 8pm, this is when my evening starts.
If users really like it, we can add “Sunset to Sunrise” in the future. This would require much more coding and likely asking permission to access a user’s location. Too complex. Right now I’d like to start with just basic functionality. Also, it’s a non-profit, so I can’t spend more.
thanks, I’ve been using the Hamburger Theme Selector script, so my users can already switch themes from the menu. The missing step is automation with basic configuration options.
I don’t want to offend anybody, but a $1000 for such a simple script? People code full websites for this kind of money. I guess, I have to find those people
I don’t think this is a $1,000 job but I do think it’s a bit overly complicated for what you’re after. If you can remove the user level definitions and go site-wide it makes it simpler.
I’d be open to working towards a quote with you offline. joe@joebuhlig.com
thanks @joebuhlig. I’ve sent you an email.
The user-side settings are even simpler than iOS Nightshift feature. I can’t imagine not having any. You’d have to at least allow to turn it off. And once you’ve added an on/off switch, a user-setting database record has to be implemented, so you may as well add the user-side time selectors.