No colour flash when switching between light and dark mode
Switching the wiki between light and dark mode now changes the whole page at once. Before, the search box changed colour a moment later.
The problem
When a reader switched the wiki between light and dark mode, the search box changed colour a quarter of a second after the rest of the page, because of a slow colour animation on it.
What I changed
While the theme changes, the page turns off all colour animations for a moment, applies the new colours, then turns them back on. Three new tests check this, and two of them fail without the fix.
Related contributions
- In review
More space between the links at the top right
The "Create account" and "Log in" links have more room between them, so they are easier to tell apart and to tap.