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

comments

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