blitz-js / blitzjs.com

Website & docs
https://blitzjs.com
MIT License
179 stars 331 forks source link

Inconsistent Theme Switcher #66

Closed robdrosenberg closed 4 years ago

robdrosenberg commented 4 years ago

The theme switcher does not alternate positions consistently across different browsers.

I tested on Chrome and had the following result.

CleanShot 2020-05-25 at 18 31 41

@aem Tested on firefox and had the same issue.

Expected behavior:

When the site is in light mode, the radial button should be on the left and display the sun. When the site is in dark mode, the radial button should be on the right and display the moon.

flybayer commented 4 years ago

@robdrosenberg I'm 95% sure this is a cache issue for you because the header bar is dark which means you still have the old docusaurus theme stuff hanging in your browser. You need to clear your local storage.

robdrosenberg commented 4 years ago

Tested it on Firefox and Safari and did not see the issue. Cleared my local storage and is working now on Chrome.