Dragan Espenschieddespens@post.lurk.org
Oct 20, 2026, 11:13 AMI'm trying to understand why some websites use some Javascript to check if the user has Dark Mode switched on, instead of just using CSS?
I'm trying to understand why some websites use some Javascript to check if the user has Dark Mode switched on, instead of just using CSS?
Perhaps it is because the main concern of many developers is not to load a full stylesheet, but only the classes they currently need?