💄 fix: Update default theme to light and enhance account dialog styling for better visibility

This commit is contained in:
jarvis2f 2025-02-19 13:52:52 +08:00
parent 83cb839965
commit 9f37fe8636
2 changed files with 2 additions and 3 deletions

View file

@ -50,8 +50,7 @@ export default async function RootLayout({
<body className={inter.className}> <body className={inter.className}>
<ThemeProvider <ThemeProvider
attribute="class" attribute="class"
defaultTheme="system" defaultTheme="light"
enableSystem
disableTransitionOnChange disableTransitionOnChange
> >
<SWRProvider> <SWRProvider>

View file

@ -44,7 +44,7 @@ export function AccountDialog({
<DialogTitle className="flex items-center gap-2"> <DialogTitle className="flex items-center gap-2">
Add Telegram Account Add Telegram Account
{(account ?? newAccountId) && ( {(account ?? newAccountId) && (
<p className="rounded-md bg-gray-100 p-1 text-xs text-muted-foreground"> <p className="rounded-md bg-gray-100 p-1 text-xs text-muted-foreground dark:bg-gray-800 dark:text-gray-300">
{account ? account.id : newAccountId} {account ? account.id : newAccountId}
</p> </p>
)} )}