79367632

Date: 2025-01-18 17:18:31
Score: 1
Natty:
Report link

In Laravel 11 with Breeze, tailwind.config.js

/** @type {import('tailwindcss').Config} */
export default {
    //add after existing code...
    darkMode: 'class',
};

Then in your blade layout files toggle dark mode in html class <html class="dark"> and in light mode remove the class

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: kash007