79635654

Date: 2025-05-23 13:59:09
Score: 1.5
Natty:
Report link

Solution 1 from @rozsazoltan is very effective.

Actually to use dark:inline with Astro & Vite, you should just add to your CSS file:

@custom-variant dark (&:where(.dark, .dark *));

Good luck!

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @rozsazoltan
  • Low reputation (0.5):
Posted by: Guillaume Duhan