Skip to content
Raphael Ndwiga edited this page Feb 20, 2017 · 3 revisions

Caffeinated Themes comes bundled with a config file that you may publish and customize.

Publishing The Config File

To publish the bundled config file, simply run Laravel's vendor:publish Artisan command:

php artisan vendor:publish

This will copy the bundled config file to config/themes.php together with other vendor files. If you just want to publish Caffeinated Themes config file, run Artisan command:

php artisan vendor:publish --provider="Caffeinated\Themes\ThemesServiceProvider"

Configuration Options

Default Active Theme

Allows you to define the default active theme, if a theme is not manually set during runtime.

'active' => 'bootstrap'

Themes Path

Allows you to define the location in which your themes can be found.

'path' => public_path('themes')