Closed Toby222 closed 4 years ago
Fair point. But how do you propose we fix this? The sidebar needs a transition for the toggle to be smooth. This unfortunately makes it slow during dark mode toggles.
Not sure about the text outside of the card though.
By giving everything else the same transition speed, or adjusting the sidebar to be quicker? The problem isn't the transition, just the difference in speed between some elements.
The text I mentioned is black-on-black for a moment when switching to dark theme, so the text transitions slower than the background
Giving everything the same transition is a bad idea. You would get a delay on mundane things like the hover and focus effects on button. And the difference in speed is precisely why the sidebar toggle is so snappy. I think there might be a possible solution to this, but it would require JavaScript. Removing all the transitions is another way.
Maybe just adjust the transition speed for the necessary properties then?
@toman222 Fixed in v1.1.0: https://www.gethalfmoon.com/docs/introduction/
I will go ahead and close this issue. You can re-open it if you think the issue is still not resolved, or open another issue.
Seen on Google Chrome, at the Introduction page of the Docs Toggling between dark and light theme shows that some elements have different transition speeds. The sidebar is clearly slower than the rest of the page, and the text outside of cards transitions slower than that inside