@atlrdsgn/kit
Version:
An ever–expanding library of React components, primitives, and tools
28 lines (27 loc) • 870 B
TypeScript
import { StyleRule } from '@vanilla-extract/css';
export declare const motionSafe: (style: StyleRule) => {
'@media': {
'(prefers-reduced-motion: no-preference)': StyleRule;
};
};
export declare const motionReduce: (style: StyleRule) => {
'@media': {
'(prefers-reduced-motion: reduce)': StyleRule;
};
};
export declare const motionQueries: {
readonly safe: (style: StyleRule) => {
'@media': {
'(prefers-reduced-motion: no-preference)': StyleRule;
};
};
readonly reduce: (style: StyleRule) => {
'@media': {
'(prefers-reduced-motion: reduce)': StyleRule;
};
};
};
export type MotionSafe = typeof motionQueries.safe;
export type MotionReduce = typeof motionQueries.reduce;
export type MotionQuery = keyof typeof motionQueries;
//# sourceMappingURL=motion-prefs.d.ts.map