From 64354d4e97d99d132b37c39300052b76e726007c Mon Sep 17 00:00:00 2001 From: Steffen Deusch Date: Wed, 6 May 2026 16:17:40 +0200 Subject: [PATCH] Ensure Tailwind dark: variant works with system theme Closes https://github.com/phoenixframework/phoenix/issues/6433. Closes https://github.com/phoenixframework/phoenix/pull/6432. --- .../templates/phx_web/components/layouts.ex.eex | 2 +- .../phx_web/components/layouts/root.html.heex.eex | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/installer/templates/phx_web/components/layouts.ex.eex b/installer/templates/phx_web/components/layouts.ex.eex index df3ccfa7fa..1a7d568533 100644 --- a/installer/templates/phx_web/components/layouts.ex.eex +++ b/installer/templates/phx_web/components/layouts.ex.eex @@ -129,7 +129,7 @@ defmodule <%= @web_namespace %>.Layouts do def theme_toggle(assigns) do ~H"""
-
+