From 253657280b4191e11e5a7051d7b3b691e531cee1 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Tue, 23 Jun 2026 12:26:57 -0500 Subject: [PATCH] Revert "refactor: apply custom color palette across entire codebase" This reverts commit 5a7cdc7138f5db0360d86e014b49dfa371ffe11e. --- lib/towerops_web/components/consent_prompt.ex | 26 +- lib/towerops_web/components/cookie_consent.ex | 10 +- .../components/core_components.ex | 120 +- lib/towerops_web/components/layouts.ex | 150 +- .../components/layouts/root.html.heex | 2 +- .../components/marketing_layouts.ex | 2 +- lib/towerops_web/components/skeletons.ex | 57 +- .../controllers/api_docs_html/index.html.heex | 1226 +++++++------- .../controllers/error_html/404.html.heex | 6 +- .../controllers/error_html/500.html.heex | 6 +- .../graphql_docs_html/index.html.heex | 184 +-- .../controllers/page_html/home.html.heex | 93 +- .../controllers/page_html/privacy.html.heex | 92 +- .../controllers/page_html/terms.html.heex | 158 +- .../user_registration_html/new.html.heex | 54 +- .../user_reset_password_html/new.html.heex | 2 +- .../user_session_html/confirm.html.heex | 2 +- .../user_session_html/new.html.heex | 42 +- .../user_session_html/totp.html.heex | 4 +- .../user_settings_html/edit.html.heex | 28 +- .../user_sudo_html/verify.html.heex | 4 +- .../live/account_live/activity.ex | 48 +- lib/towerops_web/live/account_live/my_data.ex | 260 ++- .../live/account_live/totp_enrollment.ex | 80 +- lib/towerops_web/live/activity_feed_live.ex | 42 +- .../live/activity_feed_live.html.heex | 68 +- .../live/admin/agent_live/index.html.heex | 34 +- .../live/admin/audit_live/index.ex | 120 +- .../live/admin/dashboard_live.html.heex | 72 +- .../live/admin/monitoring_live.ex | 6 +- .../live/admin/monitoring_live.html.heex | 166 +- .../live/admin/org_live/index.html.heex | 41 +- .../live/admin/security_live/index.html.heex | 48 +- .../live/admin/user_live/index.html.heex | 8 +- .../live/agent_live/edit.html.heex | 20 +- lib/towerops_web/live/agent_live/helpers.ex | 12 +- .../live/agent_live/index.html.heex | 107 +- lib/towerops_web/live/agent_live/show.ex | 6 +- .../live/agent_live/show.html.heex | 152 +- lib/towerops_web/live/alert_live/index.ex | 8 +- .../live/alert_live/index.html.heex | 161 +- .../live/check_live/form_component.ex | 24 +- .../components/global_search_component.ex | 26 +- lib/towerops_web/live/config_timeline_live.ex | 4 +- .../live/coverage_live/form.html.heex | 35 +- lib/towerops_web/live/coverage_live/index.ex | 12 +- .../live/coverage_live/index.html.heex | 64 +- .../live/coverage_live/map.html.heex | 84 +- lib/towerops_web/live/coverage_live/show.ex | 16 +- .../live/coverage_live/show.html.heex | 105 +- lib/towerops_web/live/dashboard_live.ex | 31 +- .../live/dashboard_live.html.heex | 378 ++--- .../live/device_live/form.html.heex | 120 +- .../live/device_live/helpers/formatters.ex | 17 +- lib/towerops_web/live/device_live/index.ex | 34 +- .../live/device_live/index.html.heex | 184 +-- lib/towerops_web/live/device_live/show.ex | 16 +- .../live/device_live/show.html.heex | 1448 ++++++++--------- .../escalation_policy_live/form.html.heex | 14 +- .../escalation_policy_live/index.html.heex | 32 +- .../escalation_policy_live/show.html.heex | 70 +- .../live/graph_live/show.html.heex | 36 +- lib/towerops_web/live/help_live/index.ex | 984 ++++++----- lib/towerops_web/live/insights_live/index.ex | 19 +- .../live/insights_live/index.html.heex | 188 +-- .../live/maintenance_live/form.html.heex | 32 +- .../live/maintenance_live/index.html.heex | 64 +- .../live/maintenance_live/show.html.heex | 42 +- .../live/map_live/index.html.heex | 73 +- .../mikrotik_backup_live/compare.html.heex | 77 +- lib/towerops_web/live/mobile_qr_live.ex | 62 +- .../live/network_map_live.html.heex | 246 ++- .../live/onboarding_live.html.heex | 93 +- .../live/org/gaiia_mapping_live.html.heex | 122 +- .../org/gaiia_reconciliation_live.html.heex | 234 ++- .../live/org/integrations_live.html.heex | 173 +- .../live/org/preseem_devices_live.ex | 4 +- .../live/org/preseem_devices_live.html.heex | 97 +- .../live/org/preseem_insights_live.ex | 8 +- .../live/org/preseem_insights_live.html.heex | 91 +- .../live/org/settings_live.html.heex | 290 ++-- .../live/org_live/index.html.heex | 15 +- lib/towerops_web/live/reports_live.ex | 9 +- lib/towerops_web/live/reports_live.html.heex | 80 +- lib/towerops_web/live/rf_link_health_live.ex | 31 +- .../live/rf_link_health_live.html.heex | 133 +- .../live/schedule_live/form.html.heex | 6 +- .../live/schedule_live/index.html.heex | 88 +- .../live/schedule_live/show.html.heex | 162 +- .../live/site_live/form.html.heex | 109 +- lib/towerops_web/live/site_live/index.ex | 25 +- .../live/site_live/index.html.heex | 82 +- lib/towerops_web/live/site_live/show.ex | 47 +- .../live/site_live/show.html.heex | 200 ++- lib/towerops_web/live/status_page_live.ex | 20 +- .../live/status_page_live.html.heex | 50 +- lib/towerops_web/live/trace_live/index.ex | 57 +- .../live/trace_live/index.html.heex | 213 ++- .../live/user_registration_live.ex | 32 +- .../live/user_reset_password_live.ex | 10 +- .../live/user_settings_live.html.heex | 515 +++--- .../live/weathermap_live.html.heex | 234 ++- .../config_timeline_live_helpers_test.exs | 13 +- .../live/site_live/index_helpers_test.exs | 42 +- 104 files changed, 5476 insertions(+), 6073 deletions(-) diff --git a/lib/towerops_web/components/consent_prompt.ex b/lib/towerops_web/components/consent_prompt.ex index 1931af85..29c8a7eb 100644 --- a/lib/towerops_web/components/consent_prompt.ex +++ b/lib/towerops_web/components/consent_prompt.ex @@ -25,27 +25,27 @@ defmodule ToweropsWeb.Components.ConsentPrompt do >
-
+
-
+
-
+
<.icon name="hero-information-circle" - class="h-6 w-6 text-cerulean-600 dark:text-cerulean-400" + class="h-6 w-6 text-blue-600 dark:text-blue-400" />
-

