Skip to content
Snippets Groups Projects
Commit 9548337a authored by Jonas S's avatar Jonas S Committed by Yassine Doghri
Browse files

feat: apply colour theme to embed player

closes #201
parent 0d980012
No related branches found
No related tags found
No related merge requests found
......@@ -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', [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment