Skip to content

Commit 3dfd657

Browse files
committed
refactor: use motion-safe instead of not-motion-reduce
1 parent 30c0b9e commit 3dfd657

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Web/Homepage/x-aurora.view.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44
[--color-white-gradient:repeating-linear-gradient(100deg,white_0%,white_7%,transparent_10%,transparent_12%,white_16%)]
55
[--color-aurora-gradient:repeating-linear-gradient(100deg,var(--color-aurora-1)_10%,var(--color-aurora-2)_15%,var(--color-aurora-3)_20%,var(--color-aurora-4)_25%,var(--color-aurora-5)_30%)]
66
motion-reduce:[background-image:var(--color-aurora-gradient)]
7-
not-motion-reduce:[background-image:var(--color-white-gradient),var(--color-aurora-gradient)]
7+
motion-safe:[background-image:var(--color-white-gradient),var(--color-aurora-gradient)]
88
[background-size:300%,_200%]
9-
not-motion-reduce:[background-position:50%_50%,50%_50%]
9+
motion-safe:[background-position:50%_50%,50%_50%]
1010
filter
1111
blur-[10px]
1212
invert
1313
after:content-['']
1414
after:absolute
1515
after:inset-0
1616
motion-reduce:after:[background-image:var(--color-aurora-gradient)]
17-
not-motion-reduce:after:[background-image:var(--color-white-gradient),var(--color-aurora-gradient)]
17+
motion-safe:after:[background-image:var(--color-white-gradient),var(--color-aurora-gradient)]
1818
after:[background-size:200%,_100%]
19-
not-motion-reduce:after:animate-aurora
19+
motion-safe:after:animate-aurora
2020
after:[background-attachment:fixed]
2121
after:mix-blend-difference
2222
pointer-events-none

0 commit comments

Comments
 (0)