Wowchemy-hugo-modules: Dark/Light themes overlap

Created on 25 Aug 2020  路  6Comments  路  Source: wowchemy/wowchemy-hugo-modules

Thank you for your work on this wonderful project!

I have noticed that when I load my page the page is in dark mode for 1-2 seconds and then it goes to light mode as expected. Strange enough I have this behaviour in Mozilla Firefox 79.0 on GNU/Linux but not in Google Chrome.

Also it doesn't not happen locally i.e. when I run ./view.sh the page is always light on reload

I disabled day/night

day_night = false

and I build my website using hugo command and host it on GitHub pages.

Here is this website https://ivantishchenko.github.io/ you can try to open it with Firefox on GNU/Linux.

bug

Most helpful comment

Thanks. I found a typo causing not all the new code to run. Fixed and tested the issue. If you update to the latest master after the time of this comment, it should be working as expected (fixed the typo in e034f7782e00cdbfc214736976c123da0ec31eb6 ).

All 6 comments

This may be related to this. I also have day/night disabled.

Thanks for reporting the issue with day_night = false.

This issue should now be fixed by 70cbc5b90ae8e753c8ef549d4ab2bfe84ccabb8d

This may be related to this. I also have day/night disabled.

I'm afraid this is still happening even after updating to the latest master

Thanks. I found a typo causing not all the new code to run. Fixed and tested the issue. If you update to the latest master after the time of this comment, it should be working as expected (fixed the typo in e034f7782e00cdbfc214736976c123da0ec31eb6 ).

Thanks. I found a typo causing not all the new code to run. Fixed and tested the issue. If you update to the latest master after the time of this comment, it should be working as expected (fixed the typo in e034f77 ).

Fixed! Thanks a lot, awesome work!

@gcushen I can also confirm that the flickering is gone in Firefox on GNU/Linux. Thank you. Keep up all the great work!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

somnathrakshit picture somnathrakshit  路  3Comments

brianguay picture brianguay  路  4Comments

chris-prener picture chris-prener  路  3Comments

ivlis picture ivlis  路  4Comments

HughP picture HughP  路  4Comments