Reputation: 25691
A customer, sigh, asked to change buttons to standard 'boostrap blue' color.
Could you point me to a guide on which file change and how to recompile theme?
Or tell me if there is a way to override compiled theme without do bad things?
Upvotes: 1
Views: 1037
Reputation: 6193
You can follow this section in the Backpack 4.2 docs to do that. The same also works for Backpack 4.1.
In short, in your config/backpack/base.php
, under styles
you should stop using the standard bundle file and use the blue bundle instead:
'styles' => [
- 'packages/backpack/base/css/bundle.css',
+ 'packages/backpack/base/css/blue-bundle.css',
Make sure you're running Backpack 4.1.57+ for that blue-bundle.css
file to exist. If it still doesn't, re-publish the assets using php artisan vendor:publish --provider="Backpack\CRUD\BackpackServiceProvider" --tag=public --force
Upvotes: 1