Patch Changes
-
#6830
f8c4334- perf: run the text shimmer on the compositor without duplicate markup (@rupic-app)where
-webkit-mask-clip: textis supported the host is masked and an additive band moves ontranslate, so a shimmering label no longer repaints its glyphs every frame; other browsers keep the gradient fallback. the band travels the same distance as the fallback, soshimmer-speed,shimmer-duration,shimmer-repeat-delay,shimmer-angle, andshimmer-containerproduce the same sweep on both paths. it defaults to white and takes--shimmer-color,shimmer-color-*, andshimmer-invert, which matches the fallback on white and dark surfaces and can differ on tinted ones. the host mask clips every descendant, so a text shimmer host must contain text only. text shimmer now holds still underprefers-reduced-motion: reduceon both paths;shimmer-bgis unchanged. -
#7083
4e5d2b3- docs: align the documented utilities and defaults with the shipped CSS (@Kinfe123) -
#6829
5d6638f- fix: gate the text clip behind the same capability check as the gradient, so shimmer text stays readable below the browser support floor (@MFA-G)