willy. @willy.
__NUXT__.colorMode.value = "dark"
Sep 15, 2021, 11:40 PM
1
View all

comments

Highlighted comment
window.documentElement.classList.toggleClass("dark"); // documentElement is <html> or <body>? Can’t remember