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.)
Asked
Active
Viewed 1,476 times
5
2 Answers
1
In file tailwind.config.js
Add
module.exports = {
darkMode: 'class',
// ...
}
More info in tailwind documentation

Gabriel Novaes
- 51
- 9
-3
If you want to disable dark mode completely just reinstall with
php artisan breeze:install
This reruns the install procedure and you can now avoid to install dark mode.
Be aware this will overwrite some files related to Breeze.

Andreas
- 247
- 4
- 12
-
My question says without reinstalling Breeze, thanks. – lordyhas Jun 25 '23 at 17:13