UNPKG

@atlaskit/motion

Version:

A set of utilities to apply motion in your application.

15 lines (14 loc) 606 B
/** * Use for any CSS based motion (animation or transition). * Always put at the end of your declaration for correct use of the cascade. * Reduced motion preference is generally set through OS preferences/settings. * * @deprecated This is not fully compatible with Compiled CSS and will be removed in the future. * You should hardcode the `prefers-reduced-motion` media query in your file instead. */ export declare const reduceMotionAsPerUserPreference: { readonly '@media (prefers-reduced-motion: reduce)': { readonly animation: "none"; readonly transition: "none"; }; };