Page 3 of 3

Re: [3.2][DEV] Dark Mode

Posted: Mon Aug 12, 2019 9:56 pm
by Aurelienazerty
Yes maybe, and do a F5 for reload the CSS (to be sure)

Re: [3.2][DEV] Dark Mode

Posted: Mon Aug 12, 2019 11:46 pm
by 3Di
Aurelienazerty wrote:
Mon Aug 12, 2019 9:56 pm
Yes maybe, and do a F5 for reload the CSS (to be sure)
I mean, in your code.

Try calling the $this->cache->purge(); method at every switch.

Re: [3.2][DEV] Dark Mode

Posted: Tue Aug 13, 2019 9:16 pm
by Aurelienazerty
Ok, but the switch (Dark / Light mode) doesn't need a cache purge : Javascript put a class on top element (body tag) that's apply CSS.

The purge is for seing the hot fix discribed here.