Update the back component to show white text if dark theme is turn on.

dev
KKlochko 5 months ago
parent f2a6af8366
commit 9c2b596942

@ -624,7 +624,7 @@ defmodule DecentralisedBookIndexWeb.CoreComponents do
<div class="mt-16">
<.link
navigate={@navigate}
class="text-sm font-semibold leading-6 text-zinc-900 hover:text-zinc-700"
class="text-sm font-semibold leading-6 text-zinc-900 hover:text-zinc-700 dark:text-white dark:hover:text-white/70"
>
<.icon name="hero-arrow-left-solid" class="h-3 w-3" />
{render_slot(@inner_block)}

Loading…
Cancel
Save