Henry
Henry

Reputation: 31

"Dark mode" on Laravel 6 exception page

enter image description here

How to activate "Dark mode" in Laravel 6 Ignition (exception page)?

Upvotes: 1

Views: 1409

Answers (3)

Waseem Alhabash
Waseem Alhabash

Reputation: 511

Simply add this line to your .env file :

IGNITION_THEME=dark

Upvotes: 2

Muhaddis
Muhaddis

Reputation: 554

Publish the config files if not already exists.

php artisan vendor:publish --provider="Facade\Ignition\IgnitionServiceProvider" --tag="ignition-config"

Then, in the config/ignition.php set 'theme' => env('IGNITION_THEME', 'dark'),

Upvotes: 6

Sehdev
Sehdev

Reputation: 5662

As per the Laravel 6 Ignition documentation. You can activate it by changing theme key of the ignition config file from light to dark

You can configure a theme in the theme key of the ignition config file. Out of the box there are two beautiful themes supported named light and dark

Ignition for Laravel -> Configuration -> Theme support

Upvotes: 5

Related Questions