79606217

Date: 2025-05-05 01:21:03
Score: 1
Natty:
Report link

Add the Custom Variant for Dark Mode: Open your global CSS file (usually styles/globals.css) and add this line at the top of the file. see the docs https://tailwindcss.com/docs/dark-mode

CSS

@import "tailwindcss";
@custom-variant dark (&:where(.dark, .dark *));
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Getachew Muhabaw