From b7d65cf88b0997261e261d28f8f8322da5d9163f Mon Sep 17 00:00:00 2001 From: maebeale Date: Fri, 21 Aug 2026 08:15:12 -0400 Subject: [PATCH] Give the 4 white admin pages the standard admin bg-blue-100 tint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Four admin pages painted their content column white via page_bg_class to blend with the old white body. With the site canvas now cream, plain white read as an odd band, and cream would drop their admin cue. Switch them to bg-blue-100 so they match every other admin page's content tint over the cream canvas. All other bg-white usages are cards/inputs/modals — intended surfaces that stay white. Co-Authored-By: Claude Opus 4.8 (1M context) --- app/views/comments/index.html.erb | 2 +- app/views/events/edit_staff.html.erb | 2 +- app/views/notifications/index.html.erb | 2 +- app/views/people/all_comments.html.erb | 2 +- spec/views/page_bg_class_alignment_spec.rb | 8 ++++---- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/views/comments/index.html.erb b/app/views/comments/index.html.erb index 790be4ece..ba4eed17b 100644 --- a/app/views/comments/index.html.erb +++ b/app/views/comments/index.html.erb @@ -1,4 +1,4 @@ -<% content_for(:page_bg_class, "admin-only bg-white") %> +<% content_for(:page_bg_class, "admin-only bg-blue-100") %>
<%= link_to admin_path, class: "text-sm text-gray-500 hover:text-gray-700" do %> Admin home diff --git a/app/views/events/edit_staff.html.erb b/app/views/events/edit_staff.html.erb index c94ac1692..6e18a829a 100644 --- a/app/views/events/edit_staff.html.erb +++ b/app/views/events/edit_staff.html.erb @@ -1,4 +1,4 @@ -<% content_for(:page_bg_class, "admin-or-owner bg-white") %> +<% content_for(:page_bg_class, "admin-or-owner bg-blue-100") %>
<%# Eyebrow returns to wherever the editor was opened from: a registrant's (or diff --git a/app/views/notifications/index.html.erb b/app/views/notifications/index.html.erb index b3372abe1..e9cb05e45 100644 --- a/app/views/notifications/index.html.erb +++ b/app/views/notifications/index.html.erb @@ -1,4 +1,4 @@ -<% content_for(:page_bg_class, "admin-only bg-white") %> +<% content_for(:page_bg_class, "admin-only bg-blue-100") %> <% return_record = notification_return_record %> <%# Eyebrow: back to the record we came from (a person/registration's "View all"), diff --git a/app/views/people/all_comments.html.erb b/app/views/people/all_comments.html.erb index 70c8d0de4..5d89fca6f 100644 --- a/app/views/people/all_comments.html.erb +++ b/app/views/people/all_comments.html.erb @@ -1,4 +1,4 @@ -<% content_for(:page_bg_class, "admin-only bg-white") %> +<% content_for(:page_bg_class, "admin-only bg-blue-100") %>
<%= link_to person_path(@person), class: "text-sm text-gray-500 hover:text-gray-700" do %> Back to <%= @person.full_name %> diff --git a/spec/views/page_bg_class_alignment_spec.rb b/spec/views/page_bg_class_alignment_spec.rb index f0c5c1e27..c1d174051 100644 --- a/spec/views/page_bg_class_alignment_spec.rb +++ b/spec/views/page_bg_class_alignment_spec.rb @@ -110,8 +110,8 @@ "app/views/allocations/index.html.erb" => "admin-only bg-blue-100", "app/views/other_responses/index.html.erb" => "admin-only bg-blue-100", "app/views/banners/index.html.erb" => "admin-only bg-blue-100", - "app/views/people/all_comments.html.erb" => "admin-only bg-white", - "app/views/comments/index.html.erb" => "admin-only bg-white", + "app/views/people/all_comments.html.erb" => "admin-only bg-blue-100", + "app/views/comments/index.html.erb" => "admin-only bg-blue-100", "app/views/bookmarks/index.html.erb" => "admin-only bg-blue-100", "app/views/categories/index.html.erb" => "admin-only bg-blue-100", "app/views/category_types/index.html.erb" => "admin-only bg-blue-100", @@ -120,7 +120,7 @@ "app/views/events/signins.html.erb" => "admin-or-owner bg-blue-100", "app/views/events/sample_ticket.html.erb" => "admin-or-owner bg-blue-100", "app/views/events/bulk_payments/index.html.erb" => "admin-or-owner bg-blue-100", - "app/views/events/edit_staff.html.erb" => "admin-or-owner bg-white", + "app/views/events/edit_staff.html.erb" => "admin-or-owner bg-blue-100", "app/views/events/recipients.html.erb" => "admin-or-owner bg-blue-100", "app/views/events/registrants.html.erb" => "admin-or-owner bg-blue-100", "app/views/events/roster.html.erb" => "admin-or-owner bg-blue-100", @@ -137,7 +137,7 @@ "app/views/forms/index.html.erb" => "admin-only bg-blue-100", "app/views/forms/show.html.erb" => "admin-only bg-blue-100", "app/views/author_credit_divergences/index.html.erb" => "admin-only bg-blue-100", - "app/views/notifications/index.html.erb" => "admin-only bg-white", + "app/views/notifications/index.html.erb" => "admin-only bg-blue-100", "app/views/notifications/new.html.erb" => "admin-only bg-blue-100", "app/views/organization_statuses/index.html.erb" => "admin-only bg-blue-100", "app/views/quotes/index.html.erb" => "admin-only bg-blue-100",