From 04b7c998c59a16df69cf7653d2b0d3acc691037d Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Wed, 30 Jul 2025 13:04:35 +0200 Subject: [PATCH] Fix dark mode --- app/Header.tsx | 2 +- app/complete-profile/page.tsx | 18 ++++++++++-------- app/layout.tsx | 20 +++++++++++++++++++- app/learn-more/page.tsx | 11 ++++++++++- app/login/page.tsx | 2 +- app/page.tsx | 20 +------------------- app/register/page.tsx | 4 ++-- lib/client/theme.tsx | 20 +++++++++++--------- package-lock.json | 16 ++++++++++++++++ package.json | 2 ++ 10 files changed, 73 insertions(+), 42 deletions(-) diff --git a/app/Header.tsx b/app/Header.tsx index b50d9dd5..16d997fd 100644 --- a/app/Header.tsx +++ b/app/Header.tsx @@ -15,9 +15,9 @@ export default function Header() { BayesBond -
+ {session ? ( <>
diff --git a/app/complete-profile/page.tsx b/app/complete-profile/page.tsx index 65f60a34..d6587f46 100644 --- a/app/complete-profile/page.tsx +++ b/app/complete-profile/page.tsx @@ -264,6 +264,8 @@ function RegisterComponent() { const personalityOptions = Object.values(PersonalityType); const conflictOptions = Object.values(ConflictStyle); + const headingStyle = "block text-sm font-medium text-gray-700 dark:text-white mb-1"; + return (
@@ -334,7 +336,7 @@ function RegisterComponent() {
-