From 2d9ca3835eb774c6c0cf3cf4aad539cd79b67347 Mon Sep 17 00:00:00 2001 From: WanQuanXie <i2cherry941219@gmail.com> Date: Wed, 29 May 2024 12:10:24 +0800 Subject: [PATCH] update(SettingDialog): restore SettingDialog form input and select field dark mode background color --- ui/components/SettingsDialog.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/components/SettingsDialog.tsx b/ui/components/SettingsDialog.tsx index 8ae4901..4731331 100644 --- a/ui/components/SettingsDialog.tsx +++ b/ui/components/SettingsDialog.tsx @@ -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, )} >