在 Laravel 5.7 中更改成功、错误和原色的最佳方法是什么?
我有 email.blade.php 通过php artisan vendor:publish --tag=laravel-notifications
...
{{-- Action Button --}}
@isset($actionText)
<?php
switch ($level) {
case 'success':
case 'error':
$color = $level;
break;
default:
$color = 'primary';
}
?>
@component('mail::button', ['url' => $actionUrl, 'color' => $color])
...
模板使用'success'
,'error'
和'primary'
为按钮着色,但我可以在哪里更改它们的值?