iluwatar/java-design-patterns-vuepress-web

Theme button

GiulioBernardi opened this issue · 2 comments

The theme button is having a strange behaviour when clicked.
It looks like it initial state is the oposite one that is beeing applied to the website, and then when you change it, it does not apply any theme changes because theme is already applied.

Gif bellow
button-state

I think the initial state is "automatic". It switches between light and dark modes based on the time of day. The other states are light and dark.

Well. It makes sense now that you said about the time of day based behaviour.