From 94bc755dd8bc4751279bdc4235c5ef6fbc3f8005 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Wed, 4 Mar 2026 13:57:12 -0600 Subject: [PATCH] fix: add dark mode support to marketing site Add dark: variants throughout the marketing page and layout so text, backgrounds, cards, badges, and borders render properly when the system or user preference is set to dark mode. Use invert + screen blend mode on the logo PNG to eliminate its white background. --- .../components/marketing_layouts.ex | 42 ++-- .../controllers/page_html/home.html.heex | 190 ++++++++++-------- 2 files changed, 134 insertions(+), 98 deletions(-) diff --git a/lib/towerops_web/components/marketing_layouts.ex b/lib/towerops_web/components/marketing_layouts.ex index 1a30a03b..ecc3e890 100644 --- a/lib/towerops_web/components/marketing_layouts.ex +++ b/lib/towerops_web/components/marketing_layouts.ex @@ -30,20 +30,24 @@ defmodule ToweropsWeb.MarketingLayouts do assigns = Map.put(assigns, :requires_cookie_consent, requires_cookie_consent) ~H""" -
+