Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to switch from dark mode to light mode after installing breeze in dark mode?

I am using Laravel v10.6.2 (PHP v8.1.0). I installed breeze in dark mode now I want to be able to switch to light mode. Is it possible to change the dark theme of the code generated by breeze? (Note: without reinstalling Breeze.)

like image 600
lordyhas Avatar asked Jan 25 '26 06:01

lordyhas


1 Answers

In file tailwind.config.js

Add

module.exports = {
  darkMode: 'class',
  // ...
}

More info in tailwind documentation

like image 90
Gabriel Novaes Avatar answered Jan 29 '26 13:01

Gabriel Novaes