We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a25585 commit 791f8eaCopy full SHA for 791f8ea
src/Illuminate/Mail/Mailable.php
@@ -2,6 +2,7 @@
2
3
namespace Illuminate\Mail;
4
5
+use Illuminate\Config\Repository as ConfigRepository;
6
use Illuminate\Container\Container;
7
use Illuminate\Contracts\Filesystem\Factory as FilesystemFactory;
8
use Illuminate\Contracts\Mail\Attachable;
@@ -325,7 +326,12 @@ protected function buildMarkdownView()
325
326
$markdown = Container::getInstance()->make(Markdown::class);
327
328
if (isset($this->theme)) {
- $markdown->theme($this->theme);
329
+ $markdown->theme(
330
+ $this->theme,
331
+ Container::getInstance()
332
+ ->get(ConfigRepository::class)
333
+ ->get('mail.markdown.theme', 'default')
334
+ );
335
}
336
337
$data = $this->buildViewData();
0 commit comments