Browse Source

Add a comment.

Naotoshi Fujita 2 years ago
parent
commit
68a076706f
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/js/constants/media.ts

+ 5 - 0
src/js/constants/media.ts

@@ -1 +1,6 @@
+/**
+ * Matches when users request reducing non-essential animations.
+ *
+ * @link https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion
+ */
 export const MEDIA_PREFERS_REDUCED_MOTION = '(prefers-reduced-motion: reduce)';