Customize Default Theme Tabler Colors #940
-
Hello, https://github.com/Laravel-Backpack/theme-tabler/blob/main/resources/assets/css/colors.css Is creating a new theme the correct way, following the guide: https://backpackforlaravel.com/docs/6.x/add-ons-tutorial-how-to-create-a-theme? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Hey @mariovillani Steps
/**
* Here you can easily load your own extra css styles.
* Note: if you want to customize the style to create your own custom skin colors:
* - make a copy of the file "vendor/backpack/theme-tabler/resources/assets/css/colors.css" into your project
* - adjust colors variables as you wish
* - replace "base_path('vendor/backpack/theme-tabler/resources/assets/css/colors.css')," with the path to the file created above
* - boom!
*/
'styles' => [
base_path('vendor/backpack/theme-tabler/resources/assets/css/color-adjustments.css'),
base_path('vendor/backpack/theme-tabler/resources/assets/css/colors.css'),
], |
Beta Was this translation helpful? Give feedback.
-
@karandatwani92 thanks for the answer. i've copied the two files under When testing in local environment, CSS files get replaced by the blank ones i've chosen. Am i doing something wrong? I've also updated basset cache using |
Beta Was this translation helpful? Give feedback.
-
Hey @mariovillani I tested it on production; it is working for me. 'styles' => [
], |
Beta Was this translation helpful? Give feedback.
Hey @mariovillani
Steps
php artisan vendor:publish --tag="theme-tabler-config"
styles
attribute ofconfig/backpack/theme-tabler.php