File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353 * web/js/utils/reduceMotion.js on boot (and on preference change).
5454 * The utility resolves 'auto' against `prefers-reduced-motion: reduce` so
5555 * users who only have the OS setting still get the reduction by default.
56+ *
57+ * Exclude loading indicators and any explicit motion opt-outs so pending
58+ * states (for example Tailwind `animate-spin`) continue to communicate work.
5659 * ------------------------------------------------------------------------- */
57- [data-reduce-motion = "true" ] * ,
58- [data-reduce-motion = "true" ] * ::before ,
59- [data-reduce-motion = "true" ] * ::after {
60+ [data-reduce-motion = "true" ] * : not (. animate-spin ) : not ([ data-allow-motion ]) ,
61+ [data-reduce-motion = "true" ] * : not (. animate-spin ) : not ([ data-allow-motion ]): :before ,
62+ [data-reduce-motion = "true" ] * : not (. animate-spin ) : not ([ data-allow-motion ]): :after {
6063 animation-duration : 0.01ms !important ;
6164 animation-iteration-count : 1 !important ;
6265 transition-duration : 0.01ms !important ;
You can’t perform that action at this time.
0 commit comments