From 8e799d1358cdf0dd577258e01ccad5abdd2d67d0 Mon Sep 17 00:00:00 2001 From: "Abdallah Ebrahim (dracula)" Date: Thu, 11 Jun 2026 01:20:22 +0300 Subject: [PATCH] fix: stardance h1 colors are broken in light mode --- app/frontend/stylesheets/snippets/sidebar.scss | 6 ++++++ app/views/layouts/logged_out.html.erb | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/frontend/stylesheets/snippets/sidebar.scss b/app/frontend/stylesheets/snippets/sidebar.scss index 17c679c0..b3b1ab3e 100644 --- a/app/frontend/stylesheets/snippets/sidebar.scss +++ b/app/frontend/stylesheets/snippets/sidebar.scss @@ -398,6 +398,12 @@ } } +.scenario-stardance .page-header-centered { + h1 { color: #ffffff !important; } + p { color: rgba(255, 255, 255, 0.9) !important; } + .text-muted { color: rgba(255, 255, 255, 0.7) !important; } +} + // Common card and list layouts .card-list { display: grid; diff --git a/app/views/layouts/logged_out.html.erb b/app/views/layouts/logged_out.html.erb index d1bd0821..604d0cd3 100644 --- a/app/views/layouts/logged_out.html.erb +++ b/app/views/layouts/logged_out.html.erb @@ -27,7 +27,7 @@ body_style = content_for?(:body_style) ? yield(:body_style) : nil portal_scenario = respond_to?(:portal_onboarding_scenario) ? portal_onboarding_scenario : nil %> - > + " hx-headers='{"X-CSRF-Token": "<%= form_authenticity_token %>"}' hx-boost="false"<%= " style=\"#{body_style}\"".html_safe if body_style %>> <%= render "shared/scenario_background_style", scenario: portal_scenario %> <% if content_for?(:portal_wrapper) %>