blob: 59ebaf2c1361db93a60026760c3a2391decf7887 (
plain) (
tree)
|
|
import { quartInOut } from 'svelte/easing';
import type { FadeParams, SlideParams } from 'svelte/transition';
export const fadeFast: FadeParams = { duration: 60 };
export const fadeDefault: FadeParams = { duration: 100 };
export const slideYDefault: SlideParams = { axis: 'y', duration: 300, easing: quartInOut };
export const slideXDefault: SlideParams = { axis: 'x', duration: 300, easing: quartInOut };
export const slideXFast: SlideParams = { axis: 'x', duration: 200 };
|