4 ms·Night or Day: How to detect a user’s preferred color scheme in JavaScript2 points by jexp 8y ago