From fc0818678cee543191efedb2ba02e345bda662b1 Mon Sep 17 00:00:00 2001 From: Thelonius Kort Date: Tue, 28 Feb 2023 21:38:11 +0100 Subject: [PATCH] Add dark mode styling to form elements --- lib/outlook_web/components/core_components.ex | 20 ++++++++++++------- .../components/tunit_editor_component.ex | 2 +- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/lib/outlook_web/components/core_components.ex b/lib/outlook_web/components/core_components.ex index 464c302..80c82aa 100644 --- a/lib/outlook_web/components/core_components.ex +++ b/lib/outlook_web/components/core_components.ex @@ -191,7 +191,7 @@ defmodule OutlookWeb.CoreComponents do def simple_form(assigns) do ~H""" <.form :let={f} for={@for} as={@as} {@rest}> -
+
<%= render_slot(@inner_block, f) %>
<%= render_slot(action, f) %> @@ -220,8 +220,9 @@ defmodule OutlookWeb.CoreComponents do