From fbac011e76f11ba2a51ad8f1056bb48d9994ff22 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Mon, 7 Jul 2025 09:16:46 +0100 Subject: [PATCH] Change badge colours for scrobble rule type --- lib/music_library_web/live/scrobble_rules_live/index.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/music_library_web/live/scrobble_rules_live/index.ex b/lib/music_library_web/live/scrobble_rules_live/index.ex index ea12b090..2797e487 100644 --- a/lib/music_library_web/live/scrobble_rules_live/index.ex +++ b/lib/music_library_web/live/scrobble_rules_live/index.ex @@ -107,8 +107,8 @@ defmodule MusicLibraryWeb.ScrobbleRulesLive.Index do defp type_badge(assigns) do ~H""" - <.badge :if={@type == :album} color="green">{gettext("Album")} - <.badge :if={@type == :artist} color="blue">{gettext("Artist")} + <.badge :if={@type == :album} color="red">{gettext("Album")} + <.badge :if={@type == :artist} color="cyan">{gettext("Artist")} """ end