Change badge colours for scrobble rule type

This commit is contained in:
Claudio Ortolina
2025-07-07 09:16:46 +01:00
parent f57485e509
commit fbac011e76
@@ -107,8 +107,8 @@ defmodule MusicLibraryWeb.ScrobbleRulesLive.Index do
defp type_badge(assigns) do
~H"""
<.badge :if={@type == :album} color="green">{gettext("Album")}</.badge>
<.badge :if={@type == :artist} color="blue">{gettext("Artist")}</.badge>
<.badge :if={@type == :album} color="red">{gettext("Album")}</.badge>
<.badge :if={@type == :artist} color="cyan">{gettext("Artist")}</.badge>
"""
end