diff --git a/components/canvas/EnhanceProWorkspace.tsx b/components/canvas/EnhanceProWorkspace.tsx index 5a5265e27..7f91a35ea 100644 --- a/components/canvas/EnhanceProWorkspace.tsx +++ b/components/canvas/EnhanceProWorkspace.tsx @@ -20,7 +20,6 @@ import { SelectTrigger, SelectValue, } from "@/components/ui/select"; -import { Separator } from "@/components/ui/separator"; import { Switch } from "@/components/ui/switch"; import { Textarea } from "@/components/ui/textarea"; import { @@ -88,10 +87,14 @@ const FALLBACK_CONFIG: EnhanceProClientConfig = { presets: defaultEnhanceProPresets(), }; +const PANEL_SHELL_CLASS = + "rounded-[28px] border border-[#e7e1d4] bg-white/78 shadow-[0_20px_50px_rgba(15,23,42,0.08)] backdrop-blur-xl"; const SOLID_PANEL_FIELD_CLASS = - "border-border/60 bg-background text-foreground shadow-sm"; + "border-[#e8e2d8] bg-[#fffdfa] text-foreground shadow-[0_8px_20px_rgba(15,23,42,0.05)]"; const SOLID_PANEL_CARD_CLASS = - "rounded-2xl border border-border/60 bg-card shadow-sm"; + "rounded-[22px] border border-[#e8e2d8] bg-[#fffdfa] shadow-[0_8px_20px_rgba(15,23,42,0.05)]"; +const PANEL_SECTION_TITLE_CLASS = "font-semibold text-[13px] text-slate-700"; +const PANEL_SECTION_NOTE_CLASS = "text-[11px] leading-5 text-slate-500"; function clampNumber(value: number, min: number, max: number) { return Math.min(max, Math.max(min, value)); @@ -543,12 +546,12 @@ export function EnhanceProWorkspace({ ) : null} -
+
{isLoading ? (
@@ -570,66 +573,66 @@ export function EnhanceProWorkspace({
) : null} -
- - - {selectedPreset ? ( -
- {selectedPreset.description || - `${selectedPreset.model} · ${getSubjectDetectionLabel(selectedPreset.subjectDetection)}`} -
- ) : null} -
- -
- -