Thanks to darkmode-js, a darkmode was added to the framework:
async function darkmode(Webfan){
try{
if(true !== Webfan.c.website.darkmode.enabled && 'true' !== Webfan.c.website.darkmode.enabled){
return;
}
(new Webfan.Darkmode(Webfan.c.website.darkmode.options)).showWidget();
}catch(err){
console.warn(err);
}
}
Comments
The darkmode/toggle was now enabled on this website too.
To disable:
‘website.darkmode.enabled=false’