Fix buttons/links for scanner modal in dark mode

This commit is contained in:
Claudio Ortolina
2025-02-19 18:58:20 +00:00
parent 4ca6421767
commit 0873b12eed
3 changed files with 11 additions and 9 deletions
@@ -86,7 +86,9 @@ defmodule MusicLibraryWeb.RecordLive.BarcodeScannerComponent do
d="m15.75 10.5 4.72-4.72a.75.75 0 0 1 1.28.53v11.38a.75.75 0 0 1-1.28.53l-4.72-4.72M4.5 18.75h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25h-9A2.25 2.25 0 0 0 2.25 7.5v9a2.25 2.25 0 0 0 2.25 2.25Z"
/>
</svg>
<span class="mt-2 block text-sm font-semibold text-zinc-900">{gettext("Open camera")}</span>
<span class="mt-2 block text-sm font-semibold text-zinc-900 dark:text-zinc-400">
{gettext("Open camera")}
</span>
</button>
"""
end