From 378b04d50516bc6c576784fc245c3ff81a5d40f2 Mon Sep 17 00:00:00 2001 From: Felipe Cardoso Date: Sun, 2 Nov 2025 06:55:18 +0100 Subject: [PATCH] Update semantic color tokens across components for improved consistency - Refactor `text-*` and `bg-*` classes to use semantic color tokens such as `foreground`, `muted-foreground`, `card`, and `accent`. - Adjust `Header`, `Footer`, and settings pages to align with the OKLCH-based design system. - Ensure visual consistency and accessibility for both light and dark themes. --- frontend/src/app/(authenticated)/settings/layout.tsx | 6 +++--- .../src/app/(authenticated)/settings/password/page.tsx | 4 ++-- .../src/app/(authenticated)/settings/preferences/page.tsx | 4 ++-- .../src/app/(authenticated)/settings/profile/page.tsx | 4 ++-- .../src/app/(authenticated)/settings/sessions/page.tsx | 4 ++-- frontend/src/components/layout/Footer.tsx | 8 ++++---- frontend/src/components/layout/Header.tsx | 8 ++++---- 7 files changed, 19 insertions(+), 19 deletions(-) diff --git a/frontend/src/app/(authenticated)/settings/layout.tsx b/frontend/src/app/(authenticated)/settings/layout.tsx index 26cf42a..7c6cb6f 100644 --- a/frontend/src/app/(authenticated)/settings/layout.tsx +++ b/frontend/src/app/(authenticated)/settings/layout.tsx @@ -54,10 +54,10 @@ export default function SettingsLayout({
{/* Page Header */}
-

+

Settings

-

+

Manage your account settings and preferences

@@ -79,7 +79,7 @@ export default function SettingsLayout({ {/* Tab Content */} -
+
{children}
diff --git a/frontend/src/app/(authenticated)/settings/password/page.tsx b/frontend/src/app/(authenticated)/settings/password/page.tsx index 4edacfa..06f9c9a 100644 --- a/frontend/src/app/(authenticated)/settings/password/page.tsx +++ b/frontend/src/app/(authenticated)/settings/password/page.tsx @@ -12,10 +12,10 @@ export const metadata: Metadata = { export default function PasswordSettingsPage() { return (
-

+

Password Settings

-

+

Change your password (Coming in Task 3.3)

diff --git a/frontend/src/app/(authenticated)/settings/preferences/page.tsx b/frontend/src/app/(authenticated)/settings/preferences/page.tsx index db19d98..d7c4124 100644 --- a/frontend/src/app/(authenticated)/settings/preferences/page.tsx +++ b/frontend/src/app/(authenticated)/settings/preferences/page.tsx @@ -12,10 +12,10 @@ export const metadata: Metadata = { export default function PreferencesPage() { return (
-

+

Preferences

-

+

Configure your preferences (Coming in Task 3.5)

diff --git a/frontend/src/app/(authenticated)/settings/profile/page.tsx b/frontend/src/app/(authenticated)/settings/profile/page.tsx index bd6e224..0f34e73 100644 --- a/frontend/src/app/(authenticated)/settings/profile/page.tsx +++ b/frontend/src/app/(authenticated)/settings/profile/page.tsx @@ -12,10 +12,10 @@ export const metadata: Metadata = { export default function ProfileSettingsPage() { return (
-

+

Profile Settings

-

+

Manage your profile information (Coming in Task 3.2)

diff --git a/frontend/src/app/(authenticated)/settings/sessions/page.tsx b/frontend/src/app/(authenticated)/settings/sessions/page.tsx index 369dd0d..a654b31 100644 --- a/frontend/src/app/(authenticated)/settings/sessions/page.tsx +++ b/frontend/src/app/(authenticated)/settings/sessions/page.tsx @@ -12,10 +12,10 @@ export const metadata: Metadata = { export default function SessionsPage() { return (
-

+

Active Sessions

-

+

Manage your active sessions (Coming in Task 3.4)

diff --git a/frontend/src/components/layout/Footer.tsx b/frontend/src/components/layout/Footer.tsx index 4c201dc..e481287 100644 --- a/frontend/src/components/layout/Footer.tsx +++ b/frontend/src/components/layout/Footer.tsx @@ -11,16 +11,16 @@ export function Footer() { const currentYear = new Date().getFullYear(); return ( -