Render Flow - Why dark mode improves user experience
[User toggles dark mode] -> [Tailwind applies dark: classes] -> [Background and text colors change] -> [Browser repaints screen] -> [User sees dark theme]
When the user switches to dark mode, Tailwind applies special dark: prefixed classes that change colors. The browser repaints the page with new colors, improving visual comfort.