diff --git a/components/canvas/AiWashWorkspace.tsx b/components/canvas/AiWashWorkspace.tsx index 991a82e90..d0dba9979 100644 --- a/components/canvas/AiWashWorkspace.tsx +++ b/components/canvas/AiWashWorkspace.tsx @@ -51,21 +51,21 @@ import { cn } from "@/lib/utils"; const fetcher = (url: string) => fetch(url).then((res) => res.json()); const PANEL_CLASS = - "rounded-[28px] border border-[#e5e5e5] bg-white shadow-[0_0_0_1px_rgba(0,0,0,0.03),0_20px_40px_rgba(0,0,0,0.06)]"; + "rounded-[22px] border border-[#ececec] bg-white shadow-[0_1px_2px_rgba(0,0,0,0.04),0_14px_30px_rgba(0,0,0,0.035)]"; const PRIMARY_ACTION_BUTTON_CLASS = - "border border-[#111111] bg-[#111111] text-white shadow-[0_16px_30px_rgba(0,0,0,0.18)] transition hover:bg-black hover:border-black disabled:border-[#e5e5e5] disabled:bg-[#f1f1f1] disabled:text-[#9a9a9a] disabled:shadow-none"; + "border border-[#111111] bg-[#111111] text-white shadow-[0_14px_28px_rgba(0,0,0,0.14)] transition hover:bg-black hover:border-black disabled:border-[#ededed] disabled:bg-[#f7f7f7] disabled:text-[#c8c8c8] disabled:shadow-none"; const SECONDARY_ACTION_BUTTON_CLASS = - "border border-[#d9d9d9] bg-white text-[#111111] shadow-[0_0_0_1px_rgba(0,0,0,0.02),0_10px_22px_rgba(0,0,0,0.03)] transition hover:border-[#111111] hover:bg-[#fafafa] hover:text-black disabled:border-[#e5e5e5] disabled:bg-[#f7f7f7] disabled:text-[#a5a5a5] disabled:shadow-none"; + "border border-[#e3e3e3] bg-white text-[#111111] shadow-[0_1px_2px_rgba(0,0,0,0.04),0_8px_18px_rgba(0,0,0,0.025)] transition hover:border-[#111111] hover:bg-[#fafafa] hover:text-black disabled:border-[#eeeeee] disabled:bg-[#fafafa] disabled:text-[#cfcfcf] disabled:shadow-none"; const FIELD_CLASS = - "h-10 rounded-[14px] border-[#e5e5e5] bg-white text-[#111111] shadow-[inset_0_1px_0_rgba(255,255,255,0.95),0_1px_2px_rgba(0,0,0,0.04)]"; + "h-10 rounded-[16px] border-[#e9e9e9] bg-white text-[#111111] shadow-[inset_0_1px_0_rgba(255,255,255,0.95),0_1px_2px_rgba(0,0,0,0.035)]"; const SELECT_CONTENT_CLASS = - "border-[#e5e5e5] bg-white text-[#111111] shadow-[0_0_0_1px_rgba(0,0,0,0.04),0_18px_38px_rgba(0,0,0,0.08)]"; + "border-[#ececec] bg-white text-[#111111] shadow-[0_1px_2px_rgba(0,0,0,0.04),0_18px_38px_rgba(0,0,0,0.06)]"; const SIDEBAR_SCROLL_CLASS = "pr-1.5 [scrollbar-width:thin] [scrollbar-color:#c8c8c8_transparent] [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-track]:bg-transparent [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-[#c8c8c8] hover:[&::-webkit-scrollbar-thumb]:bg-[#a8a8a8]"; -const SLIDER_TRACK_CLASS = "h-2.5 bg-[#ededed] shadow-inner"; +const SLIDER_TRACK_CLASS = "h-1.5 bg-[#ededed] shadow-inner"; const SLIDER_RANGE_CLASS = "bg-[#111111]"; const SLIDER_THUMB_CLASS = - "h-4 w-4 border border-[#d4d4d4] bg-white shadow-[0_0_0_4px_rgba(0,0,0,0.08)]"; + "h-3.5 w-3.5 border border-[#d8d8d8] bg-white shadow-[0_0_0_3px_rgba(0,0,0,0.05)]"; const AI_WASH_HISTORY_STORAGE_KEY = "ai-chatbot:ai-wash-history:v1"; const AI_WASH_HISTORY_TOTAL_LIMIT = 24; const AI_WASH_TASK_POLL_INTERVAL_MS = 2500; @@ -537,10 +537,6 @@ export function AiWashWorkspace({ () => presetExecutionStates.some((item) => item.usesUserSelectableModel), [presetExecutionStates] ); - const totalEstimatedCost = useMemo( - () => presetExecutionStates.reduce((sum, item) => sum + item.unitCost, 0), - [presetExecutionStates] - ); useEffect(() => { setResults(createIdleResultCards(enabledPresets)); @@ -941,13 +937,13 @@ export function AiWashWorkspace({ return (
-
+
-
-