Skip to content

Commit 129fac8

Browse files
fix: preserve fact text with reduced motion
1 parent 66744c8 commit 129fac8

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

demo-seydi-animee/motion.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@
294294
}
295295
.motion-page .facts strong {
296296
color: inherit;
297+
-webkit-text-fill-color: currentColor;
297298
background: none;
298299
animation: none !important;
299300
}

tests/test_demo_seydi_animated_contrast.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,4 @@ def test_dark_property_fact_gradient_ends_in_gold():
4040
assert "#bd9b5d" in rule
4141
assert "#d6ad62" in rule
4242
assert "#f4deb0" in rule
43+
assert "-webkit-text-fill-color: currentColor" in css

0 commit comments

Comments
 (0)