I think this is a great read that underscores how CSS can be quite powerful. In order to build out a night mode version of Hulu, the team got frustrated trying to sort out how to manage the relevant properties throughout their deeply-nested React codebase. Turns out swapping out some CSS variables was a lot easier to implement.

Hat tip to Stu for the insights: