New Dark Mode

nightwolfdev - Jan 29 '21 - - Dev Community

Our website now has a toggle for Dark/Light mode!

A little javascript was used to toggle the sun/moon appearance, the dark-mode body class, and setting a cookie to store which mode you prefer.

Within the body tag, we read the cookie with PHP to apply the dark mode class if applicable on page load.

Let me know what you think? Thank you!


Visit our website at https://nightwolf.dev and follow us on Facebook and Twitter!


. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .