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
@@ -2215,12 +2215,7 @@ describe("App layout", () => {
|
||||
expect(highlight).not.toHaveClass(
|
||||
"group-data-[resizing=true]/sidebar:transition-none",
|
||||
);
|
||||
expect(highlight).toHaveClass(
|
||||
"transition-[transform,width,height]",
|
||||
"duration-300",
|
||||
"ease-out",
|
||||
"motion-reduce:transition-none",
|
||||
);
|
||||
expect(highlight).toHaveClass("sidebar-selection-highlight");
|
||||
}
|
||||
fireEvent.pointerDown(handle, { button: 0, pointerId: 1, clientX: 272 });
|
||||
fireEvent.pointerMove(handle, { pointerId: 1, clientX: 400 });
|
||||
|
||||
Reference in new issue
Block a user