Fix flash colors in dark mode

This commit is contained in:
Claudio Ortolina
2024-12-29 21:04:39 +00:00
parent 85b403817f
commit 65b4f5c06b
2 changed files with 8 additions and 7 deletions
@@ -123,7 +123,8 @@ defmodule MusicLibraryWeb.CoreComponents do
"fixed top-2 right-2 mr-2 w-80 sm:w-96 z-50 rounded-md shadow-md p-3 ring-1 ring-zinc-400 border-l-2",
@kind == :info &&
"border-l-emerald-500 bg-white dark:bg-zinc-700 text-emerald-700 dark:text-emerald-300",
@kind == :error && "border-l-red-500 bg-white text-rose-900"
@kind == :error &&
"border-l-red-500 bg-white dark:bg-zinc-700 text-red-900 dark:text-red-300"
]}
{@rest}
>