From 9bb157f3f029b97ec2ddc790482cfae1bfb0bdd9 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Sun, 10 May 2026 22:32:48 +0100 Subject: [PATCH] Move body-text muted callers to the semantic token MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A handful of helper texts, descriptions, and side counts used text-slate-500 directly, so they didn't pick up the contrast fix in e4f38d5. Switch each body-text caller to text-muted: AI settings dialog helper text, AI provider helper text and link rows, ResourcePicker empty-state copy / resource IDs / "+N more tags" / "N selected" footer, AIModelSelectionSection "(loading...)" tag, ConfiguredNodeTables cluster node count, and the PatrolIntelligenceHeader plan-restriction note. Live contrast measurement after the change: every visible muted-style text on the Patrol page now reads between 6.92 and 7.58 on its resolved background — well above the WCAG AA 4.5 floor it was missing on bg-surface-alt. Icon-tint usages of text-slate-500 (Lucide icons, chevron rotations, hover-state controls) are left as-is — those are deliberate color choices, not muted-text intent. --- .../components/Settings/AIModelSelectionSection.tsx | 2 +- .../Settings/AIProviderConfigurationSection.tsx | 4 ++-- .../src/components/Settings/AISettingsDialogs.tsx | 4 ++-- .../src/components/Settings/ConfiguredNodeTables.tsx | 2 +- .../src/components/Settings/ResourcePicker.tsx | 10 +++++----- .../src/features/patrol/PatrolIntelligenceHeader.tsx | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/frontend-modern/src/components/Settings/AIModelSelectionSection.tsx b/frontend-modern/src/components/Settings/AIModelSelectionSection.tsx index 87ab63fc8..676197085 100644 --- a/frontend-modern/src/components/Settings/AIModelSelectionSection.tsx +++ b/frontend-modern/src/components/Settings/AIModelSelectionSection.tsx @@ -184,7 +184,7 @@ export const AIModelSelectionSection: Component =
- + {props.selected().length} selected = maxSelection()}> (max) diff --git a/frontend-modern/src/features/patrol/PatrolIntelligenceHeader.tsx b/frontend-modern/src/features/patrol/PatrolIntelligenceHeader.tsx index 82301d85d..b464fd4f5 100644 --- a/frontend-modern/src/features/patrol/PatrolIntelligenceHeader.tsx +++ b/frontend-modern/src/features/patrol/PatrolIntelligenceHeader.tsx @@ -372,7 +372,7 @@ export function PatrolIntelligenceHeader(props: { state: PatrolIntelligenceState -
+
Investigation and safe remediation workflows are not enabled on this plan.