From 0021787af776b1f32639094a026be4e73e96fb64 Mon Sep 17 00:00:00 2001 From: Thibault Pouch Date: Wed, 18 Feb 2026 11:16:42 +0100 Subject: [PATCH] refactor : UI styles across intranet and public pages for consistency --- nest-front/client/public/manifest.json | 4 +- .../src/components/layout/IntranetLayout.tsx | 2 +- .../src/components/shared/DevRoleSwitcher.tsx | 8 +- .../client/src/components/shared/Footer.tsx | 2 +- nest-front/client/src/index.css | 137 +++++++++--------- .../src/pages/intranet/IntranetBugs.tsx | 16 +- .../src/pages/intranet/IntranetDashboard.tsx | 20 +-- .../src/pages/intranet/IntranetFeed.tsx | 14 +- .../src/pages/intranet/IntranetModeration.tsx | 16 +- .../src/pages/intranet/IntranetUsers.tsx | 8 +- .../client/src/pages/public/BugDetailPage.tsx | 28 ++-- .../client/src/pages/public/BugReportPage.tsx | 9 +- .../client/src/pages/public/ForumPage.tsx | 2 +- .../client/src/pages/public/HomePage.tsx | 17 ++- .../client/src/pages/public/LoginPage.tsx | 4 +- .../client/src/pages/public/NotFoundPage.tsx | 2 +- .../client/src/pages/public/RegisterPage.tsx | 2 +- 17 files changed, 152 insertions(+), 139 deletions(-) diff --git a/nest-front/client/public/manifest.json b/nest-front/client/public/manifest.json index 4a60cfe..b03f7ab 100644 --- a/nest-front/client/public/manifest.json +++ b/nest-front/client/public/manifest.json @@ -4,8 +4,8 @@ "description": "Community hub for Headless Hazard, a retro-futuristic puzzle game by CrowMate Studio.", "start_url": "/", "display": "standalone", - "background_color": "#0a0d0a", - "theme_color": "#0a0d0a", + "background_color": "#ffffff", + "theme_color": "#ffffff", "icons": [ { "src": "/icon-192.png", diff --git a/nest-front/client/src/components/layout/IntranetLayout.tsx b/nest-front/client/src/components/layout/IntranetLayout.tsx index 5d4154f..72d9b6c 100644 --- a/nest-front/client/src/components/layout/IntranetLayout.tsx +++ b/nest-front/client/src/components/layout/IntranetLayout.tsx @@ -65,7 +65,7 @@ export function IntranetLayout() { fontFamily: 'var(--font-mono)', fontSize: '0.78rem', color: isActive ? 'var(--color-yellow)' : 'var(--color-text-muted)', - background: isActive ? 'rgba(255,255,0,0.06)' : 'transparent', + background: isActive ? 'rgba(37,99,235,0.08)' : 'transparent', borderLeft: isActive ? '3px solid var(--color-yellow)' : '3px solid transparent', textDecoration: 'none', transition: 'color 0.1s, background 0.1s', diff --git a/nest-front/client/src/components/shared/DevRoleSwitcher.tsx b/nest-front/client/src/components/shared/DevRoleSwitcher.tsx index cf97b53..a4627b8 100644 --- a/nest-front/client/src/components/shared/DevRoleSwitcher.tsx +++ b/nest-front/client/src/components/shared/DevRoleSwitcher.tsx @@ -27,14 +27,16 @@ function DevRoleSwitcherInner() { position: 'fixed', bottom: '1rem', right: '1rem', - background: '#0a1a0a', - border: '1px solid var(--color-amber)', + background: 'var(--color-surface)', + border: '2px solid var(--color-yellow)', padding: '0.75rem', zIndex: 9999, fontSize: '0.7rem', fontFamily: 'var(--font-mono)', - color: 'var(--color-amber)', + color: 'var(--color-text)', maxWidth: '220px', + borderRadius: '8px', + boxShadow: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)', }} >
diff --git a/nest-front/client/src/components/shared/Footer.tsx b/nest-front/client/src/components/shared/Footer.tsx index 51031a4..124d0b2 100644 --- a/nest-front/client/src/components/shared/Footer.tsx +++ b/nest-front/client/src/components/shared/Footer.tsx @@ -6,7 +6,7 @@ export function Footer() { return (