Themes
Create a new theme
You can easily create a new theme for Uccello. You can do this in three steps.
1. Load css file
Add the following code into the file resources/views/layouts/uccello.blade.php:
...
@section('css')
{!! Html::style(mix('css/app.css')) !!}
@append2. Set the name of your custom theme
Modify the file config/uccello.php to set the name of the custom theme you want to use:
...
'theme' => 'orange', // Name of your custom theme
...If the file config/uccello.php does not exist, please launch the command php artisan vendor:publish --tag=uccello-config
3. Customize your theme
Add the following code into the file resources/saas/app.scss of your project, and configure your own colors:
After modifying, don't forget to compile the SASS code to obtain a new CSS file.
To do this use the command npm run prod .
If necessary execute the command npm install before.
Last updated
Was this helpful?