On the subject of dark modes...
I just need to find the best way to handle it for the current session.
On the subject of dark modes...
I just need to find the best way to handle it for the current session.
@colinwalker pretty sure that @pat has something implemented on his site for a dark mode.
@philbowell @pat Yeah, I’ve seen that (with the little sun and moon) looks cool - I’m thinking using a session variable.
@colinwalker Have a look at my site’s GitHub repo. I’m setting the theme based on the time, then using sessionStorage
to store which theme the user wants displayed.
@colinwalker Dark modes really don’t agree with my eyes. I get afterimages after a short while.
@pat Thanks. I was having a look at your source ;) Looks like it might be simpler than using a PHP session variable + jquery.