From 91d1db5d9eaec02d2451bb013ed4d520aa0ee7dc Mon Sep 17 00:00:00 2001 From: Jonas Sulzer <jonas@violoncello.ch> Date: Mon, 30 May 2022 11:47:41 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=8C=20IMPROVE:=20apply=20colour=20them?= =?UTF-8?q?e=20to=20embed=20player?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jonas Sulzer <jonas@violoncello.ch> --- themes/cp_app/embed.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/cp_app/embed.php b/themes/cp_app/embed.php index 3dc10c6139..478e0b2c91 100644 --- a/themes/cp_app/embed.php +++ b/themes/cp_app/embed.php @@ -19,7 +19,8 @@ ->asset('js/embed.ts', 'js') ?> </head> -<body class="flex" style="background: <?= $themeData['background'] ?>; color: <?= $themeData['text'] ?>;"> +<body class="flex theme-<?= service('settings') + ->get('App.theme') ?>" style="background: <?= $themeData['background'] ?>; color: <?= $themeData['text'] ?>;"> <img src="<?= $episode->cover->thumbnail_url ?>" alt="<?= esc($episode->title) ?>" class="flex-shrink w-28 h-28 aspect-square" loading="lazy" /> <div class="flex flex-col items-start flex-1 min-w-0 px-4 pt-4 h-28"> <a href="https://castopod.org/" class="absolute top-0 right-0 mt-1 mr-2 text-2xl text-pine-500 hover:opacity-75" title="<?= lang('Common.powered_by', [ -- GitLab