diff --git a/src/App.tsx b/src/App.tsx index 0910892..42729f4 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -62,7 +62,7 @@ function WizardShell() { ) : ( <> -
+
{CurrentStep}
diff --git a/src/index.css b/src/index.css index da21110..f8c741a 100644 --- a/src/index.css +++ b/src/index.css @@ -66,4 +66,22 @@ --color-on-success: var(--r2b-on-success); --color-warning: var(--r2b-warning); --color-on-warning: var(--r2b-on-warning); + --animate-step-in: step-in 200ms ease-out both; +} + +@keyframes step-in { + from { + opacity: 0; + transform: translateY(8px); + } + to { + opacity: 1; + transform: translateY(0); + } +} + +@media (prefers-reduced-motion: reduce) { + .animate-step-in { + animation: none !important; + } }