update(SettingDialog): restore SettingDialog form input and select field dark mode background color

This commit is contained in:
WanQuanXie 2024-05-29 12:10:24 +08:00
parent f061345c74
commit 2d9ca3835e
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ function Input({ className, ...restProps }: InputProps) {
<input
{...restProps}
className={cn(
'bg-light-primary dark:bg-dark-primary px-3 py-2 flex items-center overflow-hidden border border-light-200 dark:border-dark-200 dark:text-white rounded-lg text-sm',
'bg-light-secondary dark:bg-dark-secondary px-3 py-2 flex items-center overflow-hidden border border-light-200 dark:border-dark-200 dark:text-white rounded-lg text-sm',
className,
)}
/>
@ -32,7 +32,7 @@ function Select({ className, options, ...restProps }: SelectProps) {
<select
{...restProps}
className={cn(
'bg-light-primary dark:bg-dark-primary px-3 py-2 flex items-center overflow-hidden border border-light-200 dark:border-dark-200 dark:text-white rounded-lg text-sm',
'bg-light-secondary dark:bg-dark-secondary px-3 py-2 flex items-center overflow-hidden border border-light-200 dark:border-dark-200 dark:text-white rounded-lg text-sm',
className,
)}
>