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}
>
+6 -6
View File
@@ -11,7 +11,7 @@
msgid ""
msgstr ""
#: lib/music_library_web/components/core_components.ex:504
#: lib/music_library_web/components/core_components.ex:505
#, elixir-autogen, elixir-format
msgid "Actions"
msgstr ""
@@ -69,7 +69,7 @@ msgstr ""
msgid "Error importing record"
msgstr ""
#: lib/music_library_web/components/core_components.ex:160
#: lib/music_library_web/components/core_components.ex:161
#, elixir-autogen, elixir-format
msgid "Error!"
msgstr ""
@@ -90,7 +90,7 @@ msgstr ""
msgid "Genres"
msgstr ""
#: lib/music_library_web/components/core_components.ex:169
#: lib/music_library_web/components/core_components.ex:170
#, elixir-autogen, elixir-format
msgid "Hang in there while we get back on track"
msgstr ""
@@ -243,7 +243,7 @@ msgstr ""
msgid "Showing <b>%{visible}</b> of <b>%{total}</b> records"
msgstr ""
#: lib/music_library_web/components/core_components.ex:164
#: lib/music_library_web/components/core_components.ex:165
#, elixir-autogen, elixir-format
msgid "Something went wrong!"
msgstr ""
@@ -254,7 +254,7 @@ msgstr ""
msgid "Stats"
msgstr ""
#: lib/music_library_web/components/core_components.ex:159
#: lib/music_library_web/components/core_components.ex:160
#, elixir-autogen, elixir-format
msgid "Success!"
msgstr ""
@@ -317,7 +317,7 @@ msgid "You must be logged in to access this page"
msgstr ""
#: lib/music_library_web/components/core_components.ex:81
#: lib/music_library_web/components/core_components.ex:136
#: lib/music_library_web/components/core_components.ex:137
#, elixir-autogen, elixir-format
msgid "close"
msgstr ""