+

{gettext( "We've updated our policies. Please review and accept the changes to continue using Towerops." )} @@ -62,31 +62,31 @@ defmodule ToweropsWeb.Components.ConsentPrompt do phx-click="toggle_consent" phx-value-policy={policy_type} required - class="h-4 w-4 rounded border-zinc-300 text-cerulean-600 focus:ring-cerulean-500 dark:border-zinc-600 dark:bg-zinc-800 dark:checked:bg-cerulean-500 dark:checked:border-cerulean-500" + class="h-4 w-4 rounded border-zinc-300 text-blue-600 focus:ring-blue-500 dark:border-zinc-600 dark:bg-zinc-800 dark:checked:bg-blue-500 dark:checked:border-blue-500" />

<% end %>
-
-

+

+

{gettext( "By accepting, you acknowledge that you have read and agree to the updated policies. You can review your consent history at any time from your account settings." )} @@ -100,7 +100,7 @@ defmodule ToweropsWeb.Components.ConsentPrompt do type="button" phx-click="accept_updated_policies" phx-value-user-id={@user_id} - class="inline-flex w-full justify-center rounded-md bg-cerulean-600 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-cerulean-500 sm:ml-3 sm:w-auto disabled:opacity-50 disabled:cursor-not-allowed" + class="inline-flex w-full justify-center rounded-md bg-blue-600 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-blue-500 sm:ml-3 sm:w-auto disabled:opacity-50 disabled:cursor-not-allowed" id="accept-policies-button" > {gettext("Accept and Continue")} diff --git a/lib/towerops_web/components/cookie_consent.ex b/lib/towerops_web/components/cookie_consent.ex index 96c570b5..eb845824 100644 --- a/lib/towerops_web/components/cookie_consent.ex +++ b/lib/towerops_web/components/cookie_consent.ex @@ -28,7 +28,7 @@ defmodule ToweropsWeb.Components.CookieConsent do <%= if @requires_consent do %>