Currently, the colour scheme toggling only works within a browser tab, and switching to a new tab will reset it to the default state.
I had previously resolved this issue by using localStorage instead of sessionStorage in the mode-toggle file. Then, the colour scheme data was also accessible across tabs, leading to a consistent user experience.
Due to the Chirpy v7.2.0 update, the file linked above was refactored into a javascript module in the original template. Now, the same trick of changing data storage type is not working.
Currently, the colour scheme toggling only works within a browser tab, and switching to a new tab will reset it to the default state.
I had previously resolved this issue by using
localStorageinstead ofsessionStoragein themode-togglefile. Then, the colour scheme data was also accessible across tabs, leading to a consistent user experience.Due to the Chirpy v7.2.0 update, the file linked above was refactored into a javascript module in the original template. Now, the same trick of changing data storage type is not working.