feat: Implement dark mode support by adjusting background and text colors across various pages and components.

This commit is contained in:
2026-02-26 16:57:28 -03:00
parent 947abcb0bc
commit e5373919c9
56 changed files with 536 additions and 517 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ interface ThemeContextType {
}
const ThemeContext = createContext<ThemeContextType>({
theme: 'dark',
theme: 'light',
toggleTheme: () => { },
setTheme: () => { },
});
@@ -19,7 +19,7 @@ const ThemeContext = createContext<ThemeContextType>({
export const useTheme = () => useContext(ThemeContext);
export const ThemeProvider: React.FC<{ children: React.ReactNode }> = ({ children }) => {
const [theme, setThemeState] = useState<Theme>('dark');
const [theme, setThemeState] = useState<Theme>('light');
const [mounted, setMounted] = useState(false);
useEffect(() => {