RFFRED
2 days ago
108
6
Laravel

How to style my notifications

Posted 2 days ago by RFFRED

Hi,

I am strugling styling my notifications in Laravel 8. My notification keeps appearing with the default CSS formatting.

code in my notification

 return (new MailMessage)
                ->theme('ck')
                ->subject('Password Reset')
                ->markdown('admin.mail.password.reset', ['url' => $url]);

mail.php


    'markdown' => [
        'theme' => 'default',

        'paths' => [
            resource_path('views/vendor/mail'),
        ],
    ],

My theme file is in resources\views\admin\mail\themes\ck.css

Please sign in or create an account to participate in this conversation.