From abb545b5875d89868df852cf68f35d0986047342 Mon Sep 17 00:00:00 2001 From: Vladimir Rubin Date: Mon, 2 Dec 2024 17:31:03 +0200 Subject: [PATCH] fix: dark mode on edit and add --- lib/exmr_web/components/core_components.ex | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/exmr_web/components/core_components.ex b/lib/exmr_web/components/core_components.ex index 63fb4a2..b55293d 100644 --- a/lib/exmr_web/components/core_components.ex +++ b/lib/exmr_web/components/core_components.ex @@ -48,9 +48,13 @@ defmodule ExmrWeb.CoreComponents do phx-mounted={@show && show_modal(@id)} phx-remove={hide_modal(@id)} data-cancel={JS.exec(@on_cancel, "phx-remove")} - class="relative z-50 hidden" + class="relative z-50 hidden bg-zinc-50/90 dark:bg-zinc-950" > -