plausible / docs

Documentation for Plausible Analytics
https://plausible.io/docs
Creative Commons Attribution Share Alike 4.0 International
212 stars 194 forks source link

Can I force light mode on shared dashboard? #366

Closed BernhardBaumrock closed 1 year ago

BernhardBaumrock commented 1 year ago

I've developed a module to integrate the plausible dashboard into the ProcessWire CMS: https://processwire.com/talk/topic/27322-rockanalytics-gdpr-compliant-google-analytics-alternative-for-processwire/

Now the problem is that the dashboard shows up in dark mode if the user's operating system is set to dark mode: img

Can I prevent that somehow or could you add a feature to support ?mode=light in the dashboard url?

Also I'm not sure why the dashboard shows up in full width now. In an older version it has some space to the left and right:

image

Thx for your help!

metmarkosaric commented 1 year ago

thanks for reaching out @BernhardBaumrock!

you can change the color https://plausible.io/docs/embed-dashboard#2-generate-the-embed-code

and you can also change the width: https://plausible.io/docs/embed-dashboard#manual-width-mode