Is this still the solution for checking for dark mode?

Coincidently, this is something we’ve been discussing internally this week! Couple of proof-of-concept PRs are here:

Note these are just experiments to help with our thinking - there’s no guarantee either will be merged.

As for ‘right now’, the best bet is probably to use the <LightDarkImg component like this:

8 Likes