Reputation: 31
How to activate "Dark mode" in Laravel 6 Ignition (exception page)?
Upvotes: 1
Views: 1409
Reputation: 511
Simply add this line to your .env file :
IGNITION_THEME=dark
Upvotes: 2
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
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 namedlight
anddark
Ignition for Laravel -> Configuration -> Theme support
Upvotes: 5