fix(webui): crossfade theme changes as one page (#6459)

* fix(webui): crossfade theme changes as one page

* test(webui): align selection highlight motion checks

Follow the shared CSS transition contract instead of obsolete Tailwind utilities. Verify normal geometry easing and reduced-motion theme paint in the browser without changing accepted theme behavior or relaxing CI gates.
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-25 23:54:06 +08:00
1 parent 4701218719
commit 83b6112843
20 files changed
+538 -67

No files matched your search

+2
View File
@@ -2889,6 +2889,7 @@ function Shell({
}}
>
<div
data-theme-surface
className={cn(
"absolute inset-y-0 left-0 h-full w-full overflow-hidden",
showHostChrome
@@ -2964,6 +2965,7 @@ function Shell({
</Suspense>
) : null}
<main ref={managementMain}
data-theme-surface
aria-hidden={managingConnections && remoteConnections?.embeddedManagement || undefined}
{...(managingConnections && remoteConnections?.embeddedManagement ? { inert: "" } : {})}
className={cn(