diff --git a/components/chatflow/chatflow-input-area.tsx b/components/chatflow/chatflow-input-area.tsx
index 459a5fe2..4f32cf81 100644
--- a/components/chatflow/chatflow-input-area.tsx
+++ b/components/chatflow/chatflow-input-area.tsx
@@ -5,7 +5,6 @@ import { FormField } from '@components/workflow/workflow-input-form/form-field';
import { validateFormData } from '@components/workflow/workflow-input-form/validation';
import { useChatWidth } from '@lib/hooks/use-chat-width';
import { useCurrentApp } from '@lib/hooks/use-current-app';
-import { useThemeColors } from '@lib/hooks/use-theme-colors';
import type { DifyUserInputFormItem } from '@lib/services/dify/types';
import { cn } from '@lib/utils';
import { Loader2, RotateCcw, Send, Workflow } from 'lucide-react';
@@ -44,7 +43,6 @@ export function ChatflowInputArea({
className,
onFormConfigChange,
}: ChatflowInputAreaProps) {
- const { isDark } = useThemeColors();
const { widthClass, paddingClass } = useChatWidth();
const { currentAppInstance } = useCurrentApp();
const t = useTranslations('pages.chatflow');
@@ -308,13 +306,13 @@ export function ChatflowInputArea({
{t('loading.inputConfig')}
@@ -340,16 +338,14 @@ export function ChatflowInputArea({
className={cn(
'mx-auto max-w-2xl',
'rounded-2xl shadow-xl backdrop-blur-xl transition-all duration-300',
- isDark
- ? 'border border-stone-700/60 bg-gradient-to-br from-stone-900/95 to-stone-800/95 shadow-stone-900/40 hover:shadow-stone-900/60'
- : 'border border-stone-200/60 bg-gradient-to-br from-white/95 to-stone-50/95 shadow-stone-200/40 hover:shadow-2xl hover:shadow-stone-300/50'
+ 'border border-stone-200/60 bg-gradient-to-br from-white/95 to-stone-50/95 shadow-stone-200/40 hover:shadow-2xl hover:shadow-stone-300/50 dark:border-stone-700/60 dark:bg-gradient-to-br dark:from-stone-900/95 dark:to-stone-800/95 dark:shadow-stone-900/40 dark:hover:shadow-stone-900/60'
)}
>
{/* --- Form header --- */}
@@ -357,16 +353,11 @@ export function ChatflowInputArea({
className={cn(
'inline-flex h-16 w-16 items-center justify-center rounded-2xl',
'shadow-lg',
- isDark
- ? 'border border-stone-600/50 bg-gradient-to-br from-stone-800 to-stone-700 shadow-stone-900/50'
- : 'border border-stone-300/50 bg-gradient-to-br from-stone-100 to-stone-200 shadow-stone-200/50'
+ 'border border-stone-300/50 bg-gradient-to-br from-stone-100 to-stone-200 shadow-stone-200/50 dark:border-stone-600/50 dark:bg-gradient-to-br dark:from-stone-800 dark:to-stone-700 dark:shadow-stone-900/50'
)}
>
@@ -374,7 +365,7 @@ export function ChatflowInputArea({
{currentAppInstance?.display_name || t('form.defaultAppName')}
@@ -382,7 +373,7 @@ export function ChatflowInputArea({
{currentAppInstance?.description ||
@@ -406,7 +397,7 @@ export function ChatflowInputArea({