diff --git a/themes/cp_app/embed.php b/themes/cp_app/embed.php index 3dc10c6139c5bca727a16b21e1d4ee778ee870dd..478e0b2c91ea987f4c715f243a9f80c0828e92fc 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', [