I have a simple JavaScript light/dark mode button but I don\'t know how to make the transition ease out as well as in. Here\'s the CSS:
.night-mode { backgrou