feat: update theme management across the application; change default theme to 'light', disable system theme option, and add ThemeCard component in settings for enhanced user customization
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m23s
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m23s
This commit is contained in:
@@ -27,8 +27,8 @@ export default function RootLayout({
|
||||
<body className="font-sans antialiased">
|
||||
<ThemeProvider
|
||||
attribute="class"
|
||||
defaultTheme="system"
|
||||
enableSystem
|
||||
defaultTheme="light"
|
||||
enableSystem={false}
|
||||
disableTransitionOnChange
|
||||
>
|
||||
<BackgroundProvider />
|
||||
|
||||
@@ -10,6 +10,7 @@ import {
|
||||
PasswordCard,
|
||||
ReconcileDateRangeCard,
|
||||
BackgroundCard,
|
||||
ThemeCard,
|
||||
} from "@/components/settings";
|
||||
import { useBankingData } from "@/lib/hooks";
|
||||
import type { BankingData } from "@/lib/types";
|
||||
@@ -127,6 +128,8 @@ export default function SettingsPage() {
|
||||
|
||||
<PasswordCard />
|
||||
|
||||
<ThemeCard />
|
||||
|
||||
<BackgroundCard />
|
||||
|
||||
<ReconcileDateRangeCard />
|
||||
|
||||
Reference in New Issue
Block a user