From b38f31fa4011564253f42d0598bc2909185b7e4d Mon Sep 17 00:00:00 2001
From: Leonardo Christino <leomilho@gmail.com>
Date: Tue, 20 Feb 2024 14:30:35 +0100
Subject: [PATCH] chore: use light theme as default

temporary until dark theme is fixed
---
 libs/shared/lib/components/color-mode/index.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libs/shared/lib/components/color-mode/index.tsx b/libs/shared/lib/components/color-mode/index.tsx
index baee691d1..6cf8486fe 100644
--- a/libs/shared/lib/components/color-mode/index.tsx
+++ b/libs/shared/lib/components/color-mode/index.tsx
@@ -18,7 +18,8 @@ const ColorMode = () => {
       setTheme(savedTheme);
     } else {
       // Fallback to system preference if no saved theme
-      const prefersDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches;
+      // const prefersDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches;
+      const prefersDarkMode = false; // TODO: remove once dark theme is fixed
       const defaultTheme = prefersDarkMode ? 'dark-mode' : 'light-mode';
       setTheme(defaultTheme);
       applyTheme(defaultTheme);
-- 
GitLab