💄 fix: Update default theme to light and enhance account dialog styling for better visibility
This commit is contained in:
parent
83cb839965
commit
9f37fe8636
2 changed files with 2 additions and 3 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue