Pro Component — This feature is part of the Aura Filament package.
Overview
Aura Filament ships a branded markdown mail theme so your transactional and notification emails match the Aura look: rounded buttons, the violet/indigo primary, soft shadows, and clean typography. It plugs into Laravel's native markdown mail system — no custom Mailables required.
Setup
Publish the theme:
php artisan vendor:publish --tag=aura-filament-mail
This writes resources/views/vendor/mail/html/themes/aura.css. Then select it as the active markdown mail theme in config/mail.php:
'markdown' => [
'theme' => 'aura',
'paths' => [resource_path('views/vendor/mail')],
],
Or via your .env if you bind the config to an env var:
MAIL_MARKDOWN_THEME=aura
Usage
Any markdown mailable now renders with the Aura theme:
use Illuminate\Mail\Mailable;
class WelcomeMail extends Mailable
{
public function content(): \Illuminate\Mail\Mailables\Content
{
return new \Illuminate\Mail\Mailables\Content(
markdown: 'mail.welcome',
);
}
}
{{-- resources/views/mail/welcome.blade.php --}}
<x-mail::message>
# Welcome aboard
We're glad you're here.
<x-mail::button :url="$url" color="primary">
Get started
</x-mail::button>
Thanks,<br>
{{ config('app.name') }}
</x-mail::message>
The button colors map to the Aura palette: primary (violet), success (green), error (red).
Customising
The theme is plain CSS — edit the published aura.css to change the primary color, button radius, or panel accent. Because Laravel inlines the CSS into the email, keep selectors to the standard markdown mail classes (.button, .panel, .table, .inner-body, …).