bolt

On this page

Compiling assets

We use Tailwind CSS and custom Filament themes. If you are using Tailwind CSS v4, class scanning is configured from your CSS entry file using @source (instead of the old tailwind.config.js content array).

Custom Classes

Add these source paths to your app stylesheet (for example resources/css/app.css):

  • frontend:
1@import "tailwindcss";
2 
3@source "../../vendor/lara-zeus/core/resources/views/**/*.blade.php";
4@source "../../vendor/lara-zeus/bolt/resources/views/themes/**/*.blade.php";
  • filament:
1@import "tailwindcss";
2 
3@source "../../vendor/lara-zeus/bolt/resources/views/filament/**/*.blade.php";
4@source "../../vendor/lara-zeus/accordion/resources/views/**/*.blade.php";

Note
In Tailwind CSS v4, keep these @source rules in the CSS file(s) actually used by your Vite build.

Customizing the Frontend Views

First, publish the config file:

1php artisan vendor:publish --tag=zeus-config

Then change the default layout in the file zeus.php:

1'layout' => 'components.layouts.app',
2// this is assuming your layout on the folder `resources/views/components/layouts/app`

This will give you full control for the assets files and the header and the footer.

If needed, you can publish the blade views for all zeus packages:

1php artisan vendor:publish --tag=zeus-views

Zeus is an open-source project. Thanks to my sponsors for helping me maintain this project.