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:
1 parent
4701218719
commit
83b6112843
20 files changed
+538
-67
No files matched your search
@@ -126,7 +126,7 @@ export function HostSwitcherView({ picker, status, collapsed = false, portalCont
|
||||
const current = `${identity}, ${currentLabel}`;
|
||||
const detail = pendingName ? `${current}. ${t("remote.preparing", { name: pendingName })}` : current;
|
||||
const button = <Button ref={buttonRef} variant="ghost" size="sm" aria-label={t("remote.switchHost")}
|
||||
data-host-switcher className={cn("host-no-drag touch-target h-8 min-w-0 gap-2 rounded-xl px-2 text-xs font-normal text-sidebar-content/75 hover:text-sidebar-content",
|
||||
data-host-switcher data-theme-surface data-theme-ink className={cn("host-no-drag touch-target h-8 min-w-0 gap-2 rounded-xl px-2 text-xs font-normal text-sidebar-content/75 hover:text-sidebar-content",
|
||||
collapsed ? "w-8 justify-center px-0" : "max-w-full flex-1 justify-start")}
|
||||
onClick={picker.kind === "embedded" ? () => {
|
||||
const rect = buttonRef.current?.getBoundingClientRect();
|
||||
|
||||
Reference in new issue
Block a user