From 34b0f2ade9c746b5a7f530905ceda3ba5283d5a7 Mon Sep 17 00:00:00 2001 From: chihlasm Date: Fri, 27 Mar 2026 05:42:08 +0000 Subject: [PATCH] fix: eliminate deprecated cyan, glass-border, and off-palette colors site-wide MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace all rgba(6,182,212,...) cyan focus borders and accents with rgba(249,115,22,...) ember orange across 21+ component files - Remove all var(--glass-border) references (undefined variable) with var(--color-border-default) across 24 files - Remove deprecated blur orbs and glass-morphism effects from SurveyPage, SurveyThankYouPage, and LoginPage - Migrate landing.css from hardcoded hex to CSS custom properties (~97 replacements for single-source theming) - Fix off-palette grays in FlowPilotAnalyticsPage chart styling (#8891a0 → #848b9b, #18191f → var(--color-bg-card)) - Update stale comments: "cyan brand" → "accent brand" in GlowEdge, "gradient cyan square" → "gradient orange square" in BrandLogo - Rename glow-cyan SVG filter ID to glow-accent - Fix category color comment: "cyan" → "deep orange" Co-Authored-By: Claude Opus 4.6 (1M context) --- .../assistant/ConcludeSessionModal.tsx | 10 +- frontend/src/components/common/BrandLogo.tsx | 2 +- .../src/components/common/RichTextInput.tsx | 2 +- .../src/components/copilot/CopilotPanel.tsx | 8 +- .../dashboard/KnowledgeBaseCards.tsx | 4 +- .../src/components/dashboard/OpenSessions.tsx | 4 +- .../dashboard/PendingEscalations.tsx | 4 +- .../src/components/dashboard/QuickActions.tsx | 2 +- .../components/dashboard/RecentActivity.tsx | 4 +- .../components/dashboard/SessionsPanel.tsx | 2 +- .../dashboard/StartSessionInput.tsx | 4 +- .../src/components/dashboard/TeamSummary.tsx | 4 +- .../components/dashboard/WeeklyCalendar.tsx | 6 +- frontend/src/components/editor-ai/ChatTab.tsx | 4 +- .../components/editor-ai/EditorAIPanel.tsx | 6 +- .../src/components/editor-ai/NodeSummary.tsx | 4 +- .../components/flowpilot/FlowPilotIntake.tsx | 4 +- .../flowpilot/FlowPilotMessageBar.tsx | 4 +- .../components/flowpilot/FlowPilotOptions.tsx | 2 +- .../flowpilot/InSessionScriptGenerator.tsx | 2 +- .../components/flowpilot/ProposalDetail.tsx | 4 +- .../components/flowpilot/SessionBriefing.tsx | 2 +- .../kb-accelerator/ReviewScreen.tsx | 2 +- .../components/kb-accelerator/SourcePanel.tsx | 2 +- .../script-builder/ScriptBuilderInput.tsx | 4 +- .../script-editor/ParameterCard.tsx | 2 +- .../ParameterDetectorStepper.tsx | 2 +- .../script-editor/ParameterSchemaBuilder.tsx | 2 +- .../script-editor/ScriptTemplateEditor.tsx | 4 +- .../script-editor/ScriptTemplateListView.tsx | 2 +- .../scripts/ScriptParameterField.tsx | 2 +- .../session/AddSupportingDataModal.tsx | 4 +- .../components/settings/BrandingSettings.tsx | 2 +- .../src/components/sidebar/ActivityItem.tsx | 2 +- .../src/components/tree-editor/GlowEdge.tsx | 6 +- frontend/src/constants/categoryColors.ts | 2 +- frontend/src/pages/AssistantChatPage.tsx | 4 +- frontend/src/pages/FlowPilotAnalyticsPage.tsx | 16 +- frontend/src/pages/FlowPilotSessionPage.tsx | 2 +- frontend/src/pages/GuideDetailPage.tsx | 2 +- frontend/src/pages/LoginPage.tsx | 26 --- frontend/src/pages/PublicTemplatesPage.tsx | 12 +- frontend/src/pages/ReviewQueuePage.tsx | 2 +- frontend/src/pages/ScriptBuilderPage.tsx | 2 +- frontend/src/pages/SurveyPage.tsx | 48 ++--- frontend/src/pages/SurveyThankYouPage.tsx | 18 +- .../account/ChatRetentionSettingsPage.tsx | 4 +- .../src/pages/account/IntegrationsPage.tsx | 4 +- .../src/pages/admin/GalleryManagementPage.tsx | 4 +- .../src/pages/admin/SurveyResponsesPage.tsx | 10 +- frontend/src/styles/landing.css | 196 +++++++++--------- 51 files changed, 210 insertions(+), 266 deletions(-) diff --git a/frontend/src/components/assistant/ConcludeSessionModal.tsx b/frontend/src/components/assistant/ConcludeSessionModal.tsx index 5f285706..f874cab3 100644 --- a/frontend/src/components/assistant/ConcludeSessionModal.tsx +++ b/frontend/src/components/assistant/ConcludeSessionModal.tsx @@ -152,7 +152,7 @@ export function ConcludeSessionModal({ {/* Header */}
@@ -178,7 +178,7 @@ export function ConcludeSessionModal({ {/* Step indicator */}
{(['select-outcome', 'add-notes', 'summary'] as ModalStep[]).map((s, i) => (
@@ -283,7 +283,7 @@ export function ConcludeSessionModal({ } rows={4} className="w-full resize-none rounded-xl border bg-card text-foreground text-sm placeholder:text-muted-foreground px-4 py-3 focus:outline-hidden focus:border-primary/30" - style={{ borderColor: 'var(--glass-border)' }} + style={{ borderColor: 'var(--color-border-default)' }} />
@@ -309,7 +309,7 @@ export function ConcludeSessionModal({ {/* Generated summary */}
@@ -328,7 +328,7 @@ export function ConcludeSessionModal({ {/* Footer actions */}
{step === 'select-outcome' && ( <> diff --git a/frontend/src/components/common/BrandLogo.tsx b/frontend/src/components/common/BrandLogo.tsx index 3a7ea20a..52ab9552 100644 --- a/frontend/src/components/common/BrandLogo.tsx +++ b/frontend/src/components/common/BrandLogo.tsx @@ -6,7 +6,7 @@ interface BrandLogoProps { } /** - * Brand logo mark: gradient cyan square with rounded corners + * Brand logo mark: gradient orange square with rounded corners * containing a white lightning bolt. */ export function BrandLogo({ size = 'sm', className }: BrandLogoProps) { diff --git a/frontend/src/components/common/RichTextInput.tsx b/frontend/src/components/common/RichTextInput.tsx index 914726cd..5c390ff9 100644 --- a/frontend/src/components/common/RichTextInput.tsx +++ b/frontend/src/components/common/RichTextInput.tsx @@ -234,7 +234,7 @@ export function RichTextInput({ disabled={disabled} className={cn( 'w-full bg-card border border-border rounded-xl p-3 text-sm text-foreground placeholder:text-muted-foreground', - 'focus:border-[rgba(6,182,212,0.3)] focus:outline-none resize-none transition-colors', + 'focus:border-[rgba(249,115,22,0.3)] focus:outline-none resize-none transition-colors', isDragOver && 'border-primary/50 bg-primary/5', disabled && 'opacity-50 cursor-not-allowed' )} diff --git a/frontend/src/components/copilot/CopilotPanel.tsx b/frontend/src/components/copilot/CopilotPanel.tsx index a70164b1..57236d16 100644 --- a/frontend/src/components/copilot/CopilotPanel.tsx +++ b/frontend/src/components/copilot/CopilotPanel.tsx @@ -96,13 +96,13 @@ export function CopilotPanel({ isOpen, onClose, treeId, sessionId, currentNodeId background: 'rgba(16, 17, 20, 0.95)', backdropFilter: 'var(--glass-blur)', WebkitBackdropFilter: 'var(--glass-blur)', - borderColor: 'var(--glass-border)', + borderColor: 'var(--color-border-default)', }} > {/* Header */}
@@ -155,7 +155,7 @@ export function CopilotPanel({ isOpen, onClose, treeId, sessionId, currentNodeId
{/* Input */} -
+