From 0fdaedc7ff73cfa37f01f8372cbd148af0d3bfeb Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 27 Jan 2026 14:00:13 -0600 Subject: [PATCH] Complete UI design system migration to Barclays brand colors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updates all remaining frontend components to use the new Barclays design system color tokens: - brand-dark-blue → primary-blue (#1A2142) - brand-accent → active-blue (#006DE3) - brand-light-blue → cyan-brand (#00AEEF) - brand-gray → grey-100 (#F6F6F6) Components updated: - CampaignDetail and ProofDetailView in Campaigns.tsx - Projects.tsx (full component migration) - StatusDashboard.tsx (status tiles and colors) - CreateProjectModal.tsx (modal styling) - FeedbackReport.tsx (remaining brand colors) - Login.tsx and Profile.tsx - WIPReviewer.tsx and CopyGenAI.tsx - Header, LoadingVisual, ToggleSwitch - AssetPreview, ProofPreview, AssetUpload - ProofTypeManager Co-Authored-By: Claude Opus 4.5 --- frontend/components/AssetPreview.tsx | 2 +- frontend/components/AssetUpload.tsx | 2 +- frontend/components/Campaigns.tsx | 142 ++++++++++----------- frontend/components/CopyGenAI.tsx | 12 +- frontend/components/CreateProjectModal.tsx | 40 +++--- frontend/components/FeedbackReport.tsx | 20 +-- frontend/components/Header.tsx | 4 +- frontend/components/LoadingVisual.tsx | 8 +- frontend/components/Login.tsx | 18 +-- frontend/components/Profile.tsx | 12 +- frontend/components/Projects.tsx | 76 +++++------ frontend/components/ProofPreview.tsx | 2 +- frontend/components/ProofTypeManager.tsx | 8 +- frontend/components/StatusDashboard.tsx | 42 +++--- frontend/components/ToggleSwitch.tsx | 4 +- frontend/components/WIPReviewer.tsx | 24 ++-- 16 files changed, 208 insertions(+), 208 deletions(-) diff --git a/frontend/components/AssetPreview.tsx b/frontend/components/AssetPreview.tsx index 8adf0d9..f281ae4 100755 --- a/frontend/components/AssetPreview.tsx +++ b/frontend/components/AssetPreview.tsx @@ -128,7 +128,7 @@ export const AssetPreview: React.FC = ({ file, previewUrl, fi style={{ minHeight: '300px', maxHeight: 'calc(100vh - 9rem)' }} > -

{displayName}

+

{displayName}

{fileType}

No preview available for this file type.

diff --git a/frontend/components/AssetUpload.tsx b/frontend/components/AssetUpload.tsx index a79b565..432ac68 100755 --- a/frontend/components/AssetUpload.tsx +++ b/frontend/components/AssetUpload.tsx @@ -36,7 +36,7 @@ export const AssetUpload: React.FC = ({ onFileUpload, isLoadin onClick={handleClick} disabled={isDisabled} title={isUploadDisabled ? "Please complete all selections above" : "Upload an asset for review"} - className="w-full bg-brand-light-blue text-brand-dark-blue font-bold py-3 px-6 rounded-full hover:bg-white transition-all duration-300 disabled:bg-gray-500 disabled:opacity-60 disabled:cursor-not-allowed flex items-center justify-center" + className="w-full bg-cyan-brand text-primary-blue font-bold py-3 px-6 rounded-full hover:bg-white transition-all duration-300 disabled:bg-gray-500 disabled:opacity-60 disabled:cursor-not-allowed flex items-center justify-center" > {isLoading ? ( <> diff --git a/frontend/components/Campaigns.tsx b/frontend/components/Campaigns.tsx index 3b44df4..d0a4c28 100755 --- a/frontend/components/Campaigns.tsx +++ b/frontend/components/Campaigns.tsx @@ -1061,7 +1061,7 @@ const CampaignDetail: React.FC<{ }; return ( -
+
setProofToDelete(null)} @@ -1082,15 +1082,15 @@ const CampaignDetail: React.FC<{
-

{campaignName}

-

Proof overview and compliance status.

+

{campaignName}

+

Proof overview and compliance status.

@@ -1112,71 +1112,71 @@ const CampaignDetail: React.FC<{
-
+
- - +
+ - - - - - - + + + + + + - + {proofs.map((proof, index) => { if (proof.status === 'analyzing') { return ( - - - - - - + + + + + + ); } - + if (proof.status === 'error') { return ( - - - - - - - + + + + + + isClickable && onSelectProof(proof)} > - - - - - + + + + @@ -1218,7 +1218,7 @@ const CampaignDetail: React.FC<{
-

{proof.proofName}

-
+

{proof.proofName}

+
{proof.channel} - + {proof.subChannel} {proof.proofType && ( <> - + {proof.proofType} )} @@ -1482,7 +1482,7 @@ const ProofDetailView: React.FC<{
-

+

Proof Preview

-

- +

+ Version History

); })} @@ -1580,11 +1580,11 @@ const ProofDetailView: React.FC<{
{selectedVersion.isIdenticalFile && ( -
- +
+
-

Identical File Detected

-

+

Identical File Detected

+

This file is exactly the same as the previous version. The analysis results shown are from the new analysis, but no changes were made to the creative. diff --git a/frontend/components/CopyGenAI.tsx b/frontend/components/CopyGenAI.tsx index deca056..a456293 100755 --- a/frontend/components/CopyGenAI.tsx +++ b/frontend/components/CopyGenAI.tsx @@ -24,11 +24,11 @@ export const CopyGenAI: React.FC = () => { }; return ( -

+
{/* Conversation History Sidebar */}
); -}; \ No newline at end of file +}; diff --git a/frontend/components/FeedbackReport.tsx b/frontend/components/FeedbackReport.tsx index 30f442d..dae0d2c 100755 --- a/frontend/components/FeedbackReport.tsx +++ b/frontend/components/FeedbackReport.tsx @@ -202,8 +202,8 @@ const FlagIssueModal: React.FC<{ >
-

Flag Feedback

-

Reporting incorrect feedback from {agentName}

+

Flag Feedback

+

Reporting incorrect feedback from {agentName}

@@ -506,7 +506,7 @@ const SubReviewCard: React.FC<{ @@ -566,7 +566,7 @@ const SubReviewCard: React.FC<{ {issue.status === 'actionable' ? ( @@ -581,7 +581,7 @@ const SubReviewCard: React.FC<{ @@ -627,7 +627,7 @@ const SubReviewCard: React.FC<{ {issue.status === 'actionable' ? ( @@ -642,7 +642,7 @@ const SubReviewCard: React.FC<{ @@ -670,8 +670,8 @@ const SubReviewCard: React.FC<{ const LeadAgentSummary: React.FC<{ status: OverallStatus, summary: string, onFlag: () => void; }> = ({ status, summary, onFlag }) => { const isPassed = status === 'Passed'; - let themeStyles = 'from-sky-50 to-white border-sky-100 text-brand-dark-blue'; - let iconBg = 'bg-sky-100 text-brand-accent'; + let themeStyles = 'from-sky-50 to-white border-sky-100 text-primary-blue'; + let iconBg = 'bg-sky-100 text-active-blue'; let icon = ; let blobColor = 'bg-sky-400'; diff --git a/frontend/components/Header.tsx b/frontend/components/Header.tsx index f63b588..8ce7a21 100755 --- a/frontend/components/Header.tsx +++ b/frontend/components/Header.tsx @@ -3,9 +3,9 @@ import { EagleIcon } from './icons/EagleIcon'; export const Header: React.FC = () => { return ( -
+
- +

AI Proof Reviewer

diff --git a/frontend/components/LoadingVisual.tsx b/frontend/components/LoadingVisual.tsx index 7fe1f70..66f15de 100755 --- a/frontend/components/LoadingVisual.tsx +++ b/frontend/components/LoadingVisual.tsx @@ -6,15 +6,15 @@ export const LoadingVisual: React.FC = () => {
{/* Pulsing circles */} -
-
+
+
{/* Central Icon */}
- +
-

+

Finalizing your report...

diff --git a/frontend/components/Login.tsx b/frontend/components/Login.tsx index 31736d8..cdb13af 100755 --- a/frontend/components/Login.tsx +++ b/frontend/components/Login.tsx @@ -62,7 +62,7 @@ const SupportModal: React.FC<{ onClick={(e) => e.stopPropagation()} >

-

Contact Support

+

Contact Support

@@ -78,7 +78,7 @@ const SupportModal: React.FC<{

Proof NameWorkfront #ChannelSub-ChannelProof TypeOverall StatusProof NameWorkfront #ChannelSub-ChannelProof TypeOverall Status Actions
{proof.proofName}Pending{proof.channel}{proof.subChannel}{proof.proofType || 'N/A'}
{proof.proofName}Pending{proof.channel}{proof.subChannel}{proof.proofType || 'N/A'} - {proof.analysisProgress ? - : + {proof.analysisProgress ? + :
- - Preparing... + + Preparing...
}
{proof.proofName}Failed{proof.channel}{proof.subChannel}{proof.proofType || 'N/A'} +
{proof.proofName}Failed{proof.channel}{proof.subChannel}{proof.proofType || 'N/A'}
Analysis failed. -
+ {proof.proofName} {isVersioned && ( - + V{latestVersion.version} )} {latestVersion.workfrontId}{proof.channel}{proof.subChannel}{proof.proofType || 'N/A'}{latestVersion.workfrontId}{proof.channel}{proof.subChannel}{proof.proofType || 'N/A'}