Skip to content

Commit e15f695

Browse files
committed
fix(themer): use the layout duration for open/close view transitions
The open and close view-transition classes hardcoded a 5s animation duration left over from debugging, far outside the 320ms the layout's transitions share.
1 parent 033c8c8 commit e15f695

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎plugins/@sanity/themer/src/tool/ViewTransitions.css.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ const resizeStudioTransition = createViewTransitionType(
106106

107107
const splitScreenFilter = 'blur(12px)'
108108

109-
const animationDuration = '5s'
109+
const animationDuration = '320ms'
110110
export const viewTransitionClasses = {
111111
[viewTransitionTypes.open]: createViewTransitionType({
112112
new: {animationDuration},

0 commit comments

Comments
 (0)