You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can change the default mode by editing assets/js/initColors.js
function initColors(){
if (localStorage.getItem("isLight") === null) {
localStorage.setItem("isLight", 'true'); <- change to false for dark mode by default
}
Sorry I'm brand new to Hugo (And static generators as a whole!) and I'm starting with this theme as I love the look of it!
Is there a setting/config option to default to the dark mode & set the default posts view to list mode?
The text was updated successfully, but these errors were encountered